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

Ander Pijoan ander.pijoan at deusto.es
Thu Feb 7 16:58:27 GMT 2013


Hi everyone

I am currently working with different technologies for showing OSM data in
slippy maps and I noticed that some of those maps would work better with
GeoJSON data format.

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.

I've been looking for some info in OSM wiki but I haven't been able to find
nothing. Does anyone know if there exists something?

Thank you very much.

-- 
Ander Pijoan Lamas
Research Assistant, Deustotech
Computer Science Engineer
University of Deusto

E-mail: ander.pijoan at deusto.es
Phone: +34 664471228
in: http://www.linkedin.com/profile/view?id=162888312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20130207/5f4dc485/attachment.html>


More information about the dev mailing list