I’m trying to use bounding boxes to restrict a query for “France” to just the mainland.
The first variant below returns a syntax error. It doesn’t like “[bbox”.
The second variant below doesn’t restrict to the bounding box. It returns France and all its overseas possessions. What am I doing wrong?
[out:json][timeout:950];
[bbox:42,-7,51,8];
relation["ISO3166-1"=FR];
out geom;
[out:json][timeout:950];
relation["ISO3166-1"=FR](42,-7,51,8);
out geom;
Fixed it - my own silly fault. My bounding box just clipped the top and right edge of France. By expanding the box all is good. I struggled to find an easy way to generate the bounding box, but I’ve just worked out how to show the grid in Google Earth. I have the same issue with a few other counties, but I know how to fix it now.