[mapserver-users] Mapserver with mygis question

Marcos Nogueira nomarcos at gmail.com
Mon Aug 3 17:56:41 EDT 2009


Thank you Daniel, I'll check them out.
Marcos

On Mon, Aug 3, 2009 at 9:53 AM, Daniel Morissette
<dmorissette at mapgears.com>wrote:

> Marcos Nogueira wrote:
>
>>
>> But now I am working in an application that necessarily uses MySQL. Doing
>> my research I crossed with mygis.
>>
>> But when I execute the mapserv -v I don't see  "input=mygis".
>>
>> Is there a way to compile/add mygis with/to MS4W??
>>
>> If not with MS4W... how can I do it ??
>>
>>
>
> MyGIS is not the same as MySQL's spatial extension. It was a custom way to
> handle geometries in a MySQL database that was implemented specifically for
> MapServer and was not used anywhere else if I'm not mistaken.
>
> Anyway, the MyGIS driver is no longer being supported in MapServer, so it
> would be a bad idea to base any new application on it.
>
> You should instead consider using an OGR connection to connect to your
> MySQL database. I'm not sure how complete the OGR driver is, but that would
> be a much better bet than MyGIS:
>
>  http://www.gdal.org/ogr/drv_mysql.html
>
> Another option if all you have is point data (no lines or polygons) would
> be to use OGR with a .ovf file. More info about this option here:
>
>  http://mapserver.org/input/vector/mysql.html
>
> Daniel
> --
> Daniel Morissette
> http://www.mapgears.com/
>



-- 
"Saber o que é certo e não fazê-lo é a pior covardia."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090803/f5e9914a/attachment.html


More information about the mapserver-users mailing list