[mapguide-users] MGOS 2.1 - One(1) good Two(2) bad

djonio DJonio at miami-airport.com
Sat Dec 5 18:08:03 EST 2009


All of the XML retrieval was done w/Maestro. It looks like you hit the nail
on the head Jason. The FdoSpatialContextList retrieval is hosed up for my
MrSIDS.  Since FDO and/or GDAL16 are not even close as to getting it correct
on the input side I cannot see how it is going to get right on the output
side.
I have included the XML from 2.0.2 and 2.1 below along w/the obvious server
stuff that seems to say GDAL is installed and configured correctly ... sucks
to be me  :-(
r,
dennis

#####                                           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:
  - MgMappingUtil.StylizeLayers() line 776 file
c:\osgeo\mapguide_21\mgdev\server\src\services\mapping\MappingUtil.cpp	


#####                                          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]],PROJECTION["Transverse_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]],PROJECTION["Transverse_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]],PROJECTION["Transverse_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]],PROJECTION["Transverse_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>

-- 
View this message in context: http://n2.nabble.com/MGOS-2-1-One-1-good-Two-2-bad-tp4114766p4119526.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list