[mapguide-trac] #740: GETSPATIALCONTEXTS and GDAL Always Returns Default Extents

MapGuide Open Source trac_mapguide at osgeo.org
Sat Nov 1 07:06:21 EDT 2008


#740: GETSPATIALCONTEXTS and GDAL Always Returns Default Extents
-----------------------------+----------------------------------------------
 Reporter:  crispinatime     |         Owner:       
     Type:  defect           |        Status:  new  
 Priority:  medium           |     Milestone:  2.1  
Component:  Feature Service  |       Version:  2.0.2
 Severity:  major            |    Resolution:       
 Keywords:                   |   External_id:       
-----------------------------+----------------------------------------------
Comment (by ksgeograf):

 The "Refresh" button actually assigns the coordinate system overrides. It
 reads all the coordinate systems reported by the !FeatureSource, and then
 "overrides" them with the samme coordinate system. This gives the user a
 chance to examine what coordinate systems are being reported, with a very
 limited chance of trouble. The name "Refresh" is misleading in this
 context.

 I would think that the GDal provider would like the coordinate system to
 be the same as it reports, when creating the document. Your adjustment
 seems to assign a coordinate system override to the !FeatureSource.

 If you add your suggestions to the code, does it return the correct
 extents?

 If so, I would think that it would be safe to try first with the current
 code, and if invalid coordinates are detected, use your method. Perhaps it
 should do the same as the "Refresh" button, but perform it on the
 temporary !FeatureSource instead?

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


More information about the mapguide-trac mailing list