[mapguide-users] How do i load raster in MGOS 2?

Frank Warmerdam warmerdam at pobox.com
Tue Aug 5 12:01:47 EDT 2008


jamesdudden wrote:
> Frank - thank you again for all your continued support
> 
> You are right i had moved the file but not the .tfw - i moved it back and
> then did a new print out and there is more data (as you can see below) so i
> investigated and it seems the tif file is corrupt or something as i can't
> open it in anything.
> 
> So back to my image guy for a new .tif and .tfw and then we'll see where
> we're at.
> 
> Driver: GTiff/GeoTIFF
> Files: C:\Program
> Files\Autodesk\MapGuideStudio2009\SampleData\Raster\tif\Savills SSE
> Tq12sw.tif
> Size is 7874, 7874
> Coordinate System is `'
> Origin = (510000.000000500000000,124999.999999500000000)
> Pixel Size = (0.889001000000000,-0.889001000000000)
> Image Structure Metadata:
>   INTERLEAVE=BAND
> Corner Coordinates:
> Upper Left  (  510000.000,  125000.000) 
> Lower Left  (  510000.000,  118000.006) 
> Upper Right (  516999.994,  125000.000) 
> Lower Right (  516999.994,  118000.006) 
> Center      (  513499.997,  121500.003) 
> Band 1 Block=128x128 Type=Byte, ColorInterp=Palette
>   Image Structure Metadata:
>     NBITS=1
>   Color Table (RGB with 2 entries)
>     0: 255,255,255,255
>     1: 0,0,0,255

James,

OK ... I will note that this this gdalinfo report looks ok, but the
dataset lacks a coordinate system definition as might be expected from
a raw tiff file with a world file (.tfw).  I must admit I'm not too familiar
with this aspect, but I suspect MapGuide has recently been changed to require
a coordinate system definition.  There is a mechanism to provide the
coordinate system as an override, but I'm not exactly clear on the process.

Perhaps someone else can make a suggestion.

There are also mechanisms using FWTools to assign a coordinate system
to a TIFF (turning it into a GeoTIFF) if you would like to pursue that
angle.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapguide-users mailing list