FeatureStore can delete based on a filter, often you delete using a feature
id feature to delete a specific selection. You can use any filter,
including using the geometry from another shapefile and the equals filter
to find and remove any "identical" geometry.

See:
-
http://docs.geotools.org/latest/userguide/library/main/datastore.html#simplefeaturestore

-
http://docs.geotools.org/latest/userguide/library/opengis/filter.html#spatial

--
Jody Garnett


On Wed, 20 Mar 2019 at 06:08, <paul.m...@lfv.se> wrote:

> Hi,
>
> I would like to use GeoTools to delete line objects in a shape file that
> has an identical geometry in another shape file.
>
> Is there someone who can point me in the right direction, how to do this?
>
> I’m learning to use GeoTools, and it seems great!
>
>
>
> Thanks,
>
> Paul
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to