[postgis-tickets] [PostGIS] #2227: Visvalingam line generalization function
PostGIS
trac at osgeo.org
Sun Jan 11 12:21:32 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):
Added in r13174
1 question/issue.
The first and the last point in an array is special. We don't normally
want them to be eliminated. So now I give them the value DBL_MAX since
that will prevent any elimination. But that looks very ugly when used with
ST_Astext. See the doc entry for ST_SetEffectiveArea for illustration.
Should we use something like 1e100 instead?
That should be safe too I guess.
Another ide is to give the start point and end point some value that
illustrates how big the whole geometry is. Then the whole geoemtry will be
removed when that value is under the requested threashold.
Thoughts?
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2227#comment:5>
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