[OSM-dev] /map API call gone

SteveC steve at asklater.com
Wed Jan 23 12:47:28 GMT 2008


On 23 Jan 2008, at 01:55, Christopher Schmidt wrote:

> On Tue, Jan 22, 2008 at 08:53:00PM -0500, Christopher Schmidt wrote:
>> On Tue, Jan 22, 2008 at 08:39:36PM -0500, Christopher Schmidt wrote:
>>> In what I'm assuming was a mistake, the 'map' API call appears to  
>>> have
>>> been removed with recent code rollout:
>>>
>>> http://www.openstreetmap.org/api/0.5/map?bbox=-1.821443,52.54776,-1.81197,52.552856
>>>
>>> is now a 404. Judging by the munin graphs:
>>>
>>> http://munin.openstreetmap.org/openstreetmap/db.openstreetmap-mysql_queries.html
>>>
>>> It looks like this happened at just before midnight munin-time.
>>>
>>> The /way API call still works.
>>
>> Looks like in:
>>
>> http://trac.openstreetmap.org/changeset/6538
>>
>> Steve removed the api.rb 'model'.
>>
>> I'm not *sure*, but the main difference I see is that the 'map' API  
>> call
>> uses the 'api' controller, and I'm wondering if maybe that model is  
>> what
>> connected the controller to the 'api' string.
>>
>> I'm still not set up with my local OSM install, but since that file  
>> has
>> existed since r1586 as essentially a stub, I'm guessing this is  
>> what did
>> it...
>
> Nope. http://openstreetmap.org/api/0.5/capabilities also uses the  
> 'api'
> controller, and that's working fine.


yes, you only need a model if there is a corresponding table (to model  
something on)

>
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>

have fun,

SteveC | steve at asklater.com | http://www.asklater.com/steve/






More information about the dev mailing list