Thanks Jody, I Will dig in to the docs.
Kind regards,
Paul

Skickat från min iPhone

28 mars 2019 kl. 05:41 skrev Jody Garnett 
<jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>>:

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<mailto: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<mailto: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