[mapguide-trac] #230: Polygon features randomly appear and disappear

MapGuide Open Source trac_mapguide at osgeo.org
Tue Jul 24 10:17:03 EDT 2007


#230: Polygon features randomly appear and disappear
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:       
       Type:  defect   |      Status:  new  
   Priority:  high     |   Milestone:       
  Component:  General  |     Version:  1.2.0
   Severity:  blocker  |    Keywords:       
External_id:           |  
-----------------------+----------------------------------------------------
 There is this really strange bug where certain polygon features randomly
 appear and disappear as you pan around the map.[[BR]]

 I have attached a package with the suspect data in question. It
 contains:[[BR]]

 odbc.FeatureSource - Which contains a connection to an embedded ms access
 database.[[BR]]
 Plots.FeatureSource - A feature source that is joined to
 odbc.FeatureSource (1:1 left outer join)[[BR]]
 Plots.LayerDefinition - A layer using the original feature class in
 Plots.FeatureSource[[BR]]
 Status.LayerDefinition - A layer using the extended feature class in
 Plots.FeatureSource[[BR]]
 Test.MapDefinition - A map containing both layers.[[BR]]
 Test.WebLayout - The weblayout containing the map.[[BR]]

 Seeing the bug in action:[[BR]]
 -------------------------[[BR]]

 1) Open the map or web layout.[[BR]]
 2) Pan to the lower right region of the map.[[BR]]
 3) Activate the "Status" layer. You will see the themed objects.[[BR]]
 4) De-activate the "Plots" layer. Nothing should change because both
 layers reference the same feature source, left outer 1:1 join means that
 both layers should have the same number of features. If not, you are
 starting to see the bug in action.[[BR]]
 5) Pan around that region of the map, random objects from the layer
 "Status" will appear and disappear on each pan, regardless of the theme
 rules applied.[[BR]]

 Extra Notes:[[BR]]
 ------------[[BR]]

 Environment:[[BR]]
 - Windows XP SP2[[BR]]
 - MapGuide Open Source 1.2.0 RC2 w/ PHP web server extensions.[[BR]]


 - Plots.FeatureSource was originally an ESRI Shape file exported from
 Autodesk Map3D 2007 that was converted to Autodesk SDF in MapGuide Studio
 2008.[[BR]]
 - When I originally discovered this bug, the odbc data source was pointing
 to a SQL Server 2005 Express database. As I was able to reproduce this
 with an Access Database, I don't believe the external odbc data source has
 any factor.[[BR]]

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/230>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list