Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolution #4

Open
letmaik opened this issue Jun 8, 2016 · 3 comments
Open

Resolution #4

letmaik opened this issue Jun 8, 2016 · 3 comments

Comments

@letmaik
Copy link

letmaik commented Jun 8, 2016

Which resolution is this dataset in? Also, since https://github.com/datasets/geo-boundaries-world-110m redirects to this repo I expected to find a 110m version here. This would be useful for many web applications.

@lexman
Copy link
Collaborator

lexman commented Jun 9, 2016

Hello,

the resolution is 10 m. It has been changed from the original you mention because the 110m source data from Natural Earth didn't include all the countries (#1).

Is the current datapackage usable for a web application ?

@letmaik
Copy link
Author

letmaik commented Jun 9, 2016

I see. The file is 23MB which is typically too big for a web application, so depending on the use case you would have to downsample that (polygon simplification + reducing coordinate precision + minifying the JSON), restrict it to certain countries, or serve it as vector tiles. Still, for simple use cases it would be nice to have a low-resolution version which you can just put on a web server and load directly, like the 110m one.

@ck-jrd
Copy link

ck-jrd commented Jul 19, 2018

Correct me if I'm wrong, but this dataset is in muuuuuuch finer than 10m resolution. With lat/long coordinates at 15 decimal places, we're getting into the fractions-of-a-nanometer resolution.

4 decimal places is precise to 11m
5 decimal places is 1.1m
6 is 11cm
7 is 1.1cm
...
15 is 0.0000011 mm.

My question is, why is this dataset so unnecessarily precise? The filesize of the dataset could be reduced by nearly half if the coordinates were trimmed to 6 decimal places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants