Hello Steve,

If you can define a tolerance within which geometries should be
treated as coincident you could use Geometry.buffer and then test for
intersection etc.

Michael

On 15 November 2012 03:07, Steve Mitchell <stevecmitch...@gmail.com> wrote:
> Trying to find the right way to test line overlap when the points are not
> common. I have a set of lines containing points collected from a GPS
> receiver. I need to find which of those lines travel a particular stretch of
> the route. The functions geometryA.contains(geometryB) and
> geometryB.within(geometryA) only work if all the points in geometryB equal a
> subset of points in geometryA.
>
> How can find the match that I need if the points are not equal? I'm sure
> this is a common problem people need to solve, I just don't know the right
> steps to get there. Even geometryA.intersects(geometryB) is unreliable
> because in some cases geometryA and geometryB have no individual points in
> common even though both go down the same stretch of road.
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to