country-iso icon indicating copy to clipboard operation
country-iso copied to clipboard

Bir Tawil disputed area 21°52′9″N 33°44′52″E

Open tforward opened this issue 6 years ago • 4 comments

Bir Tawil disputed area

Wiki - Bir Tawil

Currently Returns nothing should return "Terra Nullius"

tforward avatar Dec 08 '17 18:12 tforward

@tforward Thank You for the issue!!

When I was working on the map some months ago I've noticed these two holes of land: image image 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?

simonepri avatar Dec 08 '17 18:12 simonepri

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

tforward avatar Dec 08 '17 19:12 tforward

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?

simonepri avatar Dec 08 '17 20:12 simonepri

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!

tforward avatar Dec 08 '17 20:12 tforward