You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An important part to get this running is, to add the OSM-id and OSM-type to the output which can them be used to re-create the OSM-ID.
Example convert result ::=::,::geom= geom(),::id=id(),"__type"=type(),"FMC:length"=length(); (based on the initial example but with id and __type).
For this ticket, this also means, that it is not easy to just support the generated JSON since essential info (OSM id and OSM type) are missing by default.
In drolbr/Overpass-API#237 (comment) @drolbr showed this handy way to inject the length of a way into the tags of the osm-tags output.
Unfortunately, that breaks osmtogeojson. When I try to convert, I get an empty result
This works
https://olbricht.nrw/ovt/?Q=%5Bout%3Ajson%5D%3B%0Away%5B%22highway%22%3D%22service%22%5D(%7B%7Bbbox%7D%7D)%3B%0Aout%20geom%3B&C=41.89409;12.49391;20&R
Output
And transforming it via http://tyrasd.github.io/osmtogeojson/ works.
This does not work
https://olbricht.nrw/ovt/?Q=%5Bout%3Ajson%5D%3B%0Away%5B%22highway%22%3D%22service%22%5D(%7B%7Bbbox%7D%7D)%3B%0Aconvert%20result%20%3A%3A%3D%3A%3A%2C%3A%3Ageom%3Dgeom()%2Clength%3Dlength()%3B%0Aout%20geom%3B&C=41.89409;12.49391;20&R
Output
Transforming it via http://tyrasd.github.io/osmtogeojson/ returns:
The text was updated successfully, but these errors were encountered: