Opened 16 years ago

Closed 16 years ago

#181 closed defect (duplicate)

Different behaviours of GEOSIntersection (C API) according to the arguments order

Reported by: plx Owned by:
Priority: major Milestone:
Component: Core Version: 3.0.0
Severity: Unassigned Keywords:
Cc:

Description

(sorry for my English - I am French)

Two simple geometries (LINESTRING). The first vertex of geometry 1 equals the last vertex of geometry 2 (see attached files edge1.hexwkb and edge2.hexwkb in hex-wkb format).

The call "GEOSIntersection(geometry1,geometry2)" returns a POINT geometry, with the common vertex as result.

The call "GEOSIntersection(geometry2,geometry1)" implies a segmentation fault (see "Print Screen" file with the messages of my debugger - copy/paste of the messages doesn't work)

Even if I use the C API of the library, I don't think it is linked so I put this ticket in the "Core" component

Attachments (2)

edge1.hexwkb (2.6 KB ) - added by plx 16 years ago.
edge1.2.hexwkb (2.6 KB ) - added by plx 16 years ago.

Download all attachments as: .zip

Change History (3)

by plx, 16 years ago

Attachment: edge1.hexwkb added

by plx, 16 years ago

Attachment: edge1.2.hexwkb added

comment:1 by plx, 16 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.