[mapguide-users] MGOS 2.0 - mrsid problem...

Andrew DeMerchant andrew.demerchant at gemtec.ca
Mon Apr 14 14:58:01 EDT 2008


Resourcecontent:

-
    <FeatureSource xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">
<Provider>OSGeo.Gdal</Provider>
-
    <Parameter>
<Name>DefaultRasterFileLocation</Name>
<Value>n:\drawings\0600\65885\45206610.sid</Value>
</Parameter>
-
    <SupplementalSpatialContextInfo>
<Name>Default</Name>
-
    <CoordinateSystem>
LOCAL_CS["Non-Earth (Meter)",LOCAL_DATUM["Local Datum",0],UNIT["Meter", 
1],AXIS["X",EAST],AXIS["Y",NORTH]]
</CoordinateSystem>
</SupplementalSpatialContextInfo>
</FeatureSource>



***********************************

Providers:

<FeatureProviderRegistry>
-
    <FeatureProvider>
<Name>OSGeo.WMS.3.3</Name>
<DisplayName>OSGeo FDO Provider for WMS </DisplayName>
<Description>Read access to OGC WMS-based data store. </Description>
<Version>3.3.0.0</Version>
<FeatureDataObjectsVersion>3.3.0.0</FeatureDataObjectsVersion>
-
    <ConnectionProperties>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="true">
<Name>FeatureServer</Name>
<LocalizedName>FeatureServer </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>Username</Name>
<LocalizedName>Username </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>Password</Name>
<LocalizedName>Password </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>DefaultImageHeight</Name>
<LocalizedName>DefaultImageHeight </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
</ConnectionProperties>
</FeatureProvider>
-
    <FeatureProvider>
<Name>OSGeo.WFS.3.3</Name>
<DisplayName>OSGeo FDO Provider for WFS </DisplayName>
<Description>Read access to OGC WFS-based data store. </Description>
<Version>3.3.0.0</Version>
<FeatureDataObjectsVersion>3.3.0.0</FeatureDataObjectsVersion>
-
    <ConnectionProperties>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="true">
<Name>FeatureServer</Name>
<LocalizedName>FeatureServer </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>Username</Name>
<LocalizedName>Username </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>Password</Name>
<LocalizedName>Password </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
</ConnectionProperties>
</FeatureProvider>
-
    <FeatureProvider>
<Name>OSGeo.SHP.3.3</Name>
<DisplayName>OSGeo FDO Provider for SHP </DisplayName>
-
    <Description>
Read/write access to spatial and attribute data in an ESRI SHP file.
</Description>
<Version>3.3.0.0</Version>
<FeatureDataObjectsVersion>3.3.0.0</FeatureDataObjectsVersion>
-
    <ConnectionProperties>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>DefaultFileLocation</Name>
<LocalizedName>DefaultFileLocation </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>TemporaryFileLocation</Name>
<LocalizedName>TemporaryFileLocation </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
</ConnectionProperties>
</FeatureProvider>
-
    <FeatureProvider>
<Name>OSGeo.SDF.3.3</Name>
<DisplayName>OSGeo FDO Provider for SDF </DisplayName>
-
    <Description>
Read/write access to Autodesk's spatial database format, a file-based 
personal geodatabase that supports multiple features/attributes, spatial 
indexing, and file-locking.
</Description>
<Version>3.3.0.0</Version>
<FeatureDataObjectsVersion>3.3.0.0</FeatureDataObjectsVersion>
-
    <ConnectionProperties>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="true">
<Name>File</Name>
<LocalizedName>File </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="true" Protected="false" 
Required="false">
<Name>ReadOnly</Name>
<LocalizedName>ReadOnly </LocalizedName>
<DefaultValue>TRUE</DefaultValue>
<Value>FALSE</Value>
<Value>TRUE</Value>
</ConnectionProperty>
</ConnectionProperties>
</FeatureProvider>
-
    <FeatureProvider>
<Name>OSGeo.ODBC.3.3</Name>
<DisplayName>OSGeo FDO Provider for ODBC </DisplayName>
-
    <Description>
Read/write access to ODBC-based data store. Supports XYZ point features.
</Description>
<Version>3.3.0.0</Version>
<FeatureDataObjectsVersion>3.3.0.0</FeatureDataObjectsVersion>
-
    <ConnectionProperties>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>UserId</Name>
<LocalizedName>UserId </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="true" 
Required="false">
<Name>Password</Name>
<LocalizedName>Password </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="true" Protected="false" 
Required="false">
<Name>DataSourceName</Name>
<LocalizedName>DataSourceName </LocalizedName>
<DefaultValue/>
<Value>MQIS</Value>
<Value>Visual FoxPro Tables</Value>
<Value>Visual FoxPro Database</Value>
<Value>PBServer</Value>
<Value>ICQSDB</Value>
<Value>GEMTEC_ICQDatabase</Value>
<Value>chemistry</Value>
<Value>knowledge_base</Value>
<Value>computer_database</Value>
<Value>gemtec_database</Value>
<Value>LandfillChem</Value>
<Value>gemtec_database_SQL</Value>
<Value>ITAssist</Value>
<Value>dot_demo</Value>
<Value>WJADB</Value>
<Value>computer_database_sql</Value>
<Value>MDaemon</Value>
<Value>Pipeline</Value>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>ConnectionString</Name>
<LocalizedName>ConnectionString </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>GenerateDefaultGeometryProperty</Name>
<LocalizedName>GenerateDefaultGeometryProperty </LocalizedName>
<DefaultValue>true</DefaultValue>
</ConnectionProperty>
</ConnectionProperties>
</FeatureProvider>
-
    <FeatureProvider>
<Name>OSGeo.MySQL.3.3</Name>
<DisplayName>OSGeo FDO Provider for MySQL </DisplayName>
-
    <Description>
Read/write access to MySQL-based data store. Supports spatial data types 
and spatial query operations.
</Description>
<Version>3.3.0.0</Version>
<FeatureDataObjectsVersion>3.3.0.0</FeatureDataObjectsVersion>
-
    <ConnectionProperties>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="true">
<Name>Username</Name>
<LocalizedName>Username </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="true" Required="true">
<Name>Password</Name>
<LocalizedName>Password </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="true">
<Name>Service</Name>
<LocalizedName>Service </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="true" Protected="false" 
Required="false">
<Name>DataStore</Name>
<LocalizedName>DataStore </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
</ConnectionProperties>
</FeatureProvider>
-
    <FeatureProvider>
<Name>OSGeo.Gdal.3.3</Name>
<DisplayName>OSGeo FDO Provider for Raster</DisplayName>
-
    <Description>
Read access to various raster-based file formats. Supports georeferenced 
file-based raster images.
</Description>
<Version>3.3.0.0</Version>
<FeatureDataObjectsVersion>3.3.0.0</FeatureDataObjectsVersion>
-
    <ConnectionProperties>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="false">
<Name>DefaultRasterFileLocation</Name>
<LocalizedName>DefaultRasterFileLocation</LocalizedName>
<DefaultValue/>
</ConnectionProperty>
</ConnectionProperties>
</FeatureProvider>
-
    <FeatureProvider>
<Name>OSGeo.ArcSDE.3.3</Name>
<DisplayName>OSGeo FDO Provider for ArcSDE </DisplayName>
-
    <Description>
Read/write access to an ESRI ArcSDE-based data store, using Oracle and 
SQL Server.
</Description>
<Version>3.3.0.0</Version>
<FeatureDataObjectsVersion>3.3.0.0</FeatureDataObjectsVersion>
-
    <ConnectionProperties>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="true">
<Name>Server</Name>
<LocalizedName>Server </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="true">
<Name>Instance</Name>
<LocalizedName>Instance </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="false" 
Required="true">
<Name>Username</Name>
<LocalizedName>Username </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="false" Protected="true" Required="true">
<Name>Password</Name>
<LocalizedName>Password </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
-
    <ConnectionProperty Enumerable="true" Protected="false" 
Required="false">
<Name>Datastore</Name>
<LocalizedName>Datastore </LocalizedName>
<DefaultValue/>
</ConnectionProperty>
</ConnectionProperties>
</FeatureProvider>
</FeatureProviderRegistry>


Jason Birch wrote:
>
> That's truly bizarre; this should not depend on whether you're using 
> .sid files or not.  Are these layers that you created with an earlier 
> version of MapGuide?
>
>  
>
> I'd be interested in seeing the results of GetResourceContent for one 
> of the misbehaving feature sources
>
>  
>
> http://localhost/mapguide/mapagent/getresourcecontentform.html
>
>  
>
> as well as the contents of your providers.xml or the results of this call:
>
>  
>
> http://localhost/mapguide/mapagent/getfeatureprovidersform.html
>
>  
>
> My guess would have been that something isn't quite right (location of 
> the MrSID dlls or something) but the error message doesn't seem right 
> for that.
>
>  
>
> Jason
>
>  
>
>  
>
> *From:* Andrew DeMerchant
> *Subject:* Re: [mapguide-users] MGOS 2.0 - mrsid problem...
>
>  
>
> Jason: Yes, I followed those instructions...I've turned on debugging 
> for mgos and checked out the error.log - what looks to be my problem 
> is that it thinks the fdo isn't registered. I get "FDO Provider Not 
> Registered" for each mrsid layer. I've looked in Nabble to see if I 
> could find a solution, but no luck. Lots of people with that same 
> problem (some for the Raster FDO, some for others), but no one ever 
> posted a solution. Again, my other rasters are working (jpg, tiff), 
> just not mrsid.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>   

-- 
	*Andrew DeMerchant*
*Computer Technologist*
ph.1-877-2GEMTEC x.163
fax 506-453-9470

/GEMTEC Limited <http://www.gemtec.ca>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6

-------------- next part --------------
Skipped content of type multipart/related


More information about the mapguide-users mailing list