[mapguide-users] Insert Order In MySql Affect to theMapGuideSelection?

Jason Birch Jason.Birch at nanaimo.ca
Thu Nov 29 16:38:22 EST 2007


The bounding box operations would explain why you are getting a polygon
selected even when you click outside of its boundary.  Read the note at
the top of this page if you would like to confirm that this is indeed
MySQL's behaviour: http://tinyurl.com/2mk9aa
 
I'm not a heavy MySQL user, but I'm pretty sure that insertion order
affects the order that rows are returned in (unless you're explicitly
ordering them, and I am pretty sure that MapGuide does not).  If this is
the case, then in combination with #313 this might explain why you are
getting different polygons within the multipolygon selected?  Maybe I
don't understand the issue properly.
 
If this works with multipolygon SDF files with no issues though, it is
either a problem with MySQL itself, or a problem with the MySQL FDO
provider.  I would strongly encourage you to file a ticket on the FDO
Trac instance (instructions here:
http://trac.osgeo.org/fdo/wiki/SubmitTicket ).  For best results, please
include a description (preferably with small screenshots illustrating
the problem) and  include a mysqldump of the geometry that is causing
the problem to allow the developers to easily reproduce it.
 
Jason
 
________________________________

From: ary sucaya
Subject: Re: [mapguide-users] Insert Order In MySql Affect to
theMapGuideSelection?


http://trac.osgeo.org/mapguide/ticket/313
<http://trac.osgeo.org/mapguide/ticket/313>  is not what i'm seeing now.
That's another problem of multipolygon. What i don't understand is why
the sequence of records insertion affect MGOS select behaviour? If MySql
perform geometric operation only on their bounding box, then 'my
selection problem' will always happens even i change the sequence of
records insertion 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20071129/ffbc5e42/attachment.html


More information about the mapguide-users mailing list