<div>Hi,</div>  <div>&nbsp;I think that there is no problem with the OGR Provider(3.2.2) but the problem is with your original dataset(*.shp File)&nbsp;, i think you should check the Topology of the Shape file(Polygons).</div>  <div>&nbsp;</div>  <div>Cheers</div>  <div>Max !!<BR><BR><B><I>Dhirendra Kumar &lt;dhirendra.mgos@gmail.com&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"><BR>Hi Kenneth,<BR><BR>I want your help once agian, Both are using same OGR provider (3.2.2) but<BR>you have not any problem, So i want know you are using which version of<BR>MGOS and OGR Provider. In Earlier reply you mentioned some OGR version have<BR>problem, So tell me which verion is better and working fine with which<BR>version of MGOS. Please help me. I am waiting for your replay. Thankyou in<BR>Advance.<BR><BR>Regards,<BR>Dhirendra Kumar<BR><BR><BR>Kenneth, GEOGRAF A/S wrote:<BR>&gt; <BR>&gt; I'm sorry, but I
 never had that problem with OGR,<BR>&gt; and I have no idea what may be causing it.<BR>&gt; <BR>&gt; Regards, Kenneth, GEOGRAF A/S<BR>&gt; <BR>&gt; <BR>&gt; <BR>&gt; Dhirendra Kumar skrev:<BR>&gt;&gt; Hi Kenneth,<BR>&gt;&gt;<BR>&gt;&gt; Now i established connection with OGR provider and MGOS1.2.0RC2, i can<BR>&gt;&gt; make<BR>&gt;&gt; layer also Performance is good. but when i select any polygon then<BR>&gt;&gt; polygon<BR>&gt;&gt; not get selected. I established connection using OGR provider<BR>&gt;&gt; (OGRProvider-3.2.2.win32.zip). Kenneth please help me once agian.<BR>&gt;&gt; Thankyou<BR>&gt;&gt; in Advance<BR>&gt;&gt;<BR>&gt;&gt; Regards,<BR>&gt;&gt; Dhirendra Kumar<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; Kenneth, GEOGRAF A/S wrote:<BR>&gt;&gt; <BR>&gt;&gt;&gt; I have no experience with the PostGIS provider.<BR>&gt;&gt;&gt; I had no delays using OGR for PostGIS data.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Regards Kenneth, GEOGRAF
 A/S<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Dhirendra Kumar skrev:<BR>&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt; Hi Kenneth,<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; I make layer using PostGIS provider not OGR Provider. No problems with<BR>&gt;&gt;&gt;&gt; tooltips, it is working fine. only problem with polygon selection<BR>&gt;&gt;&gt;&gt; taking<BR>&gt;&gt;&gt;&gt; 4<BR>&gt;&gt;&gt;&gt; second to highlight. OGR Provider can solve this problem ? Yes Kenneth<BR>&gt;&gt;&gt;&gt; before displaying layer or map server use 100% CPU and before tool tips<BR>&gt;&gt;&gt;&gt; displaying server use 10-20% CPU. Any way to overcome this problem ?<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Regards,<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Dhirendra kumar<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; Kenneth, GEOGRAF A/S wrote:<BR>&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt; I recall that there was a problem with selection/info in some
 version<BR>&gt;&gt;&gt;&gt;&gt; of <BR>&gt;&gt;&gt;&gt;&gt; the OGR.<BR>&gt;&gt;&gt;&gt;&gt; What version of the OGR provider do you use?<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; Does your server use 100% CPU before displaying?<BR>&gt;&gt;&gt;&gt;&gt; Is the problem the same with tooltip's ?<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; Regards, Kenneth, GEOGRAF A/S<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; Dhirendra Kumar skrev:<BR>&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt; Hi Kenneth,<BR>&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt; Once again i am asking qustion to you about Postgres/PostGIS, Kenneth<BR>&gt;&gt;&gt;&gt;&gt;&gt; I<BR>&gt;&gt;&gt;&gt;&gt;&gt; import table in PostGIS database using shp2pgsql tool. I can create<BR>&gt;&gt;&gt;&gt;&gt;&gt; Layers<BR>&gt;&gt;&gt;&gt;&gt;&gt; from PostGIs Database. But when i select any polygon then polygon<BR>&gt;&gt;&gt;&gt;&gt;&gt;
 highlight<BR>&gt;&gt;&gt;&gt;&gt;&gt; after 4 second, So can i increase performence of polygon selection ?<BR>&gt;&gt;&gt;&gt;&gt;&gt; 300<BR>&gt;&gt;&gt;&gt;&gt;&gt; polygon on current layer. I also provide index but problem is still<BR>&gt;&gt;&gt;&gt;&gt;&gt; same.<BR>&gt;&gt;&gt;&gt;&gt;&gt; Any thing wrong in my process ? Please help me.<BR>&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt; Regards,<BR>&gt;&gt;&gt;&gt;&gt;&gt; Dhirendra Kumar<BR>&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt; Kenneth, GEOGRAF A/S wrote:<BR>&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; As someone else mentioned, the selection problem is a known bug in<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; the <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; MySQL provider.<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; You have the following options:<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; 1. Wait until someone fixes the problem.<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2.
 Download source and fix it yourself (or perhaps pay someone to do<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; it)<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; 3. Use another provider<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; If you MUST use a "real" database, I can only suggest Oracle (you<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; have <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; tried the others).<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; Are there any reason that you cannot use SDF files?<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; Regards, Kenneth, GEOGRAF A/S<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; Dhirendra Kumar skrev:<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hi All,<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Sorry for repeating this qustion. I tested MS SQL server,
 MySQL,<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Postgresql/postGIS and i got result MySQL performance is better in<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; compare<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; of all, but problem in polygon selection. I want to know that, no<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; way<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; to<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; solve this polygon selection problem ? :(<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; PROBLEM:- When i select some polygon then near polygon get<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; highlighted<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; in<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; place of current selection.<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If anyone have idea or suggestion then please help me. Thankyou in<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Advance.<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Regards,<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Dhirendra
 Kumar<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; mapguide-users mailing list<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; mapguide-users@lists.osgeo.org<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt;&gt;&gt; mapguide-users mailing list<BR>&gt;&gt;&gt;&gt;&gt; mapguide-users@lists.osgeo.org<BR>&gt;&gt;&gt;&gt;&gt;
 http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt;&gt; <BR>&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt; mapguide-users mailing list<BR>&gt;&gt;&gt; mapguide-users@lists.osgeo.org<BR>&gt;&gt;&gt; http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; <BR>&gt;&gt;<BR>&gt;&gt; <BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; mapguide-users mailing list<BR>&gt; mapguide-users@lists.osgeo.org<BR>&gt; http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR>&gt; <BR>&gt; <BR><BR>-- <BR>View this message in context: http://www.nabble.com/Solve-problem-MySQL-Polygon-Selection-tf4170008s16610.html#a11994528<BR>Sent from the MapGuide Users mailing list archive at
 Nabble.com.<BR><BR>_______________________________________________<BR>mapguide-users mailing list<BR>mapguide-users@lists.osgeo.org<BR>http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR></BLOCKQUOTE><BR><p>&#32;
      <hr size=1>Building a website is a piece of cake. <br>Yahoo! Small Business gives you <a href="http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS">all the tools to get online.</a>