[gdal-dev] C# OGR Modify Shapefile

Frank Warmerdam warmerdam at pobox.com
Mon Aug 8 20:07:21 EDT 2011


David,

With the latest GDAL/OGR you can add fields to an
existing shapefile, add records and delete records.  I'm
not certain if all those capabilities were available in the
last FWTools build or not.

I will note that deleted shapes aren't completely deleted
until you repack the file.  There should be some details
on repacking on the driver page.

Best regards,


On Mon, Aug 8, 2011 at 4:44 PM, David Baker (Geoscience)
<david.m.baker at chk.com> wrote:
> All,
>
>
>
> Using the C# dll’s that come in Frank’s FWTools, is it possible to add,
> delete and modify records in a Shapefile, or do I need to create a new
> Shapefile with the changes?
>
>
>
> Thanks,
>
> David
>
>
>
> David M. Baker
>
> Senior Geologist - Chief Technology Advisor
>
> Chesapeake Energy Corporation
>
> 405-935-3715 office
>
> 405-496-5373 cell
>
> david.m.baker at chk.com
>
>
>
> ________________________________
> This email (and attachments if any) is intended only for the use of the
> individual or entity to which it is addressed, and may contain information
> that is privileged, confidential and exempt from disclosure under applicable
> law. If the reader of this email is not the intended recipient, or the
> employee or agent responsible for delivering this message to the intended
> recipient, you are hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited. If you have received
> this communication in error, please notify the sender immediately by return
> email and destroy all copies of the email (and attachments if any).
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>



-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer


More information about the gdal-dev mailing list