Re: [OSM-talk] OSM Map Evolution (make your own "Year Of Edits" video)

2009-10-29 Thread Alex S.
Valent Turkovic wrote:
> How can I get snapshots month by month for my home town from january 2006 
> to present day via old planet files? Is that possible?

You can try this, see if it's to your liking:
http://labs.geofabrik.de/history/


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OSM Map Evolution (make your own "Year Of Edits" video)

2009-10-29 Thread Ciprian Talaba
Hi,

On Thu, Oct 29, 2009 at 9:59 AM, Frederik Ramm  wrote:

> Hi,
> A git repository, unless git has some magic properties that I am not
> aware of, does not change the fact that you have to extract the data
> from old planet files.
>
> Bye
> Frederik


You are right, the git repository is just another way to store already
extracted data, a way that works for *us* (for example I am not sure if this
will be feasible for Germany, because of the large extract size).

Bye,
Ciprian
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OSM Map Evolution (make your own "Year Of Edits" video)

2009-10-29 Thread Ciprian Talaba
Valent, Frederik,

On Thu, Oct 29, 2009 at 9:42 AM, Valent Turkovic
wrote:

> On Thu, 29 Oct 2009 02:14:36 +0100, Frederik Ramm wrote:
>
> > I don't understand where the git repository comes in? I mean we do have
> > an archive of old planet files already, it's not that stuffing them into
> > a git repository would somehow magically select the region of your
> > interest from them?
>
> Can you explain how can OSM users then get a history for one city from
> old planet files, that would be really helpful. If this is possible then
> git repository isn't necessary, AFAIK, but I'm not the one who made the
> scripts so maybe there has to be a git repository.
>
> How can I get snapshots month by month for my home town from january 2006
> to present day via old planet files? Is that possible?


A git repository is certainly not mandatory, but the existing scripts I
mentioned needs this. If you don't want to create/use git for this purpose
it should be easy enough to modify the scripts to use bzipped/gzipped
extracts of a country. And if you do this change please share the scripts
:), I know that a lot of people would like to use this approach.

Frederik, we used a git repository for our Romanian extract for 2 main
reasons:
1. the extract is a XML file so it should be straightforward to use a
versioning system to take care of the history.
2. space constraints: the Romania history from late 2007 to the present is
around 5GB in .gz format, and the whole git repository has 480MB, and this
includes the latest extract, unpacked (260MB), so it's a big improvement.

Valent, how you can get older data is explained very well by Frederik and
Grant in this thread on Talk:
http://lists.openstreetmap.org/pipermail/talk/2009-October/043705.html
To be more specific, I used the following revisions of the scripts to get a
pre 0.5 extract in the current format:
- r4779 for osm-extract
- r4778 for planetdiff
- r4835 for conv05

Once you have the country format you can use osm2pgsql to insert data in the
database, and you can filter the data to a specific box that will fit your
city.

Hope this clear some points and wil get you started,
--Ciprian
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OSM Map Evolution (make your own "Year Of Edits" video)

2009-10-29 Thread Frederik Ramm
Hi,

Valent Turkovic wrote:
> Can you explain how can OSM users then get a history for one city from 
> old planet files, that would be really helpful. If this is possible then 
> git repository isn't necessary, AFAIK, but I'm not the one who made the 
> scripts so maybe there has to be a git repository.
> 
> How can I get snapshots month by month for my home town from january 2006 
> to present day via old planet files? Is that possible?

You can download *full* planet files from planet.openstreetmap.org and 
then use available scripts (from SVN) to extract your home town from each.

A git repository, unless git has some magic properties that I am not 
aware of, does not change the fact that you have to extract the data 
from old planet files.

Bye
Frederik


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OSM Map Evolution (make your own "Year Of Edits" video)

2009-10-29 Thread Valent Turkovic
On Thu, 29 Oct 2009 02:14:36 +0100, Frederik Ramm wrote:

> I don't understand where the git repository comes in? I mean we do have
> an archive of old planet files already, it's not that stuffing them into
> a git repository would somehow magically select the region of your
> interest from them?

Can you explain how can OSM users then get a history for one city from 
old planet files, that would be really helpful. If this is possible then 
git repository isn't necessary, AFAIK, but I'm not the one who made the 
scripts so maybe there has to be a git repository.

How can I get snapshots month by month for my home town from january 2006 
to present day via old planet files? Is that possible?


-- 
pratite me na twitteru - www.twitter.com/valentt
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OSM Map Evolution (make your own "Year Of Edits" video)

2009-10-28 Thread Frederik Ramm
Hi,

