Transform geodata formats... with GDAL!
See PREREQS.md
See BENCHMARKS.md
Packaged using Nodejs and NPM.
## Install globally
$> npm install git+ssh://git@ngtocgit.cr.usgs.gov/aburnes/geo-transfom -g
Convert a geopdf to tif
$> geotrans pdf2tif input.pdf output.tif
--clipped
: Clips the geopdf topo map to the neatline so the output tif is just the data on the map.--topo-type
: Select from a preset layer configs- Default:
all
- Others:
terrain
,imagery
,carto
- Default:
--layers
: A list of comma seperated layers wraped in double quotes- example:
--layers "geographic_names,structures,transportation,road_names"
- example:
--compress
: Compress the output tif dem- types:
- Default:
None
- Others:
JPEG
,DEFLATE
,LZW
- Default:
- types:
Convert an Arc Grid dem to tif
$> geotrans grid2tif input_dem/ output_dem.tif
--compress
: Compress the output tif dem- types:
- Default:
None
- Others:
JPEG
,DEFLATE
,LZW
- Default:
- types:
Convert an Arc Grid dem to img
$> geotrans grid2img input_dem/ output_dem.tif
--compress
: Compress the output tif dem- types:
- Default:
None
- Others:
JPEG
,DEFLATE
,LZW
- Default:
- types:
Currently, Node.js is only used to build/streamline the cli interface/interactions and manage the child processes. Most geotrans
functions
can be called directly from the command prompt if desired. This is a rundown on the processes actually being called.
For other GDAL commands that are not built into the geotrans
module, look through the doc
folder to learn how to integrate GDAL with USGS data.
- See doc