Skip to content

Instantly share code, notes, and snippets.

@javierarce
Created July 11, 2013 11:23
Show Gist options
  • Save javierarce/5974628 to your computer and use it in GitHub Desktop.
Save javierarce/5974628 to your computer and use it in GitHub Desktop.
SELECT
ST_ConvexHull(
ST_Collect(the_geom_webmercator)
) as the_geom_webmercator
FROM checkins
WHERE city <> 'undefined'
GROUP BY city
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment