Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've created a heap of saga grid files for some hydro survey work. I'm looking at a way to read these into a mapguide raster/grid layer, I'm able to load up the grids using a vrt file, I can't figure out how to apply a color table to them though, values should bein the order of 0 to 50 float ...

So I guess I need help on stylizing the source using a vrt file??

And perhaps some other program external to mapguide to check the display of the vrt dataset?

Any help much appreciated, just ask if theres more info I can supply.

an example of the vrt source I'm playing with

<VRTDataset rasterXSize="2957" rasterYSize="4598">


<GeoTransform> 5.3048100000000000e+005, 5.0000000000000000e-001, 0.0000000000000000e+000, 6.9916320000000000e+006, 0.0000000000000000e+000,-5.0000000000000000e-001</GeoTransform>
  <VRTRasterBand dataType="Float32" band="1">
    <NoDataValue>-9.99990000000000E+004</NoDataValue>

<ComplexSource>
  <SourceFilename relativeToVRT="1">15251007.sdat</SourceFilename>
  <SourceBand>1</SourceBand>
  <SourceProperties RasterXSize="2957" RasterYSize="4598" DataType="Float32" BlockXSize="2957" BlockYSize="1" />
  <SrcRect xOff="0" yOff="0" xSize="2957" ySize="4598" />
  <DstRect xOff="0" yOff="0" xSize="2957" ySize="4598" />
  <LUT>0:50,15:256</LUT>
        <NODATA>-99999</NODATA>
</ComplexSource>

share|improve this question
    
Which version of Mapguide are you using? Note that mapguide 2.2 uses gdal 1.6, which does not support saga grids yet. –  johanvdw Aug 22 '12 at 6:53
    
@johanvdw, using mapguide 2.4 so thats gdal 1.9, the grid renders in mapguide but its only a two tone image and the nodata doesn't seem to take effect ... –  Jamo Aug 22 '12 at 23:27
    
I found one of the issues the saga_cmd seems to create an invalid world file for the grid,<VRTRasterBand dataType="Float32" band="1"> reports Float but should read Byte ... only other issues being the no data value isn't supported in mapguide –  Jamo Aug 29 '12 at 6:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.