[postgis-tickets] [PostGIS] #2183: ST_SimplifyPreserveTopology does not preserve the topology
PostGIS
trac at osgeo.org
Tue Jan 22 09:04:04 PST 2013
#2183: ST_SimplifyPreserveTopology does not preserve the topology
---------------------+------------------------------------------------------
Reporter: pcav | Owner: strk
Type: defect | Status: assigned
Priority: medium | Milestone: PostGIS 2.0.3
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
Comment(by strk):
I can't confirm that geometry triggers an error
inST_SimplifyPreserveTopology:
{{{
with inp as ( select
'0102000020BB0B00000C00000059FFFFCAC03F39412A008004CBFC51415BFFFF61B53F39412B00809DCBFC51415BFFFF40AE3F39412B00005DCEFC51415AFFFF4FB43F39412B0080DFD0FC514159FF7F29A13F39412A000028DBFC51415AFF7F88A23F39412B008014E0FC51415BFFFF21AC3F39412B0000EFE0FC514159FFFFF3C53F39412A008018D6FC51415AFFFF80DA3F39412A0080ECD2FC51415BFFFFA1DF3F39412B000022CEFC51415AFFFFF3D33F39412A0080DFCCFC514159FFFFCAC03F39412A008004CBFC5141'::geometry
as g ) select st_isvalid(st_simplifypreservetopology(g, 500)) from inp;
}}}
Does the above query return false for you ?
I thought in IRC you said a similar query was returning false (ie: non-
valid returns from ST_SimplifyPreserveTopology)
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2183#comment:4>
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