mapscript : changing features ´ information

Claudia Rodat claudia at RODAT.DE
Sat Aug 13 07:25:34 EDT 2005


Hi list,

I want to add/change/delete information on selected features of one layer.
Usually this could be achieved by marking the features using "querybypoint"
thus retrieving the feature-ID. This solution however always implies a
reload of the page.

I tried the following solution which is not really satisfactorily:
on click a symbol is created in a new <div> using javascript and the
coordinates are noted in a hidden field. If all designated features are
marked a doubleclick will end the session. After the reload a new layer is
generated by mapscript using the memorised coodinates and the readout
feature-IDs. In another window the list of attributes with their
information is displayed and can be edited.

I also thought about visualising the visible features by loading them in an
javascript array. But this way requires a lot of time when a great amount
of features or polygons is used.

Does anyone has a more improved solution ?
Any help would be appreciated.

Claudia



More information about the mapserver-users mailing list