Opened 13 years ago

Closed 12 years ago

#496 closed enhancement (fixed)

Expose a GEOSNode interface in the C-API

Reported by: strk Owned by: strk
Priority: major Milestone: 3.4.0
Component: Default Version: main
Severity: Unassigned Keywords: history
Cc:

Description

Such function should be used to fully node input linework. It should take an optional "precision" parameter to perform snapping of input vertices and intersection points to a given grid. Such functionality should be very helpful in improving robustness and predictability for clients.

Change History (3)

comment:1 by strk, 12 years ago

Owner: changed from geos-devel@… to strk
Status: newassigned

comment:2 by strk, 12 years ago

Note that JTS has a GeometryNoder class under the noding/snapround package.

comment:3 by strk, 12 years ago

Keywords: history added
Resolution: fixed
Status: assignedclosed

This was done with r3593 -- may be improved to use snaprounding when input precision model is fixed.

No precision parameter was added, I think it makes more sense for precision to be handled globally using a geometrie's PrecisionModel. This in turn will require exposing ways to set the precision model of geometries being constructed...

Note: See TracTickets for help on using tickets.