Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I delete feature from Shapefile?

delete feature shapefile
0
Posted

How can I delete feature from Shapefile?

0

This question was asked a few times on the mailing list, for instance here and here. It’s recommended to look at these threads as they provide explanation on how to delete entries from Shapefile. It is not possible to delete features from Shapefile using ogr2ogr utility. In order to remove entries from Shapefile, you need to call OGRLayer::DeleteFeature() method, either directly from C++ program or using one of alternative interface like OGR C API or bindings to other programming languages.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123