Opened 15 years ago

Closed 11 years ago

#1121 closed defect (wontfix)

MrSID images fail to display in MapGuide 2.1

Reported by: Martin Morrison Owned by:
Priority: high Milestone:
Component: Rendering Service Version: 2.1.0
Severity: blocker Keywords:
Cc: External ID:

Description

MrSID images fail to display in MapGuide 2.1 I have a 2.02 site up that displays the MrSID perfectly. Using the same install procedure against 2.1 fails to display an image.

I have also followed the directions posted by Jason Birch in

http://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg10886.html

Specific version details are MG 2.1 on Apache (using the bundled install),GDAL 3.4. The MrSID files are in the same coordinate system as the map.

After loading the MrSID dll'd, if run the server from the command line, I get errors that reference the ECW dlls. If I load the ECW dlls, the errors go away but the map still does not display the MrSID files. The map does take an extraordinary amount of time to display though.

Change History (4)

comment:1 by Martin Morrison, 15 years ago

Thanks to Jonathon McIntyre for doing some research/testing.

It turns out that the DLLs need to be in a different directory in 2.1 (server/bin) vs 2.02 (server/FDO). Why the change? The other part of the issue is msvcp71.dll and msvcr71.dll are expected in the same directory. Since these two files are redistributable can we include them with the release?

comment:2 by Martin Morrison, 15 years ago

On a clean install of 2.1 final you also have to copy in geotiff.dll,libtiff.dll and zlib_osgeo.dll

comment:3 by djonio, 15 years ago

Additional XML data from functioning MGOS 2.0.2 server and XML from failing MGOS 2.1 server. Same MrSID file. MrSID download instructions sent to Jason Burch.

##### MAPGUIDE ERROR LOG: <2009-12-05T16:37:03> 5816

Success: Server stopped.

<2009-12-05T16:42:14> 852

Success: Server started.

<2009-12-05T17:13:23> 5652 Ajax Viewer 10.14.X.XX Administrator

Error: Failed to stylize layer: Aerial2008SP

The coordinate system initialization failed. Could not initialize the geodetic transformation.

StackTrace:

##### MAPGUIDE server runtime w/CPL_DEBUG: C:\Program Files\OSGeo\MapGuide\Server\bin>mgserver run Running the server interactively as an application instead of as a service. (852) Server starting... (852) Mentor Coordinate System Library (852) Server started. GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_ECW_JP2ECW.dll using GDALRegister_ECW_JP2ECW. GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_MrSID.dll using GDALRegister_MrSID. GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_ECW_JP2ECW.dll using GDALRegister_ECW_JP2ECW. GDAL: Auto register C:\Program Files\OSGeo\MapGuide\Server\bin\gdalplugins\gdal_MrSID.dll using GDALRegister_MrSID.

##### XML from MGOS 2.0.2 - FdoSpatialContextList <?xml version="1.0"?> <FdoSpatialContextList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="FdoSpatialContextList-1.0.0.xsd">

<ProviderName>OSGeo.Gdal.3.3</ProviderName> <SpatialContext IsActive="true">

