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

PostGIS trac at osgeo.org
Mon Jan 12 13:57:45 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):

 About naming:
 Maybe ST_Visvalingam is better, but it doesn't say anything about what the
 function is doing without knowledge of Mr Visvalingam's work. It would be
 like calling ST_Simplify something with DP. But I also see that
 EffectiveArea doesn't say anything if you don't now the concept. I have no
 real opinion here so we can change it. Shall we?

 About 0 a threashold:
 Yes of course that makes sense. But we also want a way to get back all
 points. We can make a distinction between gicing 0 as threashold and don't
 give any second parameter at all (a negative default value is maybe the
 easiest to avoid 2 signatures)). But to get really 0.0000 units effective
 area will be quite rare (except vertical and horizontal lines), so giving
 0.01 (or whatever depending on what unit is used) will often give more of
 the desired effect.

 About first point last point I think you refered to #1698, #1987 and
 #2093.
 I put a comment in #2093 about that.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2227#comment:7>
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