I'm trying to figure out if Overpass-API's bbox-query should be returning ways that:
- Are entirely enclosed by the box (all nodes are inside the box)
- Have at least one node inside the box.
- At least one segment intersects with the box (even if no nodes are actually inside it).
The docs suggest that it should do #3. http://wiki.openstreetmap.org/wiki/Overpass_API/Language_Guide#Bounding_box_clauses_.28.22bbox_query.22.2C_.22bounding_box_filter.22.29
A way is found not only if it has a node inside the bounding box but also if it just crosses somewhere the bounding box.
But, in practice I'm seeing that it's basically only #1. Which is much less useful as that makes it difficult to make sure you've got all the ways which affect your bounding box.