Skip to content

osm-quickedit broken on WebODM 2.9.4 #1772

@daelisrepo

Description

@daelisrepo

Howdy Team WebODM-
Firstly, I just want to say I'm new to the world of drone mapping, although I've been a long time drone-pilot and OSM contributor, I'm new to WebODM - It's an amazing project which works really really well, so thanks to the entire team!

Now onto the bug-
I've noticed there's a barrier statement at the top of https://github.com/OpenDroneMap/WebODM/blob/master/coreplugins/osm-quickedit/public/main.js

Line 6: if (options.tiles.length === 1) {

options.tiles.length can never be 1 as there is always three tiles - Orthographic, Plant and DSM - no matter what the task settings are - and this prevents the "OSM Digitize" button from showing correctly.

A workaround in Chrome is to put a breakpoint on line 6, and when the debugger hits the line in the console type options.tiles.length=1 press enter, and then continue execution.

My plan is to submit a patch for this so this barrier statement works correctly, so no action is needed just now, this is just a polite heads up :)

Thanks,
Soen

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions