[postgis-devel] [PostGIS] #979: ST_ChangeEdgeGeom does not check if edge exists

PostGIS trac at osgeo.org
Mon May 23 20:08:35 PDT 2011


#979: ST_ChangeEdgeGeom does not check if edge exists
----------------------+-----------------------------------------------------
 Reporter:  robe      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.0.0
Component:  topology  |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 I can do this:


 {{{
  SELECT topology.ST_ChangeEdgeGeom('ma_topo', 4,
 ST_GeomFromText('LINESTRING(228591.10 893900.4,228622.6 893844.3,228641.6
 893816.6,
  228704.5 893778.5)', 26986) );
 }}}

 Even though I have no edge 4. and the function happily reports:

 Edge 4 changed

 Also why do we break out checking x and y? instead of using a spatial
 check?

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/979>
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