[mapguide-users] Exmple of Gdal index xml
Frank Warmerdam
warmerdam at pobox.com
Thu Oct 4 16:01:29 EDT 2007
Gary Morin wrote:
> I've corrected the bounds, one of the images did not upload correctly, as to
> the truncated file, it's probably finger troubles by me.
>
> Attached is a new version, which still gives the same error.
Gary,
This still seems truncated. In particular it ends with a </Feature>
but it should end with </DataStore>
eg.
<?xml version="1.0" encoding="UTF-8"?>
<!-- Sample configuration file for Raster File Provider DataStore that contains
satellite photos -->
<DataStore xmlns:fdo="http://www.autodesk.com/isd/fdo"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.autodesk.com/isd/fdo"
xsi:schemaLocation="http://www.autodesk.com/isd/fdo
FdoDocument.xsd">
... a bunch of schema stuff...
</xs:schema>
<!-- Schema Overrides for Photos Feature Schema -->
<SchemaMapping name="photos" provider="OSGeo.Gdal.3.0"
xmlns="http://www.autodesk.com/isd/fdo/RasterFileProvider">
<!-- Schema Overrides for Photo Feature Class -->
<complexType name="PhotoType">
<RasterDefinition name="photos">
<Location name="/home/warmerda">
<Feature name="Airport2">
<band name="RGB" number="1">
<Image name="utm.tif">
</Image>
</band>
</Feature>
<Feature name="Airport">
<band name="RGB" number="1">
<Image name="utm.tif">
<Georeference>
<InsertionPointX>200000.000000</InsertionPointX>
<InsertionPointY>1000000.000000</InsertionPointY>
<ResolutionX>1</ResolutionX>
<ResolutionY>1</ResolutionY>
<RotationX>0</RotationX>
<RotationY>0</RotationY>
</Georeference>
</Image>
</band>
</Feature>
</Location>
</RasterDefinition>
</complexType>
</SchemaMapping>
</DataStore>
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