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

jamesdudden jamesdudden at blueyonder.co.uk
Tue Aug 12 11:57:50 EDT 2008


HI,

I have 2 tifs - one that Mapguide can't see (when you click on the
datasource to preview the feature it says Total Entries: 0) and the other it
can (i click on the datasource and then view data, the class says Total
Entries: 1 and shows the path to the tif)

Here is a print out of the tifs - can anyone see why one will work and the
other won't.

WORKING:

Driver: GTiff/GeoTIFF
Files: C:\Program
files\Autodesk\MapGuideStudio2009\SampleData\Raster\Sheboygan_001_001.tif
Size is 1135, 996
Coordinate System is `'
Origin = (216221.408000000000000,177716.551000000010000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
  TIFFTAG_XRESOLUTION=150
  TIFFTAG_YRESOLUTION=150
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (  216221.408,  177716.551) 
Lower Left  (  216221.408,  176720.551) 
Upper Right (  217356.408,  177716.551) 
Lower Right (  217356.408,  176720.551) 
Center      (  216788.908,  177218.551) 
Band 1 Block=1135x16 Type=Byte, ColorInterp=Red
Band 2 Block=1135x16 Type=Byte, ColorInterp=Green
Band 3 Block=1135x16 Type=Byte, ColorInterp=Blue


NOT WORKING:

Driver: GTiff/GeoTIFF
Files: C:\Documents and Settings\All Users\Documents\SY88NE\SY88NE.TIF
Size is 7874, 7874
Coordinate System is `'
Origin = (384999.817500634990000,90000.182499364993000)
Pixel Size = (1.000000000000000,-1.000000000000000)
Metadata:
  TIFFTAG_IMAGEDESCRIPTION=1:10000 TILE SY88NE
  TIFFTAG_DATETIME=2007:10:22 12:20:07
  TIFFTAG_COPYRIGHT=ORDNANCE SURVEY CROWN COPYRIGHT 2007
  TIFFTAG_XRESOLUTION=400
  TIFFTAG_YRESOLUTION=400
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (  384999.818,   90000.182) 
Lower Left  (  384999.818,   82126.182) 
Upper Right (  392873.818,   90000.182) 
Lower Right (  392873.818,   82126.182) 
Center      (  388936.818,   86063.182) 
Band 1 Block=7874x8 Type=Byte, ColorInterp=Palette
  Image Structure Metadata:
    NBITS=1
  Color Table (RGB with 2 entries)
    0: 0,0,0,255
    1: 255,255,255,255

Any help would be appreciated

Regards

James
-- 
View this message in context: http://www.nabble.com/How-do-i-load-raster-in-MGOS-2--tp18648843p18947248.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list