Command line conversions

Option Command line, mandatory parameters Optional parameters Notes
DEM to GeoJSON-G ?act=dem2json&in=c:\mapdata\glacier.dem   Output in same directory, with new extension .JSON
LAS to GeoJSON-P ?act=las2json&in=c:\mapdata\little.las   Output in same directory, with two new files with new extensions .JSON and .JSON.BZ2
7zip used for compression
Create fabric overlay ?act=terr_farbric&in=c:\mapdata\dem.tif&out=c:\mapdata\fabric.dbf &boxsize=100 (region size)
&ptsep=100 (point separation)
If not specified, optional parameters use values in the MICRODEM.INI file.
Create slope map ?act=slopemap+in=c:\temp\test.tif+out=c:\temp\test_slope.tif    
Create subsampled DEM by averaging ?act=resampavg+in=c:\temp\test25.dem+out=c:\temp\test_resamp.tif &proj=geo/utm/wkt (wkt has limited options)
&dx=1
&dy=1
&holes=0/1/2  (0, no hole filling; larger values the radius to fill)
&pixelis=area/point
If not specified, optional parameters use values in the MICRODEM.INI file.

Set the values in the GUI
Create slope uncertainty map ?act=slopeuncertain+in=c:\temp\test.tif  

Experimental:

  • Creates output files (3 slopes, 4 directional derivatives, 2 aspects, and a slope uncertainty map in the same directory as the input DEM)
  • Based on a paper under review
  • Same grids created in the GUI under Raster GIS, Create derivative grid, Slope error estimator
  • ?act=slopeuncertain+in=c:\temp\cop.dem+x=601+y=401 will output the intermediate results in the debub log

Notes


Last revised  12/5/2021