Closed adhikasp closed 7 years ago
Hi Adhika. Thanks for the report. But this is in fact the expected behaviour for the OSM to GeoJSON conversion. Look at the two ways you requested: They reference other nodes ("nodes": [3327186888, 3327186889, …]
) which are not present in the JSON data. Those nodes are needed in order to do the conversion, as only nodes contain actual location coordinates in the OSM format.
Try using out meta geom;
instead of out meta;
in order to obtain the missing coordinate information. Another option is to recurse statement like this: http://overpass-turbo.eu/s/kFA
I got missing element when trying to convert data with mixed element type (node and way).
Overpass Query
JSON response.
Note there are 3 elements in this.
Converting to GeoJSON
Only the first element from JSON data got converted.