Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

SQL MANHATTAN DISTANCE

SELECT ROUND(ABS(MIN(LAT_N)-MAX(LAT_N)) + ABS(MIN(LONG_W)-MAX(LONG_W)), 4) FROM STATION;
Source by nifannn.github.io #
 
PREVIOUS NEXT
Tagged: #SQL #MANHATTAN #DISTANCE
ADD COMMENT
Topic
Name
8+7 =