Open tforward opened 6 years ago
@tforward Thank You for the issue!!
When I was working on the map some months ago I've noticed these two holes of land: but I was unable to find information about them, so thank you for the video.
Anyway the package returns only countries that owns a country code. Here you can find the list of all official country codes released.
Any ideas on how we can include this non-official area?
Only thing I could think of is have if the ISO country code returns NULL and then if IS Sea also returns NULL then another function runs which compares the area to a exception set of polygons that have custom values for them. This is a pretty edge case scenario and there are many more weird boarders out there, and exclaves are another can of worms. Again pretty edge case but FYI
I think it would be really interesting to list all these "weird boarders" in the Readme. We should also include all the disputed countries as a reference.
Are you interested in helping me?
I suppose.
Also, thinking about it a bit more it may be easier than I initially thought, however somewhat depends on the data you're using.
Are the holes in the data always these "Terra Nullius" areas?
If yes, then don't need to bother with the polygon intersects could just use the empty space!
If ISO country code is null and ISSea() is null return "Terra Nullius"
Kinda feels like an easter egg!
Bir Tawil disputed area
Wiki - Bir Tawil
Currently Returns nothing should return "Terra Nullius"