Hi there,
i'm trying to generate the tiles of a 1 m Terrain Modell out of some huge text files. The files have 4.000.000 records spanning an area of 2000 x 2000 Meters.
When i try to specify the Output geometry of the resulting Raster with:
'---------------------------
RasterInterpolationGeometry myG = new RasterInterpolationGeometry();
myG.CellSize.X = 1;
myG.CellSize.Y = 1;
RasterInterpolationExtent myE = new RasterInterpolationExtent();
myE.OriginX = dblOriginX;
myE.OriginY = dblOriginY;
myE.ExtentX = 2000;
myE.ExtentY = 2000;
myE.Type = RasterInterpolationExtentType.Cells;
myG.Extent = myE;
interpolationOptions.Geometry = myG;
// setup raster geometry paramters
//interpolationOptions.Geometry.CellSize.X = 1;
//interpolationOptions.Geometry.CellSize.Y = 1;
//interpolationOptions.Geometry.Extent.Type = RasterInterpolationExtentType.Cells;
//interpolationOptions.Geometry.Extent.OriginX = dblOriginX;
//interpolationOptions.Geometry.Extent.OriginY = dblOriginY;
//interpolationOptions.Geometry.Extent.ExtentX = 2000;
//interpolationOptions.Geometry.Extent.ExtentY = 2000;
'---------------------------
MiPro generates the raster files but simply ignores those settings and calculates it's own origin and cellsize, whatever Setting i'm using.
I tried it with the commented lines, but that also doesn't work.
I took the Code from the samples of the raster API.
It's MiPro 16.02 on Win 10 64bit Pro & VS 2013 Community.
Most probably i'm doing something wrong here, - anybody who can help?
Thanks and best regards.
Stefan