I believe there’s some overlap of the US and Canada. Is the forum the proper place to report these discrepancies so someone can review them?
This Overpass query for admin_level=4
in the US (Q30) include Canada’s New Brunswick, British Columbia, and Yukon:
[out:json];
area[wikidata=Q30]->.a; \\ Q30 = United States
relation[boundary=administrative][admin_level=4](area.a);
out tags;
Also, this Overpass query for admin_level=4
in Canada (Q16) includes Alaska and Maine:
[out:json];
area[wikidata=Q16]->.a; \\ Q16 = Canada
relation[boundary=administrative][admin_level=4](area.a);
out tags;
This query shows the overlap in those areas around Maine and the northern and southern parts of Alaska:
[out:json];
(
relation[wikidata=Q30];
relation[wikidata=Q16];
);
out geom;
1 Like
GeoDeskTeam
(GeoDesk Team)
December 10, 2024, 12:01pm
2
At least for the case of Maine, it looks like the maritime boundaries of the US and Canada cover the same territory. You can see this using “Query Features” on the map for this point (both US and Canada are listed as “enclosing features”).
Curiously enough, there is a territorial dispute between the U.S. and Canada concerning Machias Seal Island .
The Yukon-Alaska dispute appears to be the reason for the Alaska overlap.
More info: List of areas disputed by Canada and the United States - Wikipedia
3 Likes
clay_c
(Clay Smalley)
December 10, 2024, 12:07pm
3
The overlap is intentional. Despite our friendly relationship since 1812 1815, we still have several minor border disputes with our northern neighbors.
2 Likes
Oh wow – I never even thought to check if there were any disputed areas between the US and Canada!
Thanks!
ZeLonewolf
(Brian M Sperlongano)
December 10, 2024, 12:33pm
5
Yup - at least on the Alaska side, I mapped out that overlap in one manic session two years ago.
7 Likes
In case you want the states without their friendly Canadian neighbors:
This is because Overpass’s area filter is more like an intersection test than a containment test:
Nodes are found if they are properly inside or on the border of the area. Ways are found if at least one point (also points on the segment) is properly inside the area. A way ending on the border and not otherwise crossing the area is not found. Relations are found if one of its members is properly inside the area.
I assume the minor overlap is due to a boundary dispute, which would normally res…
1 Like