[mapguide-users] Problem generating tiled images under Maestro

Klemen S. klemen.sorcnik at gmail.com
Fri Aug 15 08:08:10 EDT 2008


Hi all,

I am using MG 2.0.1.  I do following to generate xml: 
Maestro -> New DataConnection -> OSgeo FDO Provider for Raster -> Type:
Composite
->Browse folder -> OK

My problem is that when i look generated xml all images has wrong
boundaries:

      <Image frame="1" name="hosl_50000_2.tif">
                  <Bounds>
                    <MinX>-10000000</MinX>
                    <MinY>-10000000</MinY>
                    <MaxX>10000000</MaxX>
                    <MaxY>10000000</MaxY>
                  </Bounds>

here is my gdalinfo for image hosl_5000_2:

Driver: GTiff/GeoTIFF
Files: hosl_50000_2.tif
Size is 4959, 3509
Coordinate System is:
LOCAL_CS["Non-Earth (Meter)",
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]]]
GeoTransform =
  539526.2142507969, 3.472036091421944, -0.01015381395317
  155842.8841053712, 0.009556919206704271, -3.48112918158987
Metadata:
  AREA_OR_POINT=Area
  TIFFTAG_SOFTWARE=IrfanView
  TIFFTAG_XRESOLUTION=300
  TIFFTAG_YRESOLUTION=300
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (  539526.214,  155842.884) 
Lower Left  (  539490.585,  143627.602) 
Upper Right (  556744.041,  155890.277) 
Lower Right (  556708.411,  143674.995) 
Center      (  548117.313,  149758.939) 
Band 1 Block=4959x1 Type=Byte, ColorInterp=Red
Band 2 Block=4959x1 Type=Byte, ColorInterp=Green
Band 3 Block=4959x1 Type=Byte, ColorInterp=Blue


In MG1.2 if i use the same procedure, generated xml has
correct boundaries. What am i doing wrong ?

Here is what i get in MG1.2:

  <Image frame="1" name="hosl_50000_2.tif">
                  <Bounds>
                    <MinX>539526.214250797</MinX>
                    <MinY>143627.601807172</MinY>
                    <MaxX>556744.041228158</MaxX>
                    <MaxY>155842.884105371</MaxY>
                  </Bounds>


Klemen




-- 
View this message in context: http://www.nabble.com/Problem-generating-tiled-images-under-Maestro-tp18997606p18997606.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list