Last active
August 29, 2015 13:58
-
-
Save gledsoncruz/9993753 to your computer and use it in GitHub Desktop.
SQL Postgis para gerar um poligono com a união de 2 ou mais
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO setores_op(descricao, the_geom) VALUES ('Setor 6', | |
(SELECT ST_Union(ARRAY(SELECT the_geom FROM bairros WHERE gid IN (22,23))))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment