[postgis-tickets] [PostGIS] #5334: topology edge view doesn't need a rule to insert data

PostGIS trac at osgeo.org
Tue Feb 7 06:28:41 PST 2023


#5334: topology edge view doesn't need a rule to insert data
-----------------------+---------------------------
  Reporter:  robe      |      Owner:  strk
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 3.4.0
 Component:  topology  |    Version:  master
Resolution:            |   Keywords:
-----------------------+---------------------------
Comment (by strk):

 Oh I was wrong, the INSERT INTO edge does work at doing the abs() thing:
 {{{
 =# insert into test.edge values (1,1,2,-1,1,0,0,'LINESTRING(0 0, 10 0)');
 INSERT 0 1
 =# select * from test.edge_data;
 -[ RECORD 1
 ]-------+-----------------------------------------------------------------------------------
 edge_id             | 1
 start_node          | 1
 end_node            | 2
 next_left_edge      | -1
 abs_next_left_edge  | 1
 next_right_edge     | 1
 abs_next_right_edge | 1
 left_face           | 0
 right_face          | 0
 geom                |
 0102000000020000000000000000000000000000000000000000000000000024400000000000000000
 }}}

 Would that work w/out our own rule ?
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5334#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-tickets mailing list