[mapguide-trac] #968: Preview FeatureSource depends on Aggregates

MapGuide Open Source trac_mapguide at osgeo.org
Tue Apr 21 03:25:14 EDT 2009


#968: Preview FeatureSource depends on Aggregates
-------------------------------------------------+--------------------------
 Reporter:  ksgeograf                            |         Owner:       
     Type:  defect                               |        Status:  new  
 Priority:  low                                  |     Milestone:       
Component:  General                              |       Version:  2.1.0
 Severity:  trivial                              |    Resolution:       
 Keywords:  preview viewer aggregate OGR extent  |   External_id:       
-------------------------------------------------+--------------------------
Comment (by ksgeograf):

 Odd results, I tried it on a .TAB file, and got back a result (see below).

 I see the fallback in showgeom.php, but it does not work because the
 operation throws an exception. I will attach a patch.

 {{{
 <?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.OGR.3.4</ProviderName>
   <SpatialContext IsActive="true">
     <Name>Brugsgraense</Name>
     <Description />
 <CoordinateSystemName>PROJCS["unnamed",GEOGCS["unnamed",DATUM["Euref_98",SPHEROID["GRS
 80",6378137,298.257222101],TOWGS84[0,0,0,-0,-0,-0,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1.0]]</CoordinateSystemName>
 <CoordinateSystemWkt>PROJCS["unnamed",GEOGCS["unnamed",DATUM["Euref_98",SPHEROID["GRS
 80",6378137,298.257222101],TOWGS84[0,0,0,-0,-0,-0,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1.0]]</CoordinateSystemWkt>
     <ExtentType>Dynamic</ExtentType>
     <Extent>
       <LowerLeftCoordinate>
         <X>678681.08834935876</X>
         <Y>6178990.4343695538</Y>
       </LowerLeftCoordinate>
       <UpperRightCoordinate>
         <X>702478.16620384331</X>
         <Y>6202927.0221463479</Y>
       </UpperRightCoordinate>
     </Extent>
     <XYTolerance>0</XYTolerance>
     <ZTolerance>0</ZTolerance>
   </SpatialContext>
 </FdoSpatialContextList>
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/968#comment:3>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list