Update 'Dump OSM data to a postgis database'
parent
328f276d07
commit
ba39f20354
|
@ -98,7 +98,7 @@ Then change the postgresql.conf and pg_hba.conf files to allow remote connection
|
||||||
|
|
||||||
You can compute minimum distances with KNN as follows:
|
You can compute minimum distances with KNN as follows:
|
||||||
|
|
||||||
```
|
```sql
|
||||||
select
|
select
|
||||||
st_distance(st_transform(st_setsrid(st_point(-120, 12), 4326), 3857), way) as distance
|
st_distance(st_transform(st_setsrid(st_point(-120, 12), 4326), 3857), way) as distance
|
||||||
from
|
from
|
||||||
|
|
Loading…
Reference in a new issue