[mapserver-users] MapServer: Add Points on the fly

Lowell Filak lfilak at medinaco.org
Fri Aug 30 06:11:43 PDT 2002


Using Mapscript you can record a mouse click on the map image (same as with a zoom operation) and use the coordinates of the mouse click to create a point shape and additionally add data to a dbf file for the shape. The tcounts.pl example in the wiki has example code that creates both point shapes and adds them to a shapefile and also adds dbf records for each point.
HTH
Lowell F.

The following message was sent by "Pradeep" <pradeepkumar at infotech.stph.net> on Fri, 30 Aug 2002 10:05:04 +0530.

> Hello
> 	We are building a sample application using Maserver, we have a
> requirement
> in which we are supposed to add user defined points on the map that are
> ultimately written to the data base or the shape files, I wish to know if we
> can dynamically add points information to the map from the front end. If so
> can any one help me with getting started, through some examples, or some
> guidance for which I will be very grateful...
> Thank You
> Pradeep




More information about the MapServer-users mailing list