[OSM-dev] Is there any API to get data from OSM as geoJson?

Serge Wroclawski emacsen at gmail.com
Thu Feb 7 17:12:00 GMT 2013


On Thu, Feb 7, 2013 at 11:58 AM, Ander Pijoan <ander.pijoan at deusto.es> wrote:

> I use Overpass API for downloading data but it doesn't export in GeoJSON
> format. The nearest approach would be to ask for it as OSM-JSON, store all
> the nodes ids and locations, store all the ways ids and node refs and then
> build the relations geometries but it's quite a big pain for browsers.

You could build your own server and then server the data however you like.

Since you're already doing all this conversion, and you seem to be
doing a lot of work with the OSM data, this is probably the right
approach for your application.

- Serge



More information about the dev mailing list