Skip to content

Instantly share code, notes, and snippets.

@pigreco
Last active November 15, 2017 10:15
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 pigreco/1e803c4bee73629fe4aa6264575d4073 to your computer and use it in GitHub Desktop.
Save pigreco/1e803c4bee73629fe4aa6264575d4073 to your computer and use it in GitHub Desktop.
articolo su gfoss.it prima query
CREATE VIEW spatial_join AS
SELECT *
FROM test_celle AS target, (SELECT ST_BUFFER(geom, 250) AS geom FROM input) AS buffer
WHERE ST_INTERSECTS (target.geom, buffer.geom);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment