[postgis-devel] constructor for topogeometry type
Sandro Santilli
strk at keybit.net
Tue Oct 22 09:39:09 PDT 2013
On Tue, Oct 22, 2013 at 06:38:12PM +0200, Sandro Santilli wrote:
> On Tue, Oct 22, 2013 at 06:32:11PM +0200, RĂ©mi Cura wrote:
> > Hey,
> > is there a cleaner way to create a topogeometry in a sql query than
> >
> > ROW(topology_id, layer_id, topogeo_id, type)::topogeometry ?
>
> http://postgis.net/docs/manual-2.0/CreateTopoGeom.html
>
> Sounds like you'd be missing a topology name for using those, you
> can get it with
>
> http://postgis.net/docs/manual-2.0/GetTopologyID.html
Sorry, I meant http://postgis.net/docs/manual-2.0/GetTopologyName.html
It wouldn't be a bad idea to add overloaded versions of CreateTopoGeom
taking topology_id rather than topology_name.
--strk;
http://www.cartodb.com - Map, analyze and build applications with your data
~~ http://strk.keybit.net
More information about the postgis-devel
mailing list