Me again : I managed to install ruby on ubuntu 12.04 with these commands :

sudo apt-get install ruby1.9.1 libxslt-dev ruby1.9.1-dev
sudo gem1.9.1 install text libxml-ruby mechanize algorithms

# Then I downloaded the sources :
cd /tmp/
wget
https://github.com/gravitystorm/openstreetmap-license-change/zipball/master
unzip gravitystorm-openstreetmap-license-change-2d01fab.zip
cd /tmp/gravitystorm-openstreetmap-license-change-2d01fab
cp example.auth.yaml auth.yaml

Now I need a small history extract to perform tests. I have seen these
places :
* full planet : BIG file (too big for my small machine) :
http://planet.openstreetmap.org/planet/full-history/
* Simon's extracts : available only unti redaction period, but there are
some small files to try : http://odbl.poole.ch/extracts/

Am I missing some other URLs ?

I will try asap with Andora :
http://odbl.poole.ch/extracts/andorra.osh.bz2

++

2012/10/25 kimaidou <kimai...@gmail.com>

> Thanks for your answers.
> I will try with a smal extract first.
>
>
> 2012/10/25 Simon Poole <si...@poole.ch>
>
>> Am 25.10.2012 15:43, schrieb kimaidou:
>> > Hi,
>> >
>> > Looking at this file
>> >
>> https://github.com/gravitystorm/openstreetmap-license-change/blob/master/extract_loader.rb
>> >
>> > It seems if we do not use the --file, --users-agreed nor
>> > --changesets-agreed options, this will import the whole history file
>> > into an apidb.
>> > This looks promising !
>> > I am not a ruby guy, so I will surely need some time to understand how
>> > to install and run this file, but I will give it a try. What about
>> > performance ? Does it handle a big history file ?
>>
>> AFAIK it took multiple days to import Ireland (which indicates a year or
>> so for the whole planet).
>>
>> Simon
>>
>>
>>
>> _______________________________________________
>> dev mailing list
>> dev@openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/dev
>>
>
>
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to