[mapserver-users] Adding points to existing shapefile

Steve Lime steve.lime at dnr.state.mn.us
Thu Apr 11 13:25:57 EDT 2002


The CGI (mapserv) program has no facilities for adding data to a
shapefile. It's a display/query tool only. You'll have to use mapscript
or some other tool to append/edit a shapefile. You can pass information
to a script in a similar manner as you've done with mapserv, but since
you have full reign on what that script does you can invent variables as
necessary to pass the data.

Steve

>>> Robert Crossley <robert at wotzhere.com> 04/11/02 01:18AM >>>
Hi all,

I am now trying to add a point and data to an existing shapefile.

The archives suggest this can be achieved using perl or php using the
shapeobj

I am getting the point location and data from an ActiveX control, not
from the browser itself.
I can probably raise an event that will allow me to interact with
MapServer as I have done
to produce a querymap using CGI calls, but am unsure of how to deal
with it.  (very new at this whole
browser Active X thing).

The CGI mapscript does not have the shapeobj as a class, so what are my
options to achive this? 

Is there a way of interacting with Mapserver that I am missing?

R


Robert Crossley 
Robert Crossley & Associates
9 Short St
New Brighton NSW 2483
AUSTRALIA

P: 02 6680 1309
F: New Connection
M: 0419 718 642
E: robert at wotzhere.com 






More information about the mapserver-users mailing list