Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (9 sloc) 620 Bytes
install: uninstall
@echo STATUS=Downloading
mkdir -p src tmp
cd src && wget -q
@echo STATUS=Importing
ogr2ogr -f PostgreSQL -skipfailures -overwrite -nlt PROMOTE_TO_MULTI $(POSTGRES_OGR) -lco SCHEMA=naturalearth -lco GEOMETRY_NAME=geom -nln ne_10m_admin_1_states_provinces /vsizip/src/
@echo STATUS=Uninstalling
psql "$(POSTGRES_URI)" -c 'DROP TABLE IF EXISTS naturalearth.ne_10m_admin_1_states_provinces'
You can’t perform that action at this time.