Me again : I managed to install ruby on ubuntu 12.04 with these commands :<br><br>sudo apt-get install ruby1.9.1 libxslt-dev ruby1.9.1-dev<br>sudo gem1.9.1 install text libxml-ruby mechanize algorithms<br><br># Then I downloaded the sources :<br>
cd /tmp/<br>wget <a href="https://github.com/gravitystorm/openstreetmap-license-change/zipball/master">https://github.com/gravitystorm/openstreetmap-license-change/zipball/master</a><br>unzip gravitystorm-openstreetmap-license-change-2d01fab.zip<br>
cd /tmp/gravitystorm-openstreetmap-license-change-2d01fab<br>cp example.auth.yaml auth.yaml<br><br>Now I need a small history extract to perform tests. I have seen these places :<br>* full planet : BIG file (too big for my small machine) : <a href="http://planet.openstreetmap.org/planet/full-history/">http://planet.openstreetmap.org/planet/full-history/</a><br>
* Simon's extracts : available only unti redaction period, but there are some small files to try : <a href="http://odbl.poole.ch/extracts/">http://odbl.poole.ch/extracts/</a><br><br>Am I missing some other URLs ?<br><br>
I will try asap with Andora :<br><a href="http://odbl.poole.ch/extracts/andorra.osh.bz2">http://odbl.poole.ch/extracts/andorra.osh.bz2</a><br><br>++<br><br><div class="gmail_quote">2012/10/25 kimaidou <span dir="ltr"><<a href="mailto:kimaidou@gmail.com" target="_blank">kimaidou@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for your answers.<br>I will try with a smal extract first.<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">
2012/10/25 Simon Poole <span dir="ltr"><<a href="mailto:simon@poole.ch" target="_blank">simon@poole.ch</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 25.10.2012 15:43, schrieb kimaidou:<br>
<div>> Hi,<br>
><br>
> Looking at this file<br>
> <a href="https://github.com/gravitystorm/openstreetmap-license-change/blob/master/extract_loader.rb" target="_blank">https://github.com/gravitystorm/openstreetmap-license-change/blob/master/extract_loader.rb</a><br>


><br>
> It seems if we do not use the --file, --users-agreed nor<br>
> --changesets-agreed options, this will import the whole history file<br>
> into an apidb.<br>
> This looks promising !<br>
> I am not a ruby guy, so I will surely need some time to understand how<br>
> to install and run this file, but I will give it a try. What about<br>
> performance ? Does it handle a big history file ?<br>
<br>
</div>AFAIK it took multiple days to import Ireland (which indicates a year or<br>
so for the whole planet).<br>
<span><font color="#888888"><br>
Simon<br>
</font></span><div><div><br>
<br>
<br>
_______________________________________________<br>
dev mailing list<br>
<a href="mailto:dev@openstreetmap.org" target="_blank">dev@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/dev" target="_blank">http://lists.openstreetmap.org/listinfo/dev</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>