[mapguide-users] An exception occurred in FDO component / Gdal raster

mates reklamama at centrum.sk
Mon Nov 12 18:35:56 EST 2007


I found same examples and try it again, but now i get this mesage.

An exception occurred in FDO component.
Failed to de-serialize the spatial contexts from the configuration.

And the xml file

<?xml version="1.0" encoding="UTF-8"?>
<fdo:DataStore 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:gml="http://www.opengis.net/gml"
xmlns:fdo="http://fdo.osgeo.org/schemas"
xmlns:fds="http://fdo.osgeo.org/schemas/fds">
<gml:DerivedCRS gml:id="coordSys">
<gml:remarks></gml:remarks>
<gml:srsName></gml:srsName>
<gml:validArea>
<gml:boundingBox>
<gml:pos>-762500 -1060000</gml:pos>
<gml:pos>-760000 -1056000</gml:pos>
</gml:boundingBox>
</gml:validArea>
<gml:baseCRS>
<fdo:WKTCRS gml:id="coordSys">
<gml:srsName></gml:srsName>
<fdo:WKT></fdo:WKT>
</fdo:WKTCRS>
</gml:baseCRS>
<gml:definedByConversion
xlink:href="http://fdo.osgeo.org/coord_conversions#identity"/>
<gml:derivedCRSType
codeSpace="http://fdo.osgeo.org/crs_types">geographic</gml:derivedCRSTy
pe>
<gml:usesCS
xlink:href="http://fdo.osgeo.org/cs#default_cartesian"/>
</gml:DerivedCRS>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://fdo.osgeo.org/schemas/feature/rasters"
xmlns:fdo="http://fdo.osgeo.org/schemas"
xmlns:gml="http://www.opengis.net/gml"
xmlns:rasters="http://fdo.osgeo.org/schemas/feature/rasters"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="RasterType" type="rasters:RasterTypeType"
abstract="false" substitutionGroup="gml:_Feature">
<xs:key name="RasterTypeKey">
<xs:selector xpath=".//RasterType"/>
<xs:field xpath="Id"/>
</xs:key>
</xs:element>
<xs:complexType name="RasterTypeType" abstract="false"
fdo:hasGeometry="false">
<xs:complexContent>
<xs:extension base="gml:AbstractFeatureType">
<xs:sequence>
<xs:element name="Id">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="256"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Image" type="fdo:RasterPropertyType"
fdo:defaultImageXSize="200" fdo:defaultImageYSize="200">
<xs:annotation>
<xs:appinfo source="http://fdo.osgeo.org/schemas">
<fdo:DefaultDataModel dataModelType="Unknown"
dataType="Unknown" organization="Row" bitsPerPixel="32" tileSizeX="128"
tileSizeY="128"/>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
<SchemaMapping provider="OSGeo.Gdal.3.2" name="rasters"
xmlns="http://fdogrfp.osgeo.org/schemas">
<complexType name="RasterTypeType">
<RasterDefinition name="rasters">
<Location name="D:\raster\">
<Feature name="bero48.tif">
  <Band name="RGB" number="1">
  <Image frame="1" name="bero48.tif">
 
<Bounds><MinX>-762500</MinX><MinY>-1058000</MinY><MaxX>-760000</MaxX><MaxY>-1056000</MaxY></Bounds></Image>
</Band>
</Feature>
<Feature name="bero49.tif">
  <Band name="RGB" number="1">
  <Image frame="1" name="bero49.tif">
 
<Bounds><MinX>-762500</MinX><MinY>-1060000</MinY><MaxX>-760000</MaxX><MaxY>-1058000</MaxY>
  </Bounds>
  </Image>
  </Band>
</Feature>
</Location>
</RasterDefinition>
</complexType>
</SchemaMapping>
</fdo:DataStore>


When i'm use the skript from 
http://trac.osgeo.org/fdo/wiki/FdoGdalNotes#CreatingTileIndexConfigFiles 

the skript set the default coordinate system,but i need an other..

-- 
View this message in context: http://www.nabble.com/An-exception-occurred-in-FDO-component---Gdal-raster-tf4791379s16610.html#a13716669
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list