Ticket #233 (new task)

Opened 3 years ago

Last modified 9 months ago

Test Looser Snap Tolerance

Reported by: pramsey Owned by: pramsey
Priority: minor Milestone: GEOS Future
Component: Core Version: svn-trunk
Severity: Idea Keywords:
Cc: strk

Description

In Union(), snapping tolerance will determine how nearly-parallel lines are snapped together. Right now the tolerance is rather tight, but we might get better results with a slightly more libertine approach. Testing is required.

Change History

Changed 3 years ago by pramsey

  • type changed from defect to task

Also, right now we snap between geometries, but not necessarily within geometries. There is new code hiding in JTS that does this. For example, small narrow spikes and gores in single geometries can cause the same problems as almost-the-same edges in paired geometries.

Changed 3 years ago by pramsey

  • cc strk added

Did the self-snapping code from JTS come through in the port?

Changed 3 years ago by strk

When using Geometry interfaces then we're 100% in sync with JTS (Geometry.intersection, for exapmle).

BUT, from C-API we don't do that. Instead we use BinaryOp? there, which is similar in spirit but predates the official JTS code for it.

Who does and who doesn't do self-snapping is unknown to me. Time to ask Martin ?

Changed 3 years ago by pramsey

  • milestone changed from 3.2.0 to 3.3.0

Changed 9 months ago by strk

  • milestone changed from 3.3.0 to GEOS Future

Kiked forward as per paul's request

Note: See TracTickets for help on using tickets.