[mapguide-users] An exception occurred in FDO component

mates reklamama at centrum.sk
Mon Nov 12 09:19:37 EST 2007


Hi all!

I trying to georeference my rasters.With default SRS it's works.But when i
change the WKT and the name,
i get this error.

An exception occurred in FDO component.Spatial Context 'Default' defined for
Class 'default' was not found.

Here is the configuration

<?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:metaDataProperty><gml:GenericMetaData><fdo:SCExtentType>dynamic</fdo:SCExtentType><fdo:XYTolerance>0.001000</fdo:XYTolerance><fdo:ZTolerance>0.001000</fdo:ZTolerance></gml:GenericMetaData></gml:metaDataProperty><gml:remarks>GCS_S_JTSK</gml:remarks><gml:srsName>GCS_S_JTSK</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>GCS_S_JTSK</gml:srsName><fdo:WKT>PROJCS["S-JTSK_Krovak",GEOGCS["GCS_S_JTSK",DATUM["Jednotne_Trigonometricke_Site_Katastralni",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Krovak"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Pseudo_Standard_Parallel_1",78.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Azimuth",30.28813975277778],PARAMETER["Longitude_Of_Center",24.83333333333333],PARAMETER["Latitude_Of_Center",49.5],PARAMETER["X_Scale",1],PARAMETER["Y_Scale",1],PARAMETER["XY_Plane_Rotation",0],UNIT["Meter",1],AUTHORITY["EPSG","102065"]]</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:derivedCRSType><gml:usesCS
xlink:href="http://fdo.osgeo.org/cs#default_cartesian"/></gml:DerivedCRS><xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fdo="http://fdo.osgeo.org/schemas"
xmlns:gml="http://www.opengis.net/gml"
xmlns:default="http://fdo.osgeo.org/schemas/feature/default"
targetNamespace="http://fdo.osgeo.org/schemas/feature/default"
elementFormDefault="qualified"
attributeFormDefault="unqualified"><xs:annotation><xs:appinfo
source="http://fdo.osgeo.org/schemas"/></xs:annotation><xs:element
name="default" type="default:defaultType" abstract="false"
substitutionGroup="gml:_Feature"><xs:key name="defaultKey"><xs:selector
xpath=".//default"/><xs:field
xpath="FeatId"/></xs:key></xs:element><xs:complexType name="defaultType"
abstract="false" fdo:hasGeometry="false"><xs:annotation><xs:appinfo
source="http://fdo.osgeo.org/schemas"/></xs:annotation><xs:complexContent><xs:extension
base="gml:AbstractFeatureType"><xs:sequence><xs:element
name="FeatId"><xs:annotation><xs:appinfo
source="http://fdo.osgeo.org/schemas"/></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="1024"
fdo:defaultImageYSize="1024"
fdo:srsName="Default"><xs:annotation><xs:appinfo
source="http://fdo.osgeo.org/schemas"><fdo:DefaultDataModel
dataModelType="Bitonal" dataType="Unknown" organization="Pixel"
bitsPerPixel="1" tileSizeX="256"
tileSizeY="256"/></xs:appinfo></xs:annotation></xs:element></xs:sequence></xs:extension></xs:complexContent></xs:complexType></xs:schema><SchemaMapping
xmlns="http://fdogrfp.osgeo.org/schemas" provider="OSGeo.Gdal.3.2"
name="default"><complexType name="defaultType"><complexType
name="RasterTypeType"><RasterDefinition name="images"><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></complexType></SchemaMapping></fdo:DataStore>
-- 
View this message in context: http://www.nabble.com/An-exception-occurred-in-FDO-component-tf4791379s16610.html#a13706425
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list