Skip to content

Instantly share code, notes, and snippets.

@mhkeller
Last active December 10, 2015 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhkeller/4463281 to your computer and use it in GitHub Desktop.
Save mhkeller/4463281 to your computer and use it in GitHub Desktop.
multigeometry polygon from disparate geometried features
SELECT ST_Multi(ST_Union(the_geom)) as the_geom, cols... FROM table GROUP BY cols...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment