[OSM-talk] Strange api behaviour
tom at tom-carden.co.uk
Thu Mar 16 09:49:24 GMT 2006
On 3/15/06, SteveC <steve at asklater.com> wrote:
> * @ 15/03/06 06:08:12 PM openstreetmap-L at gj0.net wrote:
> > And now it's stopped working again.
> > This: http://www.openstreetmap.org/api/0.2/map?bbox=-0.5,51.3,-0.4,51.4
> > Returns stuff like this again:
> Yes. This has highlighted that it isn't very practical as it stands to
> support old and new API versions.
> With 0.4 I'll introduce some clearer
> versioning, so something like /api/current_version will tell you what to
> use and each editor can decide what to do.
And either they support the current version, or they say "sorry,
current version of OSM not supported". How is that different to now?
This is really misguided. You need a way to transition between major
changes. Why pretend to have an open API at all if you're not going to
> I'll give a weeks warning
> announcement so people can update their code too. As we approach 1.0
> this will matter less and less as things won't change so much.
A week isn't going to be long enough.
Unit tests for the current API, before writing the next version, would
be a really good idea.
More information about the talk