Hi,<br><br>I meant dimension(geometry) to know if my consulted data is 2D or 3D.<br><br>I found in the oficial documentation that if you use dimension(geometry) you get 2 for 2D or 3 for 3D data.<br><br>Do you know something about this?<br>
<br>Thanks,<br><br>José María<br><br><div class="gmail_quote">2012/6/18 Nicolas Ribot <span dir="ltr"><<a href="mailto:nicolas.ribot@gmail.com" target="_blank">nicolas.ribot@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, you mean st_dimension ?<br>
<br>
select st_dimension(geom). Returns 0 for points, 1 for linestrings, 2<br>
for polygons.<br>
<br>
Nicolas<br>
<div><div class="h5"><br>
On 18 June 2012 09:37, José María Amuedo <<a href="mailto:jmamuedo@gmail.com">jmamuedo@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I would like to know how can use the dimension(geometry) command.<br>
><br>
> Thanks,<br>
><br>
> Jose María<br>
><br>
</div></div>> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br>