-
Notifications
You must be signed in to change notification settings - Fork 103
Description
I am aware of issue #48 that was closed in 2013 because "the semantics are not clear" and @drolbr decided to "to implement GeoJSON output for after the history feature".
A lot of water has flown under the bridge since then. In particular, the introduction of the convert and make statements came along the output of geometries that are effectively in GeoJSON format, as this example shows. This result is actually very close from proper GeoJSON, the code to convert geometries to GeoJSON is already there ! The only bits missing are to rename elements to features, wrap them up in a FeatureCollection, and rename tags to properties.
This example also illustrates the semantics issue mentionned in #48 : the bicycle parkings defined as a closed way probably ought to be converted to a Polygon rather than a LineString. Maybe the time has come to discuss this point :-)
The use case is to be able to integrate in uMap the result of a query that uses make or convert.