[mapserver-users] ShapeObj delete

Guillaume SUEUR guillaume.sueur at khi2.fr
Tue Oct 22 08:28:59 EDT 2002


Yes, it's an idea, but I was just hoping something more "clean" was 
existing...

Thx

Lowell Filak wrote:
> One way to do it is to open the existing shapefile and create a holder for the particular type of shape. Then loop through each shape and copy them to a new shapefile. To delete a shape just skip writing the deleted shape to the new shapefile. Then replace the old file with the new.
> HTH
> Lowell F.
> 
> The following message was sent by Guillaume SUEUR <guillaume.sueur at khi2.fr> on Tue, 22 Oct 2002 10:57:21 +0200.
> 
> 
>>Hi folks,
>>I'm wondering about the possibility of deleting a ShapeObj from a 
>>shapeFileObj with Mapscript. It is possible to add one, but if one wants 
>>to delete it afterwards, it doesn't seem to be any method for it. At 
>>least I didn't find any.
>>Is it possible ?
>>
>>Thanks
>>---------------------------
>>Guillaume SUEUR
>>Ingénieur développement SIG
>>GEOSIGNAL
>>25bis Avenue Marcel Dassault
>>31505 TOULOUSE CEDEX 5
>>----------------------------
> 
> 
> 

-- 
---------------------------
Guillaume SUEUR
Ingénieur développement SIG
GEOSIGNAL
25bis Avenue Marcel Dassault
31505 TOULOUSE CEDEX 5
----------------------------




More information about the mapserver-users mailing list