[OSM-dev] XAPI: Any difference between 'map' and '*' and between '[bbox=...]' and '?bbox=...'?

Stefan Keller sfkeller at gmail.com
Wed Jun 15 11:21:10 BST 2011


Hi

In XAPI [1] what is the difference
* between a [bbox=...] and ?bbox=...
* and between a 'map' and a '*' request ?
and if the represent equal requests, which one is preferred?

These examples return identical results:
* 'map' request with bbox as URL parameter:
http://jxapi.openstreetmap.org/xapi/api/0.6/map?bbox=34.679,32.039,34.721,32.08
* 'all' ('*') request with bbox as 'predicate':
http://jxapi.openstreetmap.org/xapi/api/0.6/*[bbox=34.679,32.039,34.721,32.081]

This seems redundant and reading the XAPI [1] wiki page I don't really
see any clear distinction.
If yes, I would suggest to deprecate the 'map' and the '?bbox=...' parameters.

Yours, S.

[1] http://wiki.openstreetmap.org/wiki/Xapi



More information about the dev mailing list