[postgis-devel] constructor for topogeometry type

Rémi Cura remi.cura at gmail.com
Tue Oct 22 09:45:38 PDT 2013


Hm even simpler (topology_id, layer_id, topogeo_id, type)::topogeometry
works

Cheers,
Rémi-C


2013/10/22 Sandro Santilli <strk at keybit.net>

> 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
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20131022/b923fc25/attachment.html>


More information about the postgis-devel mailing list