[postgis-devel] [PostGIS] #788: Topology: ST_NewEdgesSplit don't work with more edges connected
PostGIS
trac at osgeo.org
Tue Jan 18 12:22:25 PST 2011
#788: Topology: ST_NewEdgesSplit don't work with more edges connected
-----------------------+----------------------------------------------------
Reporter: aperi2007 | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: topology | Version: trunk
Keywords: |
-----------------------+----------------------------------------------------
Comment(by aperi2007):
Hi have more information.
If instead of
----
select
topology.AddEdge('schema_topo',ST_GeomFromEWKT('SRID=3003;LINESTRING(1 4,
4 4)'));
select
topology.AddEdge('schema_topo',ST_GeomFromEWKT('SRID=3003;LINESTRING(1 4,
2 5, 3 5, 4 7)'));
select topology.ST_newedgesSplit('schema_topo',1,
ST_GeomFromEWKT('SRID=3003;POINT(3 5)'));
----
I exchange the order of the first two addEdge
----
select
topology.AddEdge('schema_topo',ST_GeomFromEWKT('SRID=3003;LINESTRING(1 4,
2 5, 3 5, 4 7)'));
select
topology.AddEdge('schema_topo',ST_GeomFromEWKT('SRID=3003;LINESTRING(1 4,
4 4)'));
select topology.ST_newedgesSplit('schema_topo',1,
ST_GeomFromEWKT('SRID=3003;POINT(3 5)'));
----
The work work !
Perhaps it work only on the first edge of the table ?
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/788#comment:1>
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