[postgis-users] How to use dimension(geometry) command

Nicolas Ribot nicolas.ribot at gmail.com
Mon Jun 18 01:57:54 PDT 2012


Hi, you mean st_dimension ?

select st_dimension(geom). Returns 0 for points, 1 for linestrings, 2
for polygons.

Nicolas

On 18 June 2012 09:37, José María Amuedo <jmamuedo at gmail.com> wrote:
> Hello,
>
> I would like to know how can use the dimension(geometry) command.
>
> Thanks,
>
> Jose María
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list