Re: [OSM-dev] Where to define the directory of generating tiles?

2011-07-14 Thread Parveen Arora
On Fri, Jul 15, 2011 at 11:37 AM, Graham Jones wrote: > Parveen, > Have a look at the first bit of the source code.  I think the default > location is specified there. > > I think my first reply was wrong - it is an environment variable, not a > command line parameter, but you will see that when y

Re: [OSM-dev] Where to define the directory of generating tiles?

2011-07-14 Thread Graham Jones
Parveen, Have a look at the first bit of the source code. I think the default location is specified there. I think my first reply was wrong - it is an environment variable, not a command line parameter, but you will see that when you look at the top of the file. Graham from my phone On 15 Jul

Re: [OSM-dev] Where to define the directory of generating tiles?

2011-07-14 Thread Parveen Arora
On Fri, Jul 15, 2011 at 10:14 AM, Graham Jones wrote: > Hi Parveen, > You do not say which program you are using to generate your tiles, so it is > difficult to answer. > > I think you are using generate_tiles.py? Yes, I am using generate_tiles.py >  In which case there is a command > line parame

Re: [OSM-dev] Where to define the directory of generating tiles?

2011-07-14 Thread Graham Jones
Hi Parveen, You do not say which program you are using to generate your tiles, so it is difficult to answer. I think you are using generate_tiles.py? In which case there is a command line parameter to specify the output directory. If you are thinking of a different program, please say which one.

Re: [OSM-dev] Merging Changes into Planet

2011-07-14 Thread Andrew Ayre
Hi Markus, Thanks for the suggestion - I will take a look at it! Andy On 7/14/2011 3:41 PM, mar...@gmx.eu wrote: > Hi Andy, > > there is another program which I would expect to be significantly faster. > However, it has two disadvantages: > 1. It's new, it still may have bugs. > 2. It lacks in

[OSM-dev] Where to define the directory of generating tiles?

2011-07-14 Thread Parveen Arora
Hello Everyone, I was generating tiles for OSM Tile Server, by default tiles are being generated into /home/username/bin/mapnik >From which file I can change the path to generate them in some other directory? Thank You. -- Parveen Arora www.parveenarora.in E-Mail: m...@parveenarora.in

Re: [OSM-dev] Merging Changes into Planet

2011-07-14 Thread marqqs
Hi Andy, there is another program which I would expect to be significantly faster. However, it has two disadvantages: 1. It's new, it still may have bugs. 2. It lacks in the ability to write PBF and uses .osm or the efficient but less common .o5m format instead. Nevertheless, it could be worth

[OSM-dev] Partial outage this weekend

2011-07-14 Thread Grant Slater
Devs, The dev server (errol) will not be available this weekend due to power maintenance work at hosts. Further details and list of servers involved here: http://wiki.openstreetmap.org/wiki/Power_Maintenance_Q3_2011 www.osm.org and API are NOT affected. / Grant Part of Sysadmin Team. _

Re: [OSM-dev] Merging Changes into Planet

2011-07-14 Thread Maarten Deen
On Thu, 14 Jul 2011 12:38:02 +0100, Andrew Ayre wrote: With my 766MB change file the original merge command that I posted takes 106 minutes. By using Jochen's merge command with buffers and the same change file it now takes 58 minutes! I knew about the possibility of buffers but I never tri

Re: [OSM-dev] Merging Changes into Planet

2011-07-14 Thread Andrew Ayre
On 7/14/2011 9:26 AM, Jochen Topf wrote: > Its almost certainly CPU. Try > dd if=planet-latest.osm.pbf of=copy.osm.pbf bs=1M > and you'll see how fast the files can be copied. Thats the time needed for the > disk. Everything else is CPU. > >> Does this merge time seem right/reasonable? Are there a

Re: [OSM-dev] Merging Changes into Planet

2011-07-14 Thread Jochen Topf
On Thu, Jul 14, 2011 at 09:04:03AM +0100, Andrew Ayre wrote: > If I download the latest set of hourly changes and merge them into > planet.osm.pbf using osmosis, this always takes about two hours to complete: > > osmosis --read-xml-change changes.osc --read-bin planet-latest.osm.pbf > --apply-chan

Re: [OSM-dev] Merging Changes into Planet

2011-07-14 Thread Komяpa
2011/7/14 Andrew Ayre : > If I download the latest set of hourly changes and merge them into > planet.osm.pbf using osmosis, this always takes about two hours to complete: Try to merge change files first, and then apply them as one change file. -- Darafei "Komяpa" Praliaskouski OSM BY Team xmpp:

Re: [OSM-dev] Merging Changes into Planet

2011-07-14 Thread Jonathan Bennett
On 14/07/2011 09:04, Andrew Ayre wrote: Does this merge time seem right/reasonable? Are there any approaches or tricks I am missing that can speed it up? No idea if it's reasonable, but you could try having multiple disks involved somehow -- either as an array, or by having source and destinat

[OSM-dev] Merging Changes into Planet

2011-07-14 Thread Andrew Ayre
Hi, If I download the latest set of hourly changes and merge them into planet.osm.pbf using osmosis, this always takes about two hours to complete: osmosis --read-xml-change changes.osc --read-bin planet-latest.osm.pbf --apply-change --write-bin planet-new.osm.pbf This is on an Ubuntu-based quad