[mapserver-users] remove points that were added with addfeatu re

Puneet Kishor pkishor at GeoAnalytics.com
Tue Apr 30 13:08:17 PDT 2002


well, you can't really clear the features unless you redraw the map. And if
you are redrawing, just simply don't add those features again.

Every object has a destructor method like so "obj->free()";

hth.

> -----Original Message-----
> From: Debbie Pagurek [mailto:pagurekd at em.agr.ca]
> Sent: Tuesday, April 30, 2002 1:45 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [mapserver-users] remove points that were added with 
> addfeature
> 
> 
> Hi all,
> I have created an application that adds points to a map 
> "on-the-fly" from an oracle database of lat long coords.  I 
> used the mapscript "addfeature" to a "dummy layer" that was 
> set up in my map file.  Hoever, I need to know how to then 
> clear these added points from the layer, or make the layer 
> void or something like that.
> 
> Any ideas?
> 
> Thanks,
> D. Pagurek
> 



More information about the MapServer-users mailing list