<HTML><HEAD><TITLE>Re: [mapguide-users] RE: OGR and MGOS</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR></HEAD>
<BODY dir=ltr>
<DIV>&nbsp;</DIV>
<DIV>The selection problem you are describing is fixed in the latest available build of the OGR provider.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Traian</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> mapguide-users-bounces@lists.osgeo.org&nbsp;on behalf of&nbsp;Dhirendra Kumar <BR><B>Sent:</B> Thu 7/26/2007 3:24 AM <BR><B>To:</B> mapguide-users@lists.osgeo.org <BR><B>Cc:</B> <BR><B>Subject:</B> Re: [mapguide-users] RE: OGR and MGOS<BR><BR></FONT></DIV><BR>
<P><FONT size=2>Hi Rahul-2,<BR><BR>Are you sure that OGR 3.2 and MGOS 1.2.0 will work fine and provide<BR>connectivity with MySQL ? But MGOS 1.2.0 come with FDO 3.2.2.0 and OGR<BR>provider also available in version OGR 3.2.2, So for MySQL connectivity i'll<BR>have to reinstall FDO 3.2 with MGOS .1.2.0 ?. If you have any suggestion<BR>then please replay me. I can establish connection MGOS 1.1.0 with MySQL but<BR>problem in Layer polygon selection, when i select one polygon then another<BR>near polygon get highlighted and for this resion my project get stuck. So i<BR>am searching another FDO provider like postGIS or any good database that<BR>solve my problem. If you have any idea or suggestion then help me. Thankyou<BR>in Advance.<BR><BR>Regards,<BR><BR>Dhirendra kumar<BR><BR>Rahul-2 wrote:<BR>&gt;<BR>&gt; Hi ,<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I think you check your connection string ,it should be--<BR>&gt;&nbsp;&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp; POSTGIS<BR>&gt;&nbsp;&nbsp; DataSource -----PG: host=xxxx port=xxxx dbname=xxxx user= xxx<BR>&gt; password=xxx<BR>&gt;&nbsp;&nbsp; ReadOnly--------FALSE<BR>&gt;&nbsp;&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp; same kind of setting you can try for the MySQL.<BR>&gt;&nbsp;&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp; DataSource -----PG:dbname=xxxx,user=<BR>&gt; xxx,password=xxx,host=xxxx,port=xxxx<BR>&gt;&nbsp;&nbsp; ReadOnly--------FALSE<BR>&gt;&nbsp;&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp; I think OGR 3.2 doesn't work properly with MGOS 1.1 so try MGOS 1.2.0<BR>&gt; with FDO 3.2.0.<BR>&gt;&nbsp;&nbsp;&nbsp;<BR>&gt;&nbsp;&nbsp; Cheers<BR>&gt;&nbsp;&nbsp; Max !!<BR>&gt;<BR>&gt; nicholda &lt;nicholda@talgov.com&gt; wrote:<BR>&gt;&nbsp;&nbsp;<BR>&gt; I have not tried this with MySql. The problems that was experiencing were<BR>&gt; with PostGis. I resolved it by trying the different OGR's available. I<BR>&gt; have<BR>&gt; attached the one that I am currently using for PostGis. I hope this helps.<BR>&gt; Below is also the modifications that need to be made to the Providers.xml.<BR>&gt;<BR>&gt; David<BR>&gt;<BR>&gt;<BR>&gt; OSGeo.OGRProvider.3.2<BR>&gt; FDO Provider for OGR<BR>&gt; Access to OGR data sources<BR>&gt; False<BR>&gt; 3.2.0.0<BR>&gt; 3.2.0.0<BR>&gt;<BR>&gt; C:\Program<BR>&gt; Files\MapGuideOpenSource\Server\Bin\FDO\OGRProvider.dll<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; Dhirendra Kumar wrote:<BR>&gt;&gt;<BR>&gt;&gt; Hi Nicholda,<BR>&gt;&gt;<BR>&gt;&gt; I am also using MGOS 1.1 and Mapguide Studio 07, and OGR 3.2 and i can<BR>&gt;&gt; see<BR>&gt;&gt; Datasource and Readonly property, but i can't establish connection with<BR>&gt;&gt; MySQL Database. you have any idea about this then help me pls. i enter in<BR>&gt;&gt; connection string in datasource is<BR>&gt;&gt; MYSQL:westholland,user=root,password=psv9570,port=3306, but it is not<BR>&gt;&gt; working. help me.<BR>&gt;&gt;<BR>&gt;&gt; Regards,<BR>&gt;&gt; Dhirendra Kumar<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; nicholda wrote:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; I am also using MGOS 1.1 and Mapguide Studio 07 6.5. I get a successful<BR>&gt;&gt;&gt; connection, but when I try to create a new layer from Postgres. I get<BR>&gt;&gt;&gt; the attached error message.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Traian Stanev wrote:<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; I've seen that happen with some builds of the provider -- Studio does<BR>&gt;&gt;&gt;&gt; not display the connection properties. What version of MapGuide are you<BR>&gt;&gt;&gt;&gt; using?<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; -----Original Message-----<BR>&gt;&gt;&gt;&gt; From: mapguide-users-bounces@lists.osgeo.org<BR>&gt;&gt;&gt;&gt; [<A href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</A>] On Behalf Of Rahul<BR>&gt;&gt;&gt;&gt; Sent: Wednesday, May 16, 2007 3:05 AM<BR>&gt;&gt;&gt;&gt; To: MapGuide Users Mail List<BR>&gt;&gt;&gt;&gt; Subject: RE: [mapguide-users] OGR and MGOS<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt;&gt; mapguide-users mailing list<BR>&gt;&gt;&gt;&gt; mapguide-users@lists.osgeo.org<BR>&gt;&gt;&gt;&gt; <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>&gt;&gt;&gt;&gt; <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt;&gt; mapguide-users mailing list<BR>&gt;&gt;&gt;&gt; mapguide-users@lists.osgeo.org<BR>&gt;&gt;&gt;&gt; <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>&gt;&gt;&gt;&gt; <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt;&gt;<BR>&gt;&gt;&gt; <A href="http://www.nabble.com/file/p10663767/Error.JPG">http://www.nabble.com/file/p10663767/Error.JPG</A><BR>&gt;&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt; <A href="http://www.nabble.com/file/p11781363/OGRProvider.dll">http://www.nabble.com/file/p11781363/OGRProvider.dll</A> OGRProvider.dll<BR>&gt; --<BR>&gt; View this message in context:<BR>&gt; <A href="http://www.nabble.com/OGR-and-MGOS-tf3728865s16610.html#a11781363">http://www.nabble.com/OGR-and-MGOS-tf3728865s16610.html#a11781363</A><BR>&gt; Sent from the MapGuide Users mailing list archive at Nabble.com.<BR>&gt;<BR>&gt; _______________________________________________<BR>&gt; mapguide-users mailing list<BR>&gt; mapguide-users@lists.osgeo.org<BR>&gt; <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>&gt;<BR>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&gt; ---------------------------------<BR>&gt; Be a better Heartthrob. Get better relationship answers from someone who<BR>&gt; knows.<BR>&gt; Yahoo! Answers - Check it out.<BR>&gt; _______________________________________________<BR>&gt; mapguide-users mailing list<BR>&gt; mapguide-users@lists.osgeo.org<BR>&gt; <A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR>&gt;<BR>&gt;<BR><BR>--<BR>View this message in context: <A href="http://www.nabble.com/OGR-and-MGOS-tf3728865s16610.html#a11805486">http://www.nabble.com/OGR-and-MGOS-tf3728865s16610.html#a11805486</A><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><A href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</A><BR></FONT></P></BLOCKQUOTE></BODY></HTML>