Opened 13 years ago

Closed 12 years ago

#1687 closed enhancement (fixed)

Add an ST_Simplify(TopoGeometry) override

Reported by: strk Owned by: strk
Priority: medium Milestone: PostGIS 2.1.0
Component: topology Version: master
Keywords: history 2.1.0 Cc:

Description

Such function would take advantage of the topological definition of the geometry and while still returning a simple geometry it would still perform the simplification retaining primitive nodes.

Change History (4)

comment:1 by strk, 12 years ago

r11158 implements this. Lacks documentation, but I'm not sure how to best encode that. I'd rather re-use the existing "ST_Simplify" section, but @robe mentioned that's a no-no due to automatic tests generated in there and possibly breaking when you don't have topology installed. Needs another ticket ?

comment:2 by strk, 12 years ago

Keywords: history 2.1.0 added
Resolution: fixed
Status: newclosed

r11159 documents it (the way robe wanted it)

comment:3 by robe, 12 years ago

Resolution: fixed
Status: closedreopened

hmm — shouldn't the short description be:

Returns a "simplified" geometry version of the given TopoGeometry using the Douglas-Peucker algorithm.

Note: See TracTickets for help on using tickets.