mirror of
https://github.com/oDinZu/natural-earth-vector.git
synced 2025-02-22 00:04:57 -05:00
add housekeeping with scripts and worksheets with admin_0 details and theme version tracking
This commit is contained in:
parent
8ee06857f6
commit
279e9c9e31
1
housekeeping/.~lock.ne_themes_versions.xls#
Normal file
1
housekeeping/.~lock.ne_themes_versions.xls#
Normal file
@ -0,0 +1 @@
|
||||
N K,nvkelso2,localhost,28.05.2012 21:15,file:///Users/nvkelso2/Library/Application%20Support/OpenOffice.org/3;
|
1
housekeeping/Makefile
Normal file
1
housekeeping/Makefile
Normal file
@ -0,0 +1 @@
|
||||
populated_places_from_10m_to_50m_and_110m.sh
|
7
housekeeping/README.md
Normal file
7
housekeeping/README.md
Normal file
@ -0,0 +1,7 @@
|
||||
#admin_0_details.xls
|
||||
|
||||
The ~400 admin-0 scaleRank map sub-units that are dissolved repeatedly and joined with the attributes in this file.
|
||||
|
||||
#themes_versions.xls
|
||||
|
||||
The ~240 themes that make up Natural Earth their versions, and how they relate to the website, the zips, and basic stats.
|
BIN
housekeeping/ne_admin_0_details.xls
Normal file
BIN
housekeeping/ne_admin_0_details.xls
Normal file
Binary file not shown.
36
housekeeping/ne_point_themes_from_10m_to_50m_and_110m.sh
Normal file
36
housekeeping/ne_point_themes_from_10m_to_50m_and_110m.sh
Normal file
@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
|
||||
# POPULATED PLACES
|
||||
|
||||
#10m simple- populated places
|
||||
ogr2ogr -overwrite -sql "SELECT SCALERANK, NATSCALE, LABELRANK, FEATURECLA, NAME, NAMEPAR, NAMEALT, DIFFASCII, NAMEASCII, ADM0CAP, CAPALT, CAPIN, WORLDCITY, MEGACITY, SOV0NAME, SOV_A3, ADM0NAME, ADM0_A3, ADM1NAME, ISO_A2, NOTE, LATITUDE, LONGITUDE, CHANGED, NAMEDIFF, DIFFNOTE, POP_MAX, POP_MIN, POP_OTHER, GEONAMEID, MEGANAME, LS_NAME, LS_MATCH, CHECKME FROM ne_10m_populated_places WHERE natlscale >= 5 ORDER BY natlscale" ne_10m_populated_places_simple.shp ne_10m_populated_places.shp
|
||||
|
||||
#50m full - populated places
|
||||
# “SCALERANK” <= 4 Or "FEATURECLA" = 'Admin-0 capital' Or "FEATURECLA" = 'Admin-0 capital alt' Or "FEATURECLA" = 'Admin-0 region capital' Or "FEATURECLA" = 'Admin-1 region capital' Or "FEATURECLA" = 'Scientific station'
|
||||
ogr2ogr -overwrite -sql "SELECT * FROM ne_10m_populated_places WHERE natlscale >= 5 ORDER BY natlscale" ne_50m_populated_places.shp ne_10m_populated_places.shp
|
||||
#50m simple - populated places
|
||||
ogr2ogr -overwrite -sql "SELECT SCALERANK, NATSCALE, LABELRANK, FEATURECLA, NAME, NAMEPAR, NAMEALT, DIFFASCII, NAMEASCII, ADM0CAP, CAPALT, CAPIN, WORLDCITY, MEGACITY, SOV0NAME, SOV_A3, ADM0NAME, ADM0_A3, ADM1NAME, ISO_A2, NOTE, LATITUDE, LONGITUDE, CHANGED, NAMEDIFF, DIFFNOTE, POP_MAX, POP_MIN, POP_OTHER, GEONAMEID, MEGANAME, LS_NAME, LS_MATCH, CHECKME FROM ne_10m_populated_places WHERE natlscale >= 5 ORDER BY natlscale" ne_50m_populated_places_simple.shp ne_10m_populated_places.shp
|
||||
|
||||
#110m full - populated places
|
||||
# “SCALERANK” <= 1 Or "FEATURECLA" = 'Admin-0 capital' Or "FEATURECLA" = 'Admin-0 capital alt'
|
||||
ogr2ogr -overwrite -sql "SELECT * FROM ne_10m_populated_places WHERE natlscale >= 5 ORDER BY natlscale" ne_110m_populated_places.shp ne_10m_populated_places.shp
|
||||
#110m simple - populated places
|
||||
ogr2ogr -overwrite -sql "SELECT SCALERANK, NATSCALE, LABELRANK, FEATURECLA, NAME, NAMEPAR, NAMEALT, DIFFASCII, NAMEASCII, ADM0CAP, CAPALT, CAPIN, WORLDCITY, MEGACITY, SOV0NAME, SOV_A3, ADM0NAME, ADM0_A3, ADM1NAME, ISO_A2, NOTE, LATITUDE, LONGITUDE, CHANGED, NAMEDIFF, DIFFNOTE, POP_MAX, POP_MIN, POP_OTHER, GEONAMEID, MEGANAME, LS_NAME, LS_MATCH, CHECKME FROM ne_10m_populated_places WHERE natlscale >= 5 ORDER BY natlscale" ne_110m_populated_places_simple.shp ne_10m_populated_places.shp
|
||||
|
||||
|
||||
# AIRPORTS
|
||||
|
||||
#50m airports
|
||||
ogr2ogr -overwrite -sql "SELECT * FROM ne_50m_airports WHERE SCALERANK <= 4 ORDER BY SCALERANK" ne_50m_airports.shp ne_10m_airports.shp
|
||||
|
||||
#110m airports
|
||||
ogr2ogr -overwrite -sql "SELECT * FROM ne_110m_airports WHERE SCALERANK <= 1 ORDER BY SCALERANK" ne_110m_airports.shp ne_10m_airports.shp
|
||||
|
||||
|
||||
# PORTS
|
||||
|
||||
#50m ports
|
||||
ogr2ogr -overwrite -sql "SELECT * FROM ne_50m_ports WHERE SCALERANK <= 4 ORDER BY SCALERANK" ne_50m_ports.shp ne_10m_ports.shp
|
||||
|
||||
#110m ports
|
||||
ogr2ogr -overwrite -sql "SELECT * FROM ne_110m_ports WHERE SCALERANK <= 1 ORDER BY SCALERANK" ne_110m_ports.shp ne_10m_ports.shp
|
BIN
housekeeping/ne_themes_versions.xls
Normal file
BIN
housekeeping/ne_themes_versions.xls
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user