I have imported osm data into PostgreSQL using this command
Now how can i get all the ways of a city(or a bounding region). asked 31 Mar '18, 15:20 _partha edited 31 Mar '18, 22:45 aseerel4c26 ♦ |
I have imported osm data into PostgreSQL using this command
Now how can i get all the ways of a city(or a bounding region). asked 31 Mar '18, 15:20 _partha edited 31 Mar '18, 22:45 aseerel4c26 ♦ |
with postgis, you have just to intersect you box with the col way ( example : select * from planet_osm_way where "way" && ST_SetSRID ('BOX3D(-11704037.77103247 4811252.308384717, -11660010.04274018 4855280.036677003)'::box3d, 3857) ; )