Ticket #283 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Patch: ported linearref from JTS

Reported by: novalis Owned by: geos-devel@…
Priority: blocker Milestone: 3.2.0
Component: Default Version: svn-trunk
Severity: Unassigned Keywords:
Cc:

Description

I have ported the linearref code from JTS to GEOS.

Attachments

linearref.patch Download (88.3 KB) - added by novalis 4 years ago.
patch to add linearref support

Change History

Changed 4 years ago by novalis

patch to add linearref support

Changed 4 years ago by pramsey

  • status changed from new to closed
  • resolution set to fixed

Lovely. In trunk at r2619

Changed 4 years ago by strk

  • status changed from closed to reopened
  • resolution fixed deleted

FYI: the code applied contains memory errors and leaks. I'll spend some hours on that, but dunno if I've enough funding to complete it.

Changed 4 years ago by strk

  • status changed from reopened to closed
  • resolution set to fixed

alright, memory error is gone as of r2697. I'll close this and open a new one for the leaks.

Changed 3 years ago by strk

  • priority changed from major to blocker
  • status changed from closed to reopened
  • resolution fixed deleted

GEOSInterpolate, like GEOSProject, segfaults. I fixed GEOSProject, but don't have time/funding to fix GEOSInterpolate.

When new code is added, it should come with unit testing. It would have been easy to catch such situations.

Also in this case the segfault is triggered by calling the function against a POINT, so the root cause might be the same (not checking that input is a LINESTRING)

Changed 3 years ago by strk

  • status changed from reopened to closed
  • resolution set to fixed

Filed another ticket for the segfault: #353

Note: See TracTickets for help on using tickets.