[openstreetmap/openstreetmap-website] Supporting multiple API versions (#2353)

Simon Poole notifications at github.com
Fri Aug 30 13:39:01 UTC 2019

Consider for example the output of https://api.openstreetmap.org/api/0.6/map?bbox=-122.083819,37.4217991,-122.0834335,37.4222209

Which starts with 

`<osm version="0.6" generator="CGImap 0.7.5 (14135 thorn-03.openstreetmap.org)" copyright="OpenStreetMap and contributors" attribution="http://www.openstreetmap.org/copyright" license="http://opendatacommons.org/licenses/odbl/1-0/">
<bounds minlat="37.4217991" minlon="-122.0838190" maxlat="37.4222209" maxlon="-122.0834335"/>

Giving the version of the OSM XML document as 0.6, as this is the only indication of the format in use and OSM does not refer to any external schema docs, you will find that a lot of stuff will bork if you change that 0.6 to 0.7 or whatever.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190830/7ff43493/attachment.html>

More information about the rails-dev mailing list