nvkelso / natural-earth-vector

A global, public domain map dataset available at three scales and featuring tightly integrated vector and raster data.
https://www.naturalearthdata.com/
Other
1.76k stars 368 forks source link

geojson: ne_50m_admin_0_boundary files missing metadata #651

Open mikima opened 2 years ago

mikima commented 2 years ago

in the files ne_50m_admin_0_boundary_lines_land.geojson files are not present the fields found in ne_10m_admin_0_boundary_lines_land.geojson.

specifically, there are not the fields: ADM0_LEFT ADM0_RIGHT ADM0_A3_L ADM0_A3_R SOV_A3_L SOV_A3_R

nvkelso commented 2 years ago

It’s generally not useful to label these lines at the 1:50m scale, so these are intentionally not included.

What is your use case?

On Dec 17, 2021, at 13:40, mikima @.***> wrote:

 in the files ne_50m_admin_0_boundary_lines_land.geojson files are not present the fields found in ne_10m_admin_0_boundary_lines_land.geojson.

specifically, there are not the fields: ADM0_LEFT ADM0_RIGHT ADM0_A3_L ADM0_A3_R SOV_A3_L SOV_A3_R

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

mikima commented 2 years ago

I'm using them in a simple web app to generate wikipedia locator maps. Here you can see it: https://observablehq.com/@mikima/wikipedia-grey-green-orthographic-projections-maps-gener/2 I'd like to use a different color for selected and deselected countries, so i need to find a way to identify which are the borders of selected countries. I cannot use the contour of shapes, because the lines would make unreadable small features, as islands. At the moment i'm using the 10m geojson, but it's way too detailed for my needs.

nvkelso commented 2 years ago

Interesting. I can see adding adm_a3 left and right codes to these lines to make that possible.

On Dec 17, 2021, at 14:00, mikima @.***> wrote:

 I'm using them in a simple web app to generate wikipedia locator maps. Here you can see it: @.***/wikipedia-grey-green-orthographic-projections-maps-gener/2 I'd like to use a different color for selected and deselected countries, so i need to find a way to identify which are the borders of selected countries. I cannot use the contour of shapes, because the lines would make unreadable small features, as islands. At the moment i'm using the 10m geojson, but it's way too detailed for my needs.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.

mikima commented 2 years ago

Another solution could be to add to the release a json containing all the metadatat, so it is possible to load it independently from version (10,50,110). I generated this one for example.