[ka-Map-users] XMLOverlay remove points

Pg pg.navone at gmail.com
Mon Jun 12 05:12:25 EDT 2006


You have to use the <remove> tag.
If you want to remove all points, just omit the ID attribute:

<remove/>

BTW: in the CVS version there is a bug in the function that removes
points. Look on the list  for the fix or wait a few days for a new CVS
version.



2006/6/12, Stéphane RIFF <stephane.riff at cerene.fr>:
> Hi,
>
> I use xmloverlay to display some postgis gps positions and now I want to
> filter them on some attribute.
> So I execute my query and write a nex xml document with the points I
> wants. The problem is
> when I do myXMLOverlay.loadxml("myXMLFile.xml"), it didn't remove the
> others points.
> The only way I can do that is to had some <delete> tag in my xml file.
>
> My question is : Is there a way to achieve this without <delete> tag or
> do I have to know always which
> points I want to remove ?
>
> Thanks
> Steff
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>



More information about the ka-Map-users mailing list