[postgis-tickets] [PostGIS] #3401: ST_ModEdgeSplit makes topology invalid

PostGIS trac at osgeo.org
Fri Dec 18 02:31:33 PST 2015


#3401: ST_ModEdgeSplit makes topology invalid
-----------------------+---------------------------
  Reporter:  strk      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 2.2.1
 Component:  topology  |    Version:  trunk
Resolution:            |   Keywords:
-----------------------+---------------------------

Comment (by strk):

 The updated test (with correct syntax):
 {{{
 SELECT CreateTopology('topotest');
 SELECT ST_AddIsoNode('topotest', 0, ST_MakePoint(-180, 0));
 SELECT ST_AddIsoNode('topotest', 0, ST_MakePoint(0, 0));
 SELECT ST_AddIsoEdge('topotest', 1, 2, 'LINESTRING(-180 0, 0
 0)'::geometry);
 SELECT 'before', * FROM ValidateTopology('topotest');
 SELECT ST_ModEdgeSplit('topotest', 1, ST_MakePoint(-20, 0));
 SELECT 'after', * FROM ValidateTopology('topotest');
 }}}

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