[postgis-users] Trying to figure out topology

William Kyngesburye woklist at kyngchaos.com
Tue Jun 5 13:40:51 PDT 2007


On Jun 5, 2007, at 12:38 PM, William Kyngesburye wrote:

> Now I get to generating topology for each line in the layer.  The  
> wiki has:
>
> select topology.CreateTopoGeom(topology_name, feature_type,  
> layer_id [as returned from AddTopoGeometryColumn], TopoElementArray);
>
> but the link to TopoElementArray doesn't really tell me where to  
> get those element type/element id pairs for the array.  Would those  
> be the geom types and feature IDs of the layer?  Would I use a SQL  
> select to pipe in all the rows of the layer?  Examples would be  
> much appreciated.
>
After poking around in the topology tests in the postgis source, I'm  
wondering if there are topology *building* functions yet.  It seems  
to handle only *adding* topology from existing data that has  
topology, like importing from an ArcGIS coverage.

I guess development is not as far along as I hoped.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy





More information about the postgis-users mailing list