I am trying to render this output from open street map into geojson to add into a map. I only need to export the data one time. How do I do that? OSM lists it as a use case. I see a js library to do this (but I need a backend solution). It also seems like you can export it as geojson from the api somehow. How do most people usually do this?
There are many ways
- overpass turbo has on option to export as geojson.
- JOSM also has option to export as geojson.
- OpenLayers can directly read OSM format to be displayed in map. (you can also use it to convert to geojson but the above methods are much easier.