[mapguide-users] Problem loading raster (TIF) files
Zac Spitzer
zac.spitzer at gmail.com
Tue Apr 21 03:00:10 EDT 2009
There is a patch for 2.0.2 which makes GDAL stable, can't quite find it in trac?
On Tue, Apr 21, 2009 at 4:44 PM, Kenneth Skovhede, GEOGRAF A/S
<ks at geograf.dk> wrote:
> There are some general troubleshooting tips for rasters here:
> http://trac.osgeo.org/fdo/wiki/FdoGdalNotes
>
> Try the part labeled "Debugging Rasters in MapGuide".
>
> Regards, Kenneth Skovhede, GEOGRAF A/S
>
>
>
> psciga skrev:
>>
>> Hello
>>
>> after a lot of hours searching in Nabble an trying different procedures, I
>> hope of some ideas. The problem:
>>
>> Using OSGeo FDO Provider for GDAL in MG Studio 2009 I create a feature
>> source from a tif file.
>>
>> Following the example on
>>
>> http://trac.osgeo.org/fdo/browser/trunk/Providers/GDAL/Docs/XmlSchema/GrfpConfigExample.xml
>> I load a config file:
>>
>> <SchemaMapping provider="OSGeo.Gdal.3.2" name="default"
>> xmlns="http://fdogrfp.osgeo.org/schemas">
>> <complexType name="defaultType">
>> <complexType name="RasterTypeType">
>> <RasterDefinition name="images">
>> <Location name="C:\loeschen1">
>> <Feature name="251811.tif">
>> <Band name="RGB" number="1">
>> <Image frame="1" name="251811.tif">
>> <Georeference>
>> <InsertionPointX>2525500.0</InsertionPointX>
>> <InsertionPointY>5718500.0</InsertionPointY>
>> <ResolutionX>0.084667</ResolutionX>
>> <ResolutionY>0.084667</ResolutionY>
>> <RotationX>0</RotationX>
>> <RotationY>0</RotationY>
>> </Georeference> </Image>
>> </Band>
>> </Feature>
>> </Location>
>> </RasterDefinition>
>> </complexType>
>> </complexType>
>> </SchemaMapping>
>>
>> It runs fine.
>>
>> The same procedure with an other file fails. No picture is shown.
>>
>> ....
>> <SchemaMapping provider="OSGeo.Gdal.3.2" name="default"
>> xmlns="http://fdogrfp.osgeo.org/schemas">
>> <complexType name="defaultType">
>> <complexType name="RasterTypeType">
>> <RasterDefinition name="images">
>> <Location name="C:\loeschen1">
>> <Feature name="261801">
>> <Band name="RGB" number="1">
>> <Image frame="1" name="261801.TIF">
>> <Georeference>
>>
>> <InsertionPointX>2526500.000</InsertionPointX>
>>
>> <InsertionPointX>5718000.000</InsertionPointX>
>>
>> <ResolutionX>0.084666440907558</ResolutionX>
>>
>> <ResolutionX>0.084668021680356</ResolutionX>
>> <RotationX>0</RotationX>
>> <RotationY>0</RotationY>
>> </Georeference>
>> </Image>
>> </Band>
>> </Feature>
>> </Location>
>> </RasterDefinition>
>> </complexType>
>> </complexType>
>> </SchemaMapping>
>> ....
>>
>> I can't see a difference. I have attached both files and hope for a lttle
>> help.
>>
>> My local environment:
>>
>> MGOS 2.0.1 (Apache & PHP)
>> MG Studio 2009
>> Win XP pro (SP2)
>>
>> Thanks in advance!
>>
>> Regards
>> Peter
>> http://n2.nabble.com/file/n2664565/251811.TIF 251811.TIF ... is running
>> http://n2.nabble.com/file/n2664565/261801.TIF 261801.TIF ... NOT running
>>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
--
Zac Spitzer -
http://zacster.blogspot.com
+61 405 847 168
More information about the mapguide-users
mailing list