Ciprian Talaba wrote:
> As I mentioned on my blog I will try to write a more detailed tutorial about
> this, but it will take me a few days probably.

I don't understand where the git repository comes in? I mean we do have 
an archive of old planet files already, it's not that stuffing them into 
a git repository would somehow magically select the region of your 
interest from them?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] OSM Map Evolution (make your own "Year Of Edits" video)

2009-10-28 Thread Ciprian Talaba
Hi Valent,

On Thu, Oct 29, 2009 at 12:17 AM, Valent Turkovic  wrote:

> Please check out this great blog post from Romanian OSM mappers:
> http://snipurl.com/svk0b
>
> Ever since I saw great ITO World animation "Year of Edits" I wanted to
> make my own version. This look like it is possible. Just look at the
> Bulgarian OSM mappers blog post.
>
>
As you mentioned in the first paragraph its Romanian, not Bulgarian mappers
:)


> So in order to make this work they made git repository for planet file
> and that is how it is possible to get a history for some town or place,
> because git repository keeps all changes ever made.
>
> So in order to make your own animations you need to have your own
> planet.osm git repository. That is the first big hurdle :(
>
> I hope that OSM creates an official public git repository so that anybody
> can get "history" for his town/place.
>
> If/when we get history for some town what are the next steps? I'm still
> not clear what are the next steps needed.
>
> Is somebody more familiar with this? If you are please provide some step-
> by-step instructions.
>
>
As I mentioned on my blog I will try to write a more detailed tutorial about
this, but it will take me a few days probably.


>
> Here is the translation from Bulgarian blog post:
> "To help Eddy, it was requested to provide OpenStreetMap on national
> television, I took the scripts we use it and with minor changes (required
> to use own Mapnik installation) I was able to generate several films with
> developing the project OSM in Romania. The results are not terribly
> spectacular (see ITO World) but I think the record pretty well out of so
> many people work."
>
>
And a little better translation of my post: "In order to help Eddy, who was
invited to present OSM on the national TV channel, I took the scripts he
used, and with little changes in order to fit my Mapnik installation I was
able to generate a few movies with the OSM evolution in Romania. The results
are not spectacular (compared to ITO World) but I think they show pretty
well the work of so many people."

Regards,
Ciprian, OSM Romania
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk


[OSM-talk] OSM Map Evolution (make your own "Year Of Edits" video)

2009-10-28 Thread Valent Turkovic
Please check out this great blog post from Romanian OSM mappers:
http://snipurl.com/svk0b

Ever since I saw great ITO World animation "Year of Edits" I wanted to 
make my own version. This look like it is possible. Just look at the 
Bulgarian OSM mappers blog post.

So in order to make this work they made git repository for planet file 
and that is how it is possible to get a history for some town or place, 
because git repository keeps all changes ever made.

So in order to make your own animations you need to have your own 
planet.osm git repository. That is the first big hurdle :(

I hope that OSM creates an official public git repository so that anybody 
can get "history" for his town/place.

If/when we get history for some town what are the next steps? I'm still 
not clear what are the next steps needed.

Is somebody more familiar with this? If you are please provide some step-
by-step instructions.


Here is the translation from Bulgarian blog post:
"To help Eddy, it was requested to provide OpenStreetMap on national 
television, I took the scripts we use it and with minor changes (required 
to use own Mapnik installation) I was able to generate several films with 
developing the project OSM in Romania. The results are not terribly 
spectacular (see ITO World) but I think the record pretty well out of so 
many people work."

And here is Eddys post explaining how these scripts work:
http://lists.openstreetmap.org/pipermail/talk/2009-September/042646.html

"The main ideas:
- the planet files are stored in a git repo (in another branch than
master - the scripts warn about this and give advice)
- the generation of the maps is currently tailored to focus on Caracal,
my home town where I was the author of he huge majority of changes; it
would be nice if this was configurable by an external file, but I expect
patches - you can commit anonymously in the mob branch :-)
- the generation can go back from the most recent version of the planet
file in the "planet repo" down to a date or down a certain number of 
commits
- mapnik is used for generation and the database configuration stuff
surely needs checking
- the main script is "gen_dated_maps" which in turn calls "gen_map" -
gen_map is the rename of gen_map_Caracal and should be the generic
version of the map generator
- the images are created in a ne directory _maps, and can be added an
optional time stamp"


-- 
pratite me na twitteru - www.twitter.com/valentt
http://kernelreloaded.blog385.com/
linux, blog, anime, spirituality, windsurf, wireless
registered as user #367004 with the Linux Counter, http://counter.li.org.
ICQ: 2125241, Skype: valent.turkovic


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk