Consider
-
$a$ happens to equal the minimum value in Northern Latitude (LAT_N in STATION). -
$b$ happens to equal the minimum value in Western Longitude (LONG_W in STATION). -
$c$ happens to equal the maximum value in Northern Latitude (LAT_N in STATION). -
$d$ happens to equal the maximum value in Western Longitude (LONG_W in STATION).
Query the Manhattan Distance between points
The STATION table is described as follows:
| Field | Type |
|---|---|
| ID | NUMBER |
| CITY | VARCHAR2(21) |
| STATE | VARCHAR2(2) |
| LAT_N | NUMBER |
| LONG_W | NUMBER |
Where LAT_N is the northern latitude and LONG_W is the western longitude.