[Mapserver-users] Displaying Table data from MySQL

bartvde at xs4all.nl bartvde at xs4all.nl
Tue Apr 6 03:14:12 EDT 2004


Hi,

you can also have a look at (this won't work with Mapserver 3.6 though):

http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?VirtualSpatialData

This way you can use the normal Mapserver label functionality on the
layer, see:

http://mapserver.gis.umn.edu/doc40/mapfile-reference.html#label

Best regards,
Bart

> Hi. I am a noob. And having spent several hours hunting through the
> mailing-list help, I was hoping that perhaps there may be someone with a
> concise answer/script.
>
> I have set up mapserver 3.6 on a Mac OS X (That¹s a mission!) with php
> MapScript.
>
> I have my shapefile for the places I want to display working fine.
>
> Now I want to display (as labels, and possible as imagemap?) from a mySQL
> db
> a list of names with lat / long coords stored as numbers.
>
> I am happy to go with either a dynamic solution, or have a periodic script
> generate the shapefile. I have tried a few of the current scripts on the
> list (and I am able to draw the point, but get very lost when it comes to
> adding in the Name that I want to display, and then displaying it as a
> label.)
>
> Thanks for your help,
> Cheers Mark Fennell
> Www.markfennell.com
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>




More information about the mapserver-users mailing list