Skip to content

Instantly share code, notes, and snippets.

@mhkeller
Last active December 10, 2015 16:48
Show Gist options
  • Select an option

  • Save mhkeller/4463281 to your computer and use it in GitHub Desktop.

Select an option

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