[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Maposmatic-dev] [task #10104] Apply hourly/minute diffs

From: David Decotigny
Subject: [Maposmatic-dev] [task #10104] Apply hourly/minute diffs
Date: Mon, 18 Jan 2010 16:35:08 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7


                 Summary: Apply hourly/minute diffs
                 Project: MapOSMatic
            Submitted by: daviddecotigny
            Submitted on: Mon 18 Jan 2010 04:35:05 PM GMT
         Should Start On: Mon 18 Jan 2010 12:00:00 AM GMT
   Should be Finished on: Mon 18 Jan 2010 12:00:00 AM GMT
                Category: database
                Priority: 1 - Later
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00



See on
how to use osmosis to apply hourly/minute diffs. Backup copy:

Frederik Ramm
Sun Jan 17 12:32:47 GMT 2010


Steve Hill wrote:
> The old hourly and minutely deltas had filenames based on their dates; the

> new ones don't.  Is there a sensible way to figuring out which deltas you 
> need without downloading several hundred *.state.txt files?

Yes, use Osmosis to do it automatically.

Initialise with

osmosis --rrii

then modify the configuration file manually, and find the proper 
state.txt file that approximately matches your version of the data 
(explained approx. 100 times on this list, google for --rri), then
in regular intervals run

osmosis --rri --simc --wxc my-change-file.osc

and apply the my-change-file.osc to your database using osm2pgsql.

> The best I can come up with is trying to do a binary cut to reduce the 
> number of downloads needed to find the right delta, but that's messy as 
> hell compared to how trivial it was when we had date based names.

The new method takes a moment to set up but after that it's even easier 
than the old.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]