ppawel / openstreetmap-watch-list

OpenStreetMap Watch List (OWL) follows the minutely map updates and forms a base to build incremental analysis algorithms on.
http://wiki.openstreetmap.org/wiki/OWL_(OpenStreetMap_Watch_List)
BSD 3-Clause "New" or "Revised" License
25 stars 9 forks source link

Updates installation instructions #21

Closed thiagoarrais closed 11 years ago

thiagoarrais commented 11 years ago

I've been taking a look into OWL and trying to run it.

INSTALL.md was a little outdated, so I am updating it as I go. Here is a PR with what I've got so far.

I am stuck in the tiler, though. By looking into scripts/tiler.rb, it seems to me that it needs some kind of input file with the changeset ids. How do I get/generate one of those?

ppawel commented 11 years ago

Oh my, you are a brave man if you tried to run it :-) Thanks for the update, I will apply it although I planned to move installation and development documentation to the wiki.

thiagoarrais commented 11 years ago

I am still stuck in the tiling, though...

I've extracted some changeset ids from 757.osc.gz, ran ./tiler.rb --retile --changes /tmp/changeset_ids, stole some coordinates with select x, y from tiles. But http://localhost:3000/api/0.1/changesets/16/2/1.json keeps giving me an empty list.

ppawel commented 11 years ago

@thiagoarrais tiler.rb expects a list of changesets from standard input so you can do something like:

cat /tmp/changeset_ids | ./tiler.rb

But after that you will still get empty results because changeset metadata needs to be loaded to the table "changesets". I will document that today on the wiki. You can get changeset metadata in two ways: either by running replication/replicate_changesets.rb script or by parsing the weekly changesets metadata dump file. I will describe it on the wiki shortly so I will not duplicate exact instructions here.

thiagoarrais commented 11 years ago

Thanks, @ppawel. I'll keep trying and look forward for your instructions.

ppawel commented 11 years ago

@thiagoarrais I am very happy that someone takes interest in OWL but please don't spend too much time on it based on the current documentation. A lot has changed in November/December and I need to document new concepts and tools. I also started a page for hackers:

http://wiki.openstreetmap.org/wiki/OWL/Hacking

There I will describe concepts, components, data flow and the structure of the code to help people who want to get involved.

ppawel commented 11 years ago

@thiagoarrais I have added some content to the wiki in the last two hours but still there is more to describe. I will have to do that later or tomorrow, sorry for the delay.

thiagoarrais commented 11 years ago

No problem. I think that's already enough for me to play. Thanks a lot.