Re: [OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-12-02 Thread mmd
Hi, Am 01.12.2015 um 13:56 schrieb Frederik Ramm: > Hi, > > On 12/01/2015 11:33 AM, tb wrote: >> But the disadvantage here is time: the computation of the three steps >> might take to much time and brings me way behind even by using minutely >> diffs. On the other hand i can start over every ni

Re: [OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-12-01 Thread Paul Norman
On 12/1/2015 2:33 AM, tb wrote: Option 1: Use bounding box option with osm2pgsql import, and run the cleanup queries documented here: http://wiki.openstreetmap.org/wiki/User:Stephankn/knowledgebase#Cleanup_of_ways_outside_the_bounding_box hm, this has some constraints: 1. use of "--flat-nod

Re: [OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-12-01 Thread michael spreng
On 01/12/15 11:33, tb wrote: > >> Option 2: >> >> Instead of applying diffs to the database directly, do this: >> >> * download worldwide diffs >> * apply them to an extract (file containing only your regional data) >> with osmosis >> * have osmosis cut out your polygon of interest from the resul

Re: [OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-12-01 Thread Frederik Ramm
Hi, On 12/01/2015 11:33 AM, tb wrote: > But the disadvantage here is time: the computation of the three steps > might take to much time and brings me way behind even by using minutely > diffs. On the other hand i can start over every night by using a fresh > cut my region(s) of interest. There

Re: [OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-12-01 Thread tb
Hi, On 11/30/2015 07:40 PM, Frederik Ramm wrote: On 11/30/2015 03:29 PM, tb wrote: Now i'm interested in keeping just a region like a city or a small state updated the same way (on a much smaller system). ... But unfortunately the other tables used by osm2pgsql (planet_osm_nodes, ...ways, .

Re: [OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-11-30 Thread Frederik Ramm
Hi, On 11/30/2015 03:29 PM, tb wrote: > Now i'm interested in keeping just a region like a city or a small state > updated the same way (on a much smaller system). ... > But unfortunately the other tables used by osm2pgsql > (planet_osm_nodes, ...ways, ...rels) getting bigger by time. Option

Re: [OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-11-30 Thread Stephan Knauss
Hi, I think the way described here also helps you to clean up your database from time to time https://wiki.openstreetmap.org/wiki/User:Stephankn/knowledgebase#Cleanup_of_ways_outside_the_bounding_box Stephan On November 30, 2015 9:29:09 PM GMT+07:00, tb wrote: >Hi, > >i'm running a local d

Re: [OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-11-30 Thread Andy Townsend
On 30/11/2015 14:29, tb wrote: Hi, i'm running a local database of the OpenStreetMap data, and this database is permanently updated by using osmosis and osm2pgsql (minutely diffs). Now i'm interested in keeping just a region like a city or a small state updated the same way (on a much small

[OSM-dev] How to keep a geographic local part of OSM updated with minutely diffs?

2015-11-30 Thread tb
Hi, i'm running a local database of the OpenStreetMap data, and this database is permanently updated by using osmosis and osm2pgsql (minutely diffs). Now i'm interested in keeping just a region like a city or a small state updated the same way (on a much smaller system). The region i'm inte