# Topology: How to create topogeometry from existing faces?

3 messages
Open this post in threaded view
|
Report Content as Inappropriate

## Topology: How to create topogeometry from existing faces?

 I have some edges and centroids with some atributes.I imported edges to topo using TopoGeo_AddLineString.And I polygonized toposchema.I want to create relation with polygons with centroid attribute table.I can do something likeSELECT centro.*                                                                      , topology.ST_GetFaceGeometry(                                                     'topo', topology.GetFaceByPoint('topo', geom, 0)                           ) geom FROM centro; For obtain face geometry.But if I want have topogeometry, I need to create normal geometry and create topogeometry from this.Is there another way, how to create topogeometry from face id?I can insert face id into topo.relation and create topogeometry from this by query, but is it a right way? Can I used some functionality in topology for doing this.Thanks Je;-- JelenStarší čeledín datovýho chlíva _______________________________________________ postgis-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/postgis-users
Open this post in threaded view
|
Report Content as Inappropriate

## Re: Topology: How to create topogeometry from existing faces?

 I find solution,i think, that CreateTopoGeom should help me with this.2017-04-17 13:37 GMT+02:00 Jan Michálek :I have some edges and centroids with some atributes.I imported edges to topo using TopoGeo_AddLineString.And I polygonized toposchema.I want to create relation with polygons with centroid attribute table.I can do something likeSELECT centro.*                                                                      , topology.ST_GetFaceGeometry(                                                     'topo', topology.GetFaceByPoint('topo', geom, 0)                           ) geom FROM centro; For obtain face geometry.But if I want have topogeometry, I need to create normal geometry and create topogeometry from this.Is there another way, how to create topogeometry from face id?I can insert face id into topo.relation and create topogeometry from this by query, but is it a right way? Can I used some functionality in topology for doing this.Thanks Je;-- JelenStarší čeledín datovýho chlíva -- JelenStarší čeledín datovýho chlíva _______________________________________________ postgis-users mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/postgis-users