<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
You can try the OGR provider, which also supports MySQL.<br>
I am positive that the BBOX problem is solved there, but I am unsure
about the performance aspect.<br>
There may be other hidden problems, but it might be easier than
migrating data.<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
Dave Wilson skrev:
<blockquote
 cite="mid:53C1C94B2F19CD408BFA392599EAF8E22513487C22@ADSK-NAMSG-02.MGDADSK.autodesk.com"
 type="cite">
  <pre wrap="">If you are using MGOS 2.0 then you can theme on the joined columns. You can't in the 1.2 version. A join between an SHP and a table in MySQL should work in 2.0 and allow selection since the selection is based on the SHP. The searching should also work on the join since theming and searching are both filters.

The selection problem is specific to MySQL so having all your data in MySQL won't work.

Dave

-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a> [<a class="moz-txt-link-freetext" href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>] On Behalf Of Krunoslav
Sent: Wednesday, April 16, 2008 12:21 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
Subject: RE: [mapguide-users] Precision when selecting polygons




Dave Wilson-3 wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">MySQL only does Envelope operations.

For example when selecting MapGuide might do an Intersect spatial
operation; however, MySQL (at least version 5 and earlier) only does
Envelope Intersects so you won't always get the results you expect
depending on how the polygons sit next to each other.

This is a known issue with MySQL. I'm not sure if they have resolved this
in later versions.


    </pre>
  </blockquote>
  <pre wrap=""><!---->
Thank you for your answer. Since I have all data in mysql tables, I created
new Geometry column, converted my SHP to mysql with shp2mysql tool, so I
have everything in same table.

It seemed perfect, but obviously it won't work this way.

Since I have to use styling which is related to property in one column, I
also tried to use SHP &lt;-&gt; MySQL join, without geometry data in mysql. I can
get properties from mysql table, but layer isn't themed, I don't know why,
all parcels are the same color, even if mapguide studio can "pull"
properties from the table.

Same procedure works fine when everything (converted SHP) is in mysql, but
there is problem as mentioned above.

So, is there any solution for this or should I give up from using mysql?

Anyway, before starting on a project:
I have few shp files and data tables in Excel (which I can easely convert to
mysql tables). What would you recommend for next things to work?

1. Properly selecting polygons
2. Searching (regarding to some property from table)
3. Themes (also regarding to one column in table).

What database to use and how to join  this together?

Sorry for my bad english and thank you in advance.
--
View this message in context: <a class="moz-txt-link-freetext" href="http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16728445.html">http://www.nabble.com/Precision-when-selecting-polygons-tp16718926s16610p16728445.html</a>
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
  </pre>
</blockquote>
</body>
</html>