Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @ECHO OFF
- set PATH=%CD%/../../Stage/bin;%CD%/../../vcpkg-git/installed/x64-windows/bin
- set GDAL_DATA=%CD%/../../vcpkg-git/installed/x64-windows/share/gdal
- set PRIORITIES_FILE=%CD%/../../Stage/share/TerraGear/default_priorities.txt
- set USGS_MAP_FILE=%CD%/../../Stage/share/TerraGear/usgsmap.txt
- echo === hgtchop =====================================================================
- hgtchop 3 data/SRTM-3/N51W008.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N51W009.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N51W010.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N51W011.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N52W007.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N52W008.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N52W009.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N52W010.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N52W011.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N53W006.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N53W007.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N53W008.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N53W009.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N53W010.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N53W011.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N54W006.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N54W007.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N54W008.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N54W009.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N54W010.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N54W011.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N55W006.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N55W007.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N55W008.hgt work/SRTM-3
- hgtchop 3 data/SRTM-3/N55W009.hgt work/SRTM-3
- echo === terrafit ====================================================================
- terrafit --minnodes 50 --maxnodes 22500 --maxerror 5 work/SRTM-3
- echo === genapt850 ===================================================================
- genapts850 --input=apt.dat --work=work --min-lon=-12 --max-lon=-5.25 --min-lat=51 --max-lat=55.5 --log-level=info
- echo === ogr-decode ==================================================================
- REM OSM LINE DATA
- ogr-decode --line-width 12 --continue-on-errors --all-threads --area-type Road work/Road data/osm_motorway
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Road work/Road data/osm_motorway_link
- ogr-decode --line-width 12 --continue-on-errors --all-threads --area-type Road work/Road data/osm_trunk
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Road work/Road data/osm_trunk_link
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Road work/Road data/osm_primary
- ogr-decode --line-width 8 --continue-on-errors --all-threads --area-type Road work/Road data/osm_primary_link
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Road work/Road data/osm_secondary
- ogr-decode --line-width 8 --continue-on-errors --all-threads --area-type Road work/Road data/osm_secondary_link
- ogr-decode --line-width 8 --continue-on-errors --all-threads --area-type Road work/Road data/osm_tertiary
- ogr-decode --line-width 7 --continue-on-errors --all-threads --area-type Road work/Road data/osm_tertiary_link
- ogr-decode --line-width 6 --continue-on-errors --all-threads --area-type Road work/Road data/osm_residential
- ogr-decode --line-width 7 --continue-on-errors --all-threads --area-type Road work/Road data/osm_unclassified
- ogr-decode --line-width 6 --continue-on-errors --all-threads --area-type Road work/Road data/osm_other
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Railroad work/Railroad data/osm_rail
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Canal work/Canal data/osm_canal
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Stream work/Stream data/osm_river_line
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Stream work/Stream data/osm_stream
- REM OSM POLYS
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Lake work/Lake data/osm_river_poly
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Lake work/Lake data/osm_lake
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Sand work/Sand data/osm_beach
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type GolfCourse work/GolfCourse data/osm_golf_course
- REM CORINE POLYS
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type BarrenCover work/BarrenCover data/corine_barrencover
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Sand work/Sand data/corine_beach
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type CropGrass work/CropGrass data/corine_cropgrass
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type CropWoodCover work/CropWoodCover data/corine_cropwood
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type DeciduousBroadCover work/DeciduousBroadCover data/corine_decid_wood
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type DryCrop work/DryCrop data/corine_drycrop
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type EvergreenBroadCover work/EvergreenBroadCover data/corine_evergreen
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type GrassCover work/GrassCover data/corine_grasscover
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Urban work/Urban data/corine_greenurban
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type HerbTundra work/HerbTundra data/corine_herbtundra
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Industrial work/Industrial data/corine_industrial
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Littoral work/Littoral data/corine_littoral
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Marsh work/Marsh data/corine_marsh
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type MixedForestCover work/MixedForestCover data/corine_mixed_wood
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type MixedCrop work/MixedCrop data/corine_mixedcrop
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type OpenMining work/OpenMining data/corine_open_mining
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type HerbTundra work/HerbTundra data/corine_other_herbtundra
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Bog work/Bog data/corine_peatbog
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Industrial work/Industrial data/corine_port
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type GrassCover work/GrassCover data/corine_railway_borders
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Dirt work/Dirt data/corine_rocks
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type SaltMarsh work/SaltMarsh data/corine_saltmarsh
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Town work/Town data/corine_town
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Urban work/Urban data/corine_urban
- ogr-decode --line-width 10 --continue-on-errors --all-threads --area-type Default work/Default data/Default
- echo === tg-construct ================================================================
- tg-construct --priorities=%PRIORITIES_FILE% --usgs-map=%USGS_MAP_FILE% --work-dir=work --output-dir=output/Terrain --ignore-landmass --min-lon=-12 --max-lon=-5.25 --min-lat=51 --max-lat=55.5 AirportArea AirportObj BarrenCover Canal CropGrass CropWoodCover DeciduousBroadCover Default Dirt DryCrop EvergreenBroadCover GolfCourse GrassCover HerbTundra Industrial Lake Littoral Marsh MixedCrop MixedForestCover OpenMining Port Railroad Road Rock SaltMarsh Sand SRTM-3 Stream Town Urban
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement