June 6, 200323 yr Hello steve, hello to alli tried to make hole -filling via microdem, and tried also something with "Terragen", but this is something to much complicating and would let me spend too much time (this is not my main work :-) )but altough i changed the *.hgt with corrections of hole via microdem, the result is a new DEM.Now my question is: how should i modify these files to get them work such confortable as the MMM (Matthew's-Mesh-Maker) :-) ?i tried to change file extensions dem to hgt but this does not work...how should it look, this .inf file? which type must be writen out of a microdem *.dem -file (it seems to have a special microdem-header) to Type = ElevS16MSB?GreetingsFrancis
June 6, 200323 yr Hi Francis,>it seems to have a special microdem-headerIt does, and the data is in the wrong row/column orientation. You can use BIGBSQ at http://www.terrainmap.com/ to put the data into the hgt/bsq/dem format that the SDK needs.>how should it look, this .inf file?The inf format is the same. You will have to write your own, using information from the Microdem menus (Analyze-Header and Calculate-Map window corners). I've appended an example below, but your numbers will be different.This is less convenient than the MMM approach, but Microdem will work with almost all popular DEM data sources and gives you much more flexibility when preparing your data. At least for now.Stevesample inf---------------[Destination]LOD=10DestDir="."DestBaseFileName="kauai"UseSourceDimensions=1[source]Type=ElevS16LSBNullCellValue=32767 ;depends on data sourceSourceDir="."SourceFile="kauai.bsq"Lat= 22.24 ;NW cornerLon=-159.85 ;NW cornerNumOfLines= 5401 ;rowsNumOfCellsPerLine= 7321 ;columnsCellYdimensionDeg= 8.33333333333332E-05CellXdimensionDeg= 8.33333333333313E-05ScaleinMeters= 1 ;0.3048 if source is in feet ---------------where:CellYdimensionDeg= (N lat - S lat)/(rows-1)CellXdimensionDeg= (W long - E long)/(columns-1)Setting the Microdem Options-Units to Decimal degrees makes these calculations easier.
Create an account or sign in to comment