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 ?

Michael



2012/10/25 Andy Allan <gravityst...@gmail.com>

> On 23 October 2012 09:15, kimaidou <kimai...@gmail.com> wrote:
> > Hi Paul,
> >
> > Thanks for pointing this out. I would say this file is the one you
> pointed :
> >
> https://github.com/gravitystorm/openstreetmap-license-change/blob/master/check_history.rb
>
> It's actually a different file for loading history extracts into an
> apidb database:
>
>
> https://github.com/gravitystorm/openstreetmap-license-change/blob/master/extract_loader.rb
>
> There's a lot of stuff in there about license acceptance, which of
> course was more relevant to the original purpose of the script. Don't
> worry though, all the licensing stuff is only for calculating the
> agreed_time column in the users table - it doesn't affect the main
> output of nodes/ways/relations.
>
> As far as I'm aware, it's still the only code that can load .osh files
> into an apidb database.
>
> Cheers,
> Andy
>
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to