Merge commit 'hypersphere-rgerlich/master'
This commit is contained in:
commit
226c1bebcd
1 changed files with 4 additions and 4 deletions
8
src/Prep/OGRDecode/process.sh
Normal file → Executable file
8
src/Prep/OGRDecode/process.sh
Normal file → Executable file
|
@ -3,7 +3,7 @@
|
||||||
# Put your datasource here
|
# Put your datasource here
|
||||||
DATASOURCE="PG:dbname=$PGDATABASE host=$PGHOST user=$PGUSER"
|
DATASOURCE="PG:dbname=$PGDATABASE host=$PGHOST user=$PGUSER"
|
||||||
|
|
||||||
WORKBASE=$HOME/workdirs/world_scenery
|
WORKBASE=$HOME/workdir
|
||||||
|
|
||||||
OGRDECODE="$HOME/install_headless/bin/ogr-decode --continue-on-errors --max-segment 400 $*"
|
OGRDECODE="$HOME/install_headless/bin/ogr-decode --continue-on-errors --max-segment 400 $*"
|
||||||
|
|
||||||
|
@ -22,20 +22,20 @@ ${OGRDECODE} --area-type FloodLand ${WORKBASE}/Shape-Floodland "${DATASOURCE}" v
|
||||||
|
|
||||||
# Population areas: cities and towns
|
# Population areas: cities and towns
|
||||||
${OGRDECODE} --area-type Urban ${WORKBASE}/Shape-Cities "${DATASOURCE}" v0_urban
|
${OGRDECODE} --area-type Urban ${WORKBASE}/Shape-Cities "${DATASOURCE}" v0_urban
|
||||||
${OGRDECODE} --area-type Town ${WORKBASE}/Shape-Towns --point-width 400 "${DATASOURCE}" v0_town
|
${OGRDECODE} --area-type Town --point-width 400 ${WORKBASE}/Shape-Towns "${DATASOURCE}" v0_town
|
||||||
|
|
||||||
# Forest: deciduous broad, evergreen broad, mixed
|
# Forest: deciduous broad, evergreen broad, mixed
|
||||||
${OGRDECODE} --area-type DeciduousBroadCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_deciduousbroadcover
|
${OGRDECODE} --area-type DeciduousBroadCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_deciduousbroadcover
|
||||||
${OGRDECODE} --area-type EvergreenBroadCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_evergreenbroadcover
|
${OGRDECODE} --area-type EvergreenBroadCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_evergreenbroadcover
|
||||||
${OGRDECODE} --area-type MixedForestCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_mixedforestcover
|
${OGRDECODE} --area-type MixedForestCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_mixedforestcover
|
||||||
|
|
||||||
# Ground cover: sand, tidal, lava, barren, grass, shrub, herb-tundra
|
# Ground cover: sand, tidal, lava, barren, grass, scrub, herb-tundra
|
||||||
${OGRDECODE} --area-type Sand ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_sand
|
${OGRDECODE} --area-type Sand ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_sand
|
||||||
${OGRDECODE} --area-type Littoral ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_marsh
|
${OGRDECODE} --area-type Littoral ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_marsh
|
||||||
${OGRDECODE} --area-type Lava ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_lava
|
${OGRDECODE} --area-type Lava ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_lava
|
||||||
${OGRDECODE} --area-type BarrenCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_barrencover
|
${OGRDECODE} --area-type BarrenCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_barrencover
|
||||||
${OGRDECODE} --area-type GrassCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_grasscover
|
${OGRDECODE} --area-type GrassCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_grasscover
|
||||||
${OGRDECODE} --area-type ShrubCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_shrubcover
|
${OGRDECODE} --area-type ScrubCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_scrubcover
|
||||||
${OGRDECODE} --area-type HerbTundraCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_herbtundracover
|
${OGRDECODE} --area-type HerbTundraCover ${WORKBASE}/Shape-LandCover "${DATASOURCE}" v0_herbtundracover
|
||||||
|
|
||||||
# Ice cover: glaciers, pack ice, and sea ice
|
# Ice cover: glaciers, pack ice, and sea ice
|
||||||
|
|
Loading…
Reference in a new issue