x

Re: Hilfestellung bei der Erstellung von Karten aus historischen Daten


Geschrieben von ikonor (Gast) am 25. Mai 2017 20:24:41: [flux]

Als Antwort auf: Hilfestellung bei der Erstellung von Karten aus historischen Daten geschrieben von Lübeck (Gast) am 23. Mai 2017 07:18:

Ubuntu Pakete für osmium-tool gäbe es hier, allerdings nicht für trusty (http://osmcode.org/osmium-tool/ > Download):
https://packages.ubuntu.com/xenial/osmium-tool

Es gibt ein Docker file zum automatisierten Bauen der Quellen in einer separaten Umgebung (Container), das wäre vermutlich am einfachsten:
https://gist.github.com/ImreSamu/5447252a4e750fd8c61e

Ansonsten hier mein Protokoll (unter Ubuntu 16.04.) zum Bauen mit minimalen Abhängigkeiten (könnte aber unvollständig sein):

1. Ordner zum Installieren anlegen

Dort Kommandozeile öffnen, um dann nachher osmium-tool und libosmium nebeneinander in Unterordnern installieren ("git clone", siehe unten), damit wird libosmium automatisch gefunden:

CMake looks for Libosmium in a few places. If it finds it, it will just work. One of the places it looks for Libosmium is in ../libosmium. So if you are using the git version, clone libosmium and osmium-tool in the same directory and it will find it.

https://github.com/osmcode/osmium-tool/ … t-94706533

2. osmium-tool

Mit git clone wird die aktuelle Entwicklungsversion heruntergeladen, alternativ jeweils ein stabiles Release Zip herunterladen:
https://github.com/osmcode/osmium-tool/releases

git␣clone␣https://github.com/osmcode/osmium-tool
sudo␣apt-get␣install␣libboost-dev␣libboost-program-options1.58-dev

3. libosmium

git␣clone␣https://github.com/osmcode/libosmium.git
sudo␣apt-get␣install␣libexpat1-dev␣zlib1g-dev␣libbz2-dev

4. Bauen

siehe https://github.com/osmcode/osmium-tool#building

Falls noch nicht bekannt, die Geofabrik bietet seit kurzem auch Full History Extrakte an:
full history files on Geofabrik server (dev ML)