[mapguide-users] Problem with MrSid in Maestro(1.1) - Mapguide 2.1
HABC
chiajhu at hotmail.com
Tue Nov 10 20:39:03 EST 2009
Thanks for all the responses. I did try everything that i know/can find and I
also tried to manually set up the config.xml but still with no luck. I hope
this is just a bug and hopefully it will be fixed in the final 2.1 release.
Here is config.xml i manually created.
<?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>1390000 556000</gml:pos>
<gml:pos>1448000 623000</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="\\Atimagesvr\e$\GeoData\imagery\Sid\">
<Feature name="BR264">
<Band name="RGB" number="1">
<Image name="BR264.sid" frame="1">
<Bounds>
<MinX>1393000</MinX>
<MinY>621000</MinY>
<MaxX>1396000</MaxX>
<MaxY>623000</MaxY>
</Bounds></Image>
</Band>
</Feature>
</Location>
</RasterDefinition>
</complexType>
</SchemaMapping>
</fdo:DataStore>
Thanks, everyone.
Jason Birch wrote:
>
> ECW and MrSID are not supported by default in MGOS, primarily due to
> licensing restrictions. We could probably bundle the MrSID DLLs from my
> reading of the license, but there is a certain degree of risk that would
> be
> involved and we'd probably want to get a legal opinion first.
>
> I documented some steps to add ECW and MrSID support to MapGuide, but
> people
> have been having mixed luck with this:
>
> http://n2.nabble.com/ECWs-and-MG-2-1-tp2978248p2978703.html
>
> Jason
>
> 2009/11/9 Dejan Gregor <dejan.gregor at gmail.com>
>
>> Dear Kenneth and HABC,
>>
>> is MrSID really supported my MGOS 2.1 out of the box by the GDAL provider
>> that comes with the installation? Personally, I was not able to run it.
>>
>> HABC, which provider do you use for MrSID? How did you implementi it to
>> MGOS 2.1?
>>
>> Dejan
>>
>>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://n2.nabble.com/Problem-with-MrSid-in-Maestro-1-1-Mapguide-2-1-tp3964578p3983792.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list