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

Nicolas Ribot nicolas.ribot at gmail.com
Mon Jun 18 02:55:27 PDT 2012


> Hi,
>
> I meant dimension(geometry) to know if my consulted data is 2D or 3D.
>
> I found in the oficial documentation that if you use dimension(geometry) you
> get 2 for 2D or 3 for 3D data.
>
> Do you know something about this?
>

ST_NDims is your friend in this case.

Nicolas



More information about the postgis-users mailing list