<Name>NAD83(HARN) / Florida East (ftUS)</Name> <Description>This coordinate system has been overridden.</Description> <CoordinateSystemName>PROJCS["FL83-EF",GEOGCS["LL83",DATUM["NAD83",SPHEROID["GRS1980",6378137.000,298.25722210]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTIONTransverse_Mercator,PARAMETER["false_easting",656166.667],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999941176471],PARAMETER["central_meridian",-81.00000000000000],PARAMETER["latitude_of_origin",24.33333333333333],UNIT["Foot_US",0.30480060960122]]</CoordinateSystemName> <CoordinateSystemWkt>PROJCS["FL83-EF",GEOGCS["LL83",DATUM["NAD83",SPHEROID["GRS1980",6378137.000,298.25722210]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTIONTransverse_Mercator,PARAMETER["false_easting",656166.667],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999941176471],PARAMETER["central_meridian",-81.00000000000000],PARAMETER["latitude_of_origin",24.33333333333333],UNIT["Foot_US",0.30480060960122]]</CoordinateSystemWkt> <ExtentType>Dynamic</ExtentType> <Extent>

<LowerLeftCoordinate>

<X>877070.59535700001</X> <Y>524581.66131</Y>

</LowerLeftCoordinate> <UpperRightCoordinate>

<X>902690.59535700001</X> <Y>539301.66131</Y>

</UpperRightCoordinate>

</Extent> <XYTolerance>0</XYTolerance> <ZTolerance>0</ZTolerance>

</SpatialContext>

</FdoSpatialContextList>

##### XML from MGOS 2.0.2 - FeatureSource <?xml version="1.0" encoding="utf-8"?> <FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">

<Provider>OSGeo.Gdal</Provider> <Parameter>

<Name>DefaultRasterFileLocation</Name> <Value> C:\OSGeoData\MIA\Aerial200SP </Value>

</Parameter> <SupplementalSpatialContextInfo>

<Name>NAD83(HARN) / Florida East (ftUS)</Name> <CoordinateSystem>PROJCS["FL83-EF",GEOGCS["LL83",DATUM["NAD83",SPHEROID["GRS1980",6378137.000,298.25722210]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTIONTransverse_Mercator,PARAMETER["false_easting",656166.667],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999941176471],PARAMETER["central_meridian",-81.00000000000000],PARAMETER["latitude_of_origin",24.33333333333333],UNIT["Foot_US",0.30480060960122]]</CoordinateSystem>

</SupplementalSpatialContextInfo>

</FeatureSource>

##### XML from MGOS 2.1 - FdoSpatialContextList <?xml version="1.0"?> <FdoSpatialContextList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="FdoSpatialContextList-1.0.0.xsd">

<ProviderName>OSGeo.Gdal.3.4</ProviderName> <SpatialContext IsActive="true">

<Name>Default</Name> <Description>System generated default FDO Spatial Context</Description> <CoordinateSystemName>Default</CoordinateSystemName> <CoordinateSystemWkt>LOCAL_CS["*XY-MT*",LOCAL_DATUM["*X-Y*",10000],UNIT["Meter", 1],AXIS["X",EAST],AXIS["Y",NORTH]]</CoordinateSystemWkt> <ExtentType>Static</ExtentType> <Extent>

<LowerLeftCoordinate>

<X>-10000000</X> <Y>-10000000</Y>

</LowerLeftCoordinate> <UpperRightCoordinate>

<X>10000000</X> <Y>10000000</Y>

</UpperRightCoordinate>

</Extent> <XYTolerance>0.001</XYTolerance> <ZTolerance>0.001</ZTolerance>

</SpatialContext>

</FdoSpatialContextList>

##### XML from MGOS 2.1 - FeatureSource <?xml version="1.0" encoding="utf-8"?> <FeatureSource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:noNamespaceSchemaLocation="FeatureSource-1.0.0.xsd">

<Provider>OSGeo.Gdal</Provider> <Parameter>

<Name>DefaultRasterFileLocation</Name> <Value>C:\OSGeoData\MIA\Aerial200SP</Value>

</Parameter> <SupplementalSpatialContextInfo>

<Name>NAD83(HARN) / Florida East (ftUS)</Name> <CoordinateSystem>PROJCS["FL83-EF",GEOGCS["LL83",DATUM["NAD83",SPHEROID["GRS1980",6378137.000,298.25722210]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTIONTransverse_Mercator,PARAMETER["false_easting",656166.667],PARAMETER["false_northing",0.000],PARAMETER["scale_factor",0.999941176471],PARAMETER["central_meridian",-81.00000000000000],PARAMETER["latitude_of_origin",24.33333333333333],UNIT["Foot_US",0.30480060960122]]</CoordinateSystem>

</SupplementalSpatialContextInfo>

</FeatureSource>

comment:4 by jng, 11 years ago

Resolution: wontfix
Status: newclosed

Closing due to inactivity

Note: See TracTickets for help on using tickets.