postgresql - Updating OSM local database after a regular interval in Rails -


i have setup local version of osm database using osm2pgsql in slim mode. have following tables

planet_osm_lines

planet_osm_nodes

planet_osm_point

planter_osm_roads

planet_osm_ways

i used following command migrate database

osm2pgsql -c -d database_name --slim planet.osm.pbf

every thing working fine. want update these regularly , stay date latest changes.

-- since using rails there way update these tables programatically? mean can run schedulized job , update latest changes without having download entire osm files?

-- secondly since interested in us, canada , mexico there way fetch these countries data?

thanks


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -