[Mapserver-users] Mapserver and Databases MySQL ..

Lionel Bargeot l.bargeot at educagri.fr
Sun May 11 14:29:56 EDT 2003


Le dim 11/05/2003 à 14:45, John Morton a écrit :
> Hi,
Hi John,
> .. the data in the Db
> could contain latitude and longitude co-ords 
> within fields (say X,Y) ..
> 
> ..using Mapscript/ perl .. also Mapscript/PHP

This kind of questions come back regularly. You will find information in
the ML archive.
Particularly :
http://mapserver.gis.umn.edu/data2/wilma/mapserver-users/0303/msg00375.html

this is a sample code, where the goal is to create shapefile from an X/Y
postgresql points database. The language is PHP, where phpmapscript
extensions provide a way to create .shp, .shx and wher php-dbase module
provide a way to create a dbase file with all attributes you need
(label, labelsize, symbol, symbolsize, etc ....)

Regards,

Lionel
-- 
AgrogeomaTIC
CNERTA-ENESAD, 4 rue champs-prevois, batiment grand-champs, 21000 Dijon
03.80.77.28.49
http://stb.educagri.fr/cartosol/





More information about the mapserver-users mailing list