[postgis-tickets] [PostGIS] #2227: Visvalingam line generalization function

PostGIS trac at osgeo.org
Thu Jan 15 01:35:46 PST 2015


#2227: Visvalingam line generalization function
-------------------------+--------------------------------------------------
 Reporter:  strk         |       Owner:  nicklas      
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.2.0
Component:  postgis      |     Version:  trunk        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by nicklas):

 Yes, that could be a good idea to extend ST_Simplify. Why not?
 Only thing that might confuse people is that the distance vs area
 parameter gives very different result with the same value. But as long as
 the old algorithm is the default they will need to read the doc anyway to
 find out about the options.

 You are right that it doesn't make sense to drop vertices in a function
 named SetEffectiveArea.
 One question is if the Visvalingam version should have an option not to
 include the effective area but just remove vertices like ST_Simplify? Will
 there be people using it that want to preserver whatever they have in M?
 It also uses som space to include an extra dimmension. It is written so it
 is easy not to write any M-value.

 About unit-tests and regress-tests that is on my list. Doc is committed
 but looks ugly as it stands. I will look at it.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2227#comment:10>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list