[postgis-users] Topology GetRingEdges

Sandro Santilli strk at keybit.net
Mon Apr 30 02:51:12 PDT 2012


On Fri, Apr 27, 2012 at 01:11:27PM -0700, Bob Pawley wrote:
> Hi
> 
> I have established the schema and tables as outlined in the documentation example 11.8 TopoGeometry Constructors.
> 
> However, I am still missing something.
> 
> When I run GetRingEdges -
> 
>     select  topology.GetRingEdges('TEST', 1), entities.wkb_geometry   
>     from entities, num_search
>     where st_intersects(entities.wkb_geometry, num_search.the_geom2);
> 
> The return are only the geometries which are actually intersected by st_intersects.(In this particular case only four of the eight lines that make up the polygon).
> 
> I was hoping the whole closed geometry  to be returned.
> 
> What am I missing??

I don't understand what your query above is trying to select.
You are calling GetRingEdges with a constant edge id, why so ?

--strk; 

  ,------o-. 
  |   __/  |    Delivering high quality PostGIS 2.0 !
  |  / 2.0 |    http://strk.keybit.net - http://vizzuality.com
  `-o------'




More information about the postgis-users mailing list