Using REST API (or XAPI) to get map data only by bounding box


How can I get content (nodes, ways, relations) surrounded by bounding atributes without getting ANY other XML content. which is located outside the bounding box ? Is there any REST API option to do this ? Obviously I can make Web Service client algorithm, but in large areas it is problematic. I read and didn’t found any solution.


No, I don’t think so. You will need to get the data including parts outside your bbox and then post process it to exclude everything you don’t want.

P.S. Just in case you aren’t aware of it and might be planning to use the api for non editing purposes, I’d like to point to the acceptable usage policy of the api server ( )