[mapguide-users] GDAL provider for raster...again problem whit loaddata...

Frank Warmerdam warmerdam at pobox.com
Thu Mar 1 09:18:02 EST 2007


Maciej Skorczewski wrote:
> 
> 
> Chris Tallman napisał(a):
>> I think you guys having problems with the GDAL provider may have missed
>> an important post that I can't seem to find either.  But, I think it was
>> stated at one point that rasters connected using the GDAL would not
>> preview in studio.  I believe you have to make a map and web layout and
>> view it with a browser to see the aerial images.
> 
> 
> no it no work even in webbrowser...raster files who work can  see in 
> preview in Studio...
> 
> but...10 minutes ago i check header info of TIF files... and see that 
> all raster who works have information about this...
> 
> mybe i wrong but i have read on list that GDAL ignore GeoTIFF info...and 
> user must put it manulay...
> 
> can you check yours tif header?
...
> No GeoTIFF info found

Maciej,

At Autodesk's request the GDAL raster provider will ignore or throw an
exception if a raster file with no geotransform (positioning information)
is referenced.  So any TIFF file with no GeoTIFF info a and no world file
will not work.  I believe this was requested because it is not meaningful
for MapGuide to operate in "raw pixel coordinates" which is what GDAL
would fallback to reporting for such files.

GDAL does not ignore GeoTIFF info, but the 3.2 GDAL provider does ignore
spatial contexts (coordinate systems), and does not return overall bounds
information to the application.  The provider does provide per-image
positioning information though - otherwise it would be completely useless!

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