hauke96 / simple-task-manager

A simple tasking manager made for OpenStreetMap.
https://stm.hauke-stieler.de
Other
34 stars 6 forks source link

no feedback when loading boundary from Overpass #93

Closed seb-1204 closed 4 years ago

seb-1204 commented 4 years ago

Great project, did already several task today.

I tried to use the overpass turbo query to define the shape when creating the project. But it would not load or I could not tell if it was still loading/processing or if there was an issue.

hauke96 commented 4 years ago

Thanks for the issue and the example query :) I see three problems here:

  1. The query mus result XML but your out parameter is set to json, so you need [out:xml] as output parameter. I'll create a ticket to also support JSON and other formats for remote data.
  2. There's no polygon in the result, just a relation with several ways. Unfortunately the import process is rather simple right now, so this is not recognized as one polygon. But I'll create a new ticket for this, maybe that's not so difficult to implement.
  3. The missing feedback is an actual bug, because there is an error caused by the missing polygon in the result. I'll look into that.
seb-1204 commented 4 years ago

Wow, quick feedback. I did not expect this to be that big of an issue. Thinking about this I would rather have the manually drawn polygon workflow improved. See suggestion at 97

hauke96 commented 4 years ago

Done, this will be fixed in the upcoming 1.1.0 release.