This file contains hidden or 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
WITH point1 AS ( | |
SELECT cdb_geocode_postalcode_point(<%= postcode1 %>, 'USA') as geo | |
), | |
point2 AS ( | |
SELECT cdb_geocode_postalcode_point(<%= postcode2 %>, 'USA') as geo | |
), | |
route AS ( | |
SELECT | |
r.shape as geo, | |
r.length |
NewerOlder