[GEOS] #620: Incorrect intersection between geometries

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[GEOS] #620: Incorrect intersection between geometries

geos-2
#620: Incorrect intersection between geometries
------------------------+---------------------------------------------------
 Reporter:  rhf         |       Owner:  geos-devel@…              
     Type:  defect      |      Status:  new                      
 Priority:  major       |   Milestone:  3.3.x                    
Component:  Default     |     Version:  3.3.7                    
 Severity:  Unassigned  |    Keywords:                            
------------------------+---------------------------------------------------
 I have two polylines A, B which partly overlap.

 When computing the intersection C = intersection(A, B), geos reports the
 correct result, which is a simple linestring with two points.
 One of them is a noded intersection. The other one is not.

 Hereafter I compute D = intersection(B, C). Of course D should equal C.
 Instead I will only get a single point: the noded intersection.

 This seems strange to me: either I would expect C also to be incorrect or
 both queries to give the same result.
 The same issue occurs when I try to compute B - C.

 With similar cases involving a noded and none-noded intersection, I get
 the correct results in all cases. For example when trying to reproduce the
 issue with simple horizontal lines.

 I have attached to small files in WKB format: A.txt, B.txt to be used as
 input to reproduce the issue.
 Actually the original polygons used as input where much larger, but I was
 able to reduce their sizes such that they only have a few points. Also I
 am working with geos via Spatialite, but I do not think this is relevant
 for this issue.

--
Ticket URL: <http://trac.osgeo.org/geos/ticket/620>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel
Reply | Threaded
Open this post in threaded view
|

Re: [GEOS] #620: Incorrect intersection between geometries

geos-2
#620: Incorrect intersection between geometries
------------------------+---------------------------------------------------
 Reporter:  rhf         |        Owner:  geos-devel@…              
     Type:  defect      |       Status:  closed                    
 Priority:  major       |    Milestone:  3.3.x                    
Component:  Default     |      Version:  3.3.7                    
 Severity:  Unassigned  |   Resolution:  wontfix                  
 Keywords:              |  
------------------------+---------------------------------------------------
Changes (by mdavis):

  * status:  new => closed
  * resolution:  => wontfix


Comment:

 In general JTS/GEOS overaly operations do not obey the mathematical axioms
 of pure set theory.

 See D7 in the JTS FAQ:

 http://tsusiatsoftware.net/jts/jts-faq/jts-faq.html

--
Ticket URL: <http://trac.osgeo.org/geos/ticket/620#comment:1>
GEOS <http://geos.refractions.net/>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________
geos-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geos-devel