[Spanish] RE: Re: POSTGIS - SELECT de puntos de una linea (Gustavo Jarr?n)

Gastón Lucero gaston.lucero at sitrack.com
Wed Jul 13 13:43:51 EDT 2011


Gustavo, seria algo similar

select st_pointn(st_exteriorring(poligono), 
generate_series(1,st_numpoints(st_exteriorring(poligono))))
Si fuera un multipolygon deberias iterar sobre los poligonos del 
multipoligono con st_geometryn, sino st_exteriorring lanza un error

Saludos espero que te sirva
Gaston


Disclaimer:

This email and any attachments thereof may contain confidential, privileged, proprietary, or otherwise private information. This email is intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of the email and its attachments please inform the sender immediately and do not disclose the contents to any other person, use it for any purpose or store or copy the information in any way and delete this e-mail and its attachments from your system. Any views or opinions expressed are solely those of the author.



More information about the Spanish mailing list