Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Maptime Seattle Postgis - Problem 2
SELECT, ST_Distance(c.geom, a.geom, true) * 0.000621371 AS distance_as_miles
FROM geo.cities_ne c
CROSS JOIN transport.airports_ne a
WHERE = 'Seattle'
ORDER BY ST_Distance(c.geom, a.geom, true) ASC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment