Deleting from a shapefile

Tamas Szekeres szekerest at GMAIL.COM
Tue Aug 1 14:13:53 PDT 2006


Antonio,

AFAIK, deleting shapes from the file would not be so easy like adding
a shape since the file from the deleted shape should be rewritten and
the shx should be recreated. Finally the implementation would be
similar as recreating the file like you have mentioned before.

Best Regards,

Tamas

2006/6/23, Antonio Iandolo <aiandolo at gruppoas.it>:
> Hi all,
> I have a shapefile where I append points (permanently, not inline) using
> the php-mapscript addPoint method.
>
> My question is: is there a way to permanently delete points from such a
> shapefile? I could create a new temporary shapefile with all the same
> points except the deleted one, but it doesn't seem to me a great
> solution...
>
> Thanks in advance,
> Antonio
>



More information about the MapServer-users mailing list