mirror of
https://github.com/oDinZu/natural-earth-vector.git
synced 2025-02-23 00:02:17 -05:00
Added countries at all three scales
This commit is contained in:
parent
6385be0d7d
commit
cbcf89a174
27
Makefile
27
Makefile
@ -3,7 +3,8 @@ P900913=+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0
|
|||||||
OPTIONS=OGR_ENABLE_PARTIAL_REPROJECTION=TRUE
|
OPTIONS=OGR_ENABLE_PARTIAL_REPROJECTION=TRUE
|
||||||
OGR2OGR=$(OPTIONS) ogr2ogr -t_srs "$(P900913)" -clipsrc $(EXTENT) -segmentize 1 -skipfailures
|
OGR2OGR=$(OPTIONS) ogr2ogr -t_srs "$(P900913)" -clipsrc $(EXTENT) -segmentize 1 -skipfailures
|
||||||
|
|
||||||
all: 10m_land.zip 50m_land.zip 110m_land.zip
|
all: 10m_land.zip 50m_land.zip 110m_land.zip \
|
||||||
|
10m_admin_0_countries.zip 50m_admin_0_countries.zip 110m_admin_0_countries.zip
|
||||||
|
|
||||||
10m_land.zip: 10m_physical/ne_10m_land.shp
|
10m_land.zip: 10m_physical/ne_10m_land.shp
|
||||||
$(OGR2OGR) 10m_land.shp 10m_physical/ne_10m_land.shp
|
$(OGR2OGR) 10m_land.shp 10m_physical/ne_10m_land.shp
|
||||||
@ -26,7 +27,31 @@ all: 10m_land.zip 50m_land.zip 110m_land.zip
|
|||||||
zip -j $@ 110m_land.dbf 110m_land.index 110m_land.prj 110m_land.shp 110m_land.shx info.txt
|
zip -j $@ 110m_land.dbf 110m_land.index 110m_land.prj 110m_land.shp 110m_land.shx info.txt
|
||||||
rm -f 110m_land.dbf 110m_land.index 110m_land.prj 110m_land.shp 110m_land.shx info.txt
|
rm -f 110m_land.dbf 110m_land.index 110m_land.prj 110m_land.shp 110m_land.shx info.txt
|
||||||
|
|
||||||
|
10m_admin_0_countries.zip: 10m_cultural/ne_10m_admin_0_countries.shp
|
||||||
|
$(OGR2OGR) 10m_admin_0_countries.shp 10m_cultural/ne_10m_admin_0_countries.shp
|
||||||
|
ogrinfo -so 10m_admin_0_countries.shp 10m_admin_0_countries | tail -n +4 > info.txt
|
||||||
|
shapeindex 10m_admin_0_countries.shp
|
||||||
|
zip -j $@ 10m_admin_0_countries.dbf 10m_admin_0_countries.index 10m_admin_0_countries.prj 10m_admin_0_countries.shp 10m_admin_0_countries.shx info.txt
|
||||||
|
rm -f 10m_admin_0_countries.dbf 10m_admin_0_countries.index 10m_admin_0_countries.prj 10m_admin_0_countries.shp 10m_admin_0_countries.shx info.txt
|
||||||
|
|
||||||
|
50m_admin_0_countries.zip: 50m_cultural/ne_50m_admin_0_countries.shp
|
||||||
|
$(OGR2OGR) 50m_admin_0_countries.shp 50m_cultural/ne_50m_admin_0_countries.shp
|
||||||
|
ogrinfo -so 50m_admin_0_countries.shp 50m_admin_0_countries | tail -n +4 > info.txt
|
||||||
|
shapeindex 50m_admin_0_countries.shp
|
||||||
|
zip -j $@ 50m_admin_0_countries.dbf 50m_admin_0_countries.index 50m_admin_0_countries.prj 50m_admin_0_countries.shp 50m_admin_0_countries.shx info.txt
|
||||||
|
rm -f 50m_admin_0_countries.dbf 50m_admin_0_countries.index 50m_admin_0_countries.prj 50m_admin_0_countries.shp 50m_admin_0_countries.shx info.txt
|
||||||
|
|
||||||
|
110m_admin_0_countries.zip: 110m_cultural/ne_110m_admin_0_countries.shp
|
||||||
|
$(OGR2OGR) 110m_admin_0_countries.shp 110m_cultural/ne_110m_admin_0_countries.shp
|
||||||
|
ogrinfo -so 110m_admin_0_countries.shp 110m_admin_0_countries | tail -n +4 > info.txt
|
||||||
|
shapeindex 110m_admin_0_countries.shp
|
||||||
|
zip -j $@ 110m_admin_0_countries.dbf 110m_admin_0_countries.index 110m_admin_0_countries.prj 110m_admin_0_countries.shp 110m_admin_0_countries.shx info.txt
|
||||||
|
rm -f 110m_admin_0_countries.dbf 110m_admin_0_countries.index 110m_admin_0_countries.prj 110m_admin_0_countries.shp 110m_admin_0_countries.shx info.txt
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f 10m_land.zip
|
rm -f 10m_land.zip
|
||||||
rm -f 50m_land.zip
|
rm -f 50m_land.zip
|
||||||
rm -f 110m_land.zip
|
rm -f 110m_land.zip
|
||||||
|
rm -f 10m_admin_0_countries.zip
|
||||||
|
rm -f 50m_admin_0_countries.zip
|
||||||
|
rm -f 110m_admin_0_countries.zip
|
||||||
|
Loading…
x
Reference in New Issue
Block a user