[postgis-tickets] [PostGIS] #3264: Spurious edges in ST_ApproximateMedialAxis

PostGIS trac at osgeo.org
Tue Aug 25 09:41:56 PDT 2015


#3264: Spurious edges in ST_ApproximateMedialAxis
----------------------+---------------------------
  Reporter:  strk     |      Owner:  strk
      Type:  defect   |     Status:  new
  Priority:  medium   |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 Here's the WKT of test polygon (reduced):
 {{{
 POLYGON((1869500 5542134.04114701,1869542.48691877 5542117.03445929,
 1869563.45884117 5542096.25547497,1869565.09977432 5542094.62476936,
 1869605.02746282 5541987.27322033,1869615.07355377 5541948,
 1869583.08175414 5541948,1869578.6141196 5541967.06067625,
 1869553.09669917 5542031.99177998,1869527.78084588 5542076.81267058,
 1869505.06812083 5542096.72108973,1869500 5542099.06878245,
 1869500 5542134.04114701))
 }}}

 After trying a simplify with a tolerance based on perimeter, which works
 very badly for this reduced case, I think I understood what Vincent was
 saying and I'm going to try that. Vincent, you meant the difference of the
 distance between each of the 2 skeleton edge endpoints and the boundary of
 the polygon, right ?

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3264#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