[postgis-devel] [PostGIS] #1714: totopogeom - can't add multipolygo
PostGIS
trac at osgeo.org
Tue Apr 10 10:37:49 PDT 2012
#1714: totopogeom - can't add multipolygo
----------------------+-----------------------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.1
Component: topology | Version: trunk
Keywords: |
----------------------+-----------------------------------------------------
Comment(by strk):
It seems to be snapping to nodes that makes it become non-simple:
{{{
DEBUG: Unioned: MULTILINESTRING((765795.233731932
2949559.16014178,765795.233731932 2949558.8354405,765795.071381291
2949559.16014178),(765795.071381291 2949559.16014178,765795.233731932
2949559.16014178))
DEBUG: Intersecting nodes: MULTIPOINT(765795.071381291 2949559.16014178)
DEBUG: Snapped to nodes: MULTILINESTRING((765795.071381291
2949559.16014178,765795.233731932 2949558.8354405,765795.071381291
2949559.16014178),(765795.071381291 2949559.16014178,765795.071381291
2949559.16014178))
}}}
Snap input is simple, snap output isn't:
{{{
strk=# select st_issimple( 'MULTILINESTRING((765795.233731932
2949559.16014178,765795.233731932 2949558.8354405,765795.071381291
2949559.16014178),(765795.071381291 2949559.16014178,765795.233731932
2949559.16014178))' );
st_issimple
-------------
t
(1 row)
strk=# select st_issimple( 'MULTILINESTRING((765795.071381291
2949559.16014178,765795.233731932 2949558.8354405,765795.071381291
2949559.16014178),(765795.071381291 2949559.16014178,765795.071381291
2949559.16014178))' );
st_issimple
-------------
f
(1 row)
}}}
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1714#comment:2>
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-devel
mailing list