diff --git a/housekeeping/.~lock.ne_themes_versions.xls# b/housekeeping/.~lock.ne_themes_versions.xls# new file mode 100644 index 00000000..916b3514 --- /dev/null +++ b/housekeeping/.~lock.ne_themes_versions.xls# @@ -0,0 +1 @@ +N K,nvkelso2,localhost,28.05.2012 21:15,file:///Users/nvkelso2/Library/Application%20Support/OpenOffice.org/3; \ No newline at end of file diff --git a/housekeeping/Makefile b/housekeeping/Makefile new file mode 100644 index 00000000..0e780ae8 --- /dev/null +++ b/housekeeping/Makefile @@ -0,0 +1 @@ +populated_places_from_10m_to_50m_and_110m.sh \ No newline at end of file diff --git a/housekeeping/README.md b/housekeeping/README.md new file mode 100644 index 00000000..e03d5c53 --- /dev/null +++ b/housekeeping/README.md @@ -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. \ No newline at end of file diff --git a/housekeeping/ne_admin_0_details.xls b/housekeeping/ne_admin_0_details.xls new file mode 100644 index 00000000..f165bb48 Binary files /dev/null and b/housekeeping/ne_admin_0_details.xls differ diff --git a/housekeeping/ne_point_themes_from_10m_to_50m_and_110m.sh b/housekeeping/ne_point_themes_from_10m_to_50m_and_110m.sh new file mode 100644 index 00000000..0c20210d --- /dev/null +++ b/housekeeping/ne_point_themes_from_10m_to_50m_and_110m.sh @@ -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 diff --git a/housekeeping/ne_themes_versions.xls b/housekeeping/ne_themes_versions.xls new file mode 100644 index 00000000..46b36eb1 Binary files /dev/null and b/housekeeping/ne_themes_versions.xls differ