Command line conversions and output creation

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 Openness maps ?act=openmap+in=c:\temp\cop.tif+upname=c:\temp\test_up_open.tif+downname=c:\temp\test_downup_open.tif+rad=250 +rad=250 (radius size of box in meters) Can do downward or upward openness; give the output names must for those desired.
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 (meters or arc seconds)
&dy=1 (meters or arc seconds)
&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.

DEMIX resample by aggregation automates this by creating all the reference DEMs for the DEMIX work.

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
DEMIX criteria evaluation ?act=demix-criteria&filelist=c:\microdem\demix_criteria_files.txt  
  • filelist is the full path to an ASCII file, with one full path DBF control file name per test DEM
  • requires that the test and 1" reference DEMs be on the local machine, and indexed in the Map library
DEMIX resample by aggregation ?act=DEMIX-CREATE-REF&filelist=c:\microdem\demix_resample_files.txt  
  • filelist is the full path to an ASCII file, with one full path DEM file name per test DEM.  This creates 1" pixel-is-area and pixel-is-point reference DEMS, and additional resolutions for high latitude COP and ALOS
  • output will be in the same directory, with standard names

Notes


Last revised  1/24/2022