freifunk / openwifimap-api

OpenWiFiMap database and its api
40 stars 12 forks source link

Error by querying spatial bounding box #6

Closed sokai closed 8 years ago

sokai commented 8 years ago

Hi, today I wanted to query a spatial bounding box at openwifimap.net (like it is documented in the API.md. But I always get a error message.

Example query URL: http://openwifimap.net/api/db/view_nodes_spatial?bbox=13.08,52.45,13.71,52.57 Output: {"error":"not_found","reason":"missing"}

Can someone help me, please!? Thanks and best regards

andrenarchy commented 8 years ago

You can use

btw: I can't find the URL variant you used (with /api/db/) in API.md. Should it be fixed somewhere else?

sokai commented 8 years ago

@andrenarchy Thanks André, your examples (indeed) are working … :)

The used URL with /api/db/ came from my tests for node-JSON. ATM you can use

After digging that (1st one) I thougt the API is available at /api/db/ … So everything is documented well at all – nothing to do! :)

andrenarchy commented 8 years ago

ha, perfect! :smile: