[mapguide-users] MGOS 2.1 - ECW

Denis Lalonde denlalonde at gmail.com
Wed Dec 16 16:32:29 EST 2009


I still have no luck with the ECW. I even uninstalled/reinstalled 2.1 in case
I accidently messed up the DLLs while following steps in trac #1121. I did
manage to get a “Spatial context extent appear to be invalid” once in
Maestro, but I couldn’t get it to appear again ??  I installed the latest RC
of Maestro too hoping that would help.

My last attempt was to manually configure the featuresource but via that
route, I get “An exception occurred in FDO component. Failed to de-serialize
the spatial context from the configuration”.

Here’s my config 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>LL83</gml:remarks> 
<gml:srsName>LL83</gml:srsName> 
<gml:validArea> 
<gml:boundingBox> 
<gml:pos>511637 4983499</gml:pos> 
<gml:pos>527001 4993001</gml:pos> 
</gml:boundingBox> 
</gml:validArea> 
<gml:baseCRS> 
<fdo:WKTCRS gml:id="coordSys"> 
<gml:srsName>LL83</gml:srsName> 
<fdo:WKT>GEOGCS["LL83",DATUM["NAD83",SPHEROID["GRS1980",6378137.000,298.25722210]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]]</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" 
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" name="rasters" 
xmlns="http://fdogrfp.osgeo.org/schemas"> 
<complexType name="RasterTypeType"> 
<RasterDefinition name="rasters"> 
<Location name="C:\DATA\ECW_2007"> 
<Feature name="Cornwall_10cm_20-1.ecw"> 
<Band name="RGB" number="1"> 
<Image name="Cornwall_10cm_20-1.ecw" frame="1">
</Band> 
</Feature> 
</Location> 
</RasterDefinition> 
</complexType> 
</SchemaMapping> 
</fdo:DataStore>

Does anybody have any final ideas before I revert back to 2.02? As
mentioned, I (my end-users) really need the raster.
-- 
View this message in context: http://n2.nabble.com/MGOS-2-1-ECW-tp4142293p4178096.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list