Created
April 28, 2017 17:52
-
-
Save pigreco/ca7e45b7f3b748a2a86cb3428ba1ae28 to your computer and use it in GitHub Desktop.
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
select p.pk_uid, ST_ShortestLine (l.geometry, p.geometry) as geometry ,st_length (ST_ShortestLine (l.geometry, p.geometry)) as lungh_m | |
from punti as p, grafo_stradale as l | |
group by p.pk_uid | |
having min ( st_length(shortestline (p.geometry, l.geometry))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment