Hallo!
Ich versuche weiterhin meinen Balkan Auszug auf mein Garmin Gerät zu
bekommen.
Dazu habe ich:
1. das Europe.tar.gz File von Geofabrik geholt (9 GB)
2. dieses mit Osmosis dann zurecht geschnitten:
./Osmosis/osmosis-0.39/bin/osmosis -v --rx europe.osm.bz2 --bounding-box
top=48.000 left=13.000 bottom=43.000 right=18.000 completeRelations=yes
--wx ausschnitt.osm
Und diese Datei dann gesplittet:
java -Xmx8192m -ea -jar ../splitter/splitter-r179/splitter.jar
--max-nodes=600000 --overlap=4000 --max-areas=255 --cache="cache"
--description="germany" --mapid="12340000" --max-nodes="600000"
--no-trim --overlap="4000" --status-freq="600" --output=xml ausschnitt.osm
Und mit mkgmap nach openmbtmap zu ner Karte verbasteln:
java -ea -Xmx8192m -jar /opt/OSM/mkmap/mkgmap-r2023/mkgmap.jar
--style-file=openmtbmap_style --max-jobs
--generate-sea=polygons,extend-sea-sectors,close-gaps=6000
--reduce-point-density=5.4 --x-reduce-point-density-polygon=5.4 --index
--transparent --adjust-turn-headings --ignore-maxspeeds
--ignore-turn-restrictions --remove-short-arcs=4
--description=openmbtmap_de --location-autofill=1 --route
--country-abbr=de --country-name=germany --mapname=12340000
--family-id=1234 --product-id=1 --series-name="openmbtmap_de_%date%"
--family-name="mbtmap_de_%date%" -tdbfile --overview-mapname=mapset
--area-name="Germany_%date%_openmbtmap.org" -c template.args
Dabei bekomme ich jedoch folgende Fehler/Warnungen:
SEVERE (Polyline): 12340000.osm.gz: Problem writing line (class
uk.me.parabola.imgfmt.app.trergn.Polyline) of type 0x10606 containing 18
points and starting at
http://www.openstreetmap.org/?mlat=43.50333&mlon=16.44125&zoom=17
SEVERE (Polyline): 12340000.osm.gz: Subdivision shift is 0 and its
centre is at
http://www.openstreetmap.org/?mlat=43.39095&mlon=15.38371&zoom=17
SEVERE (Polyline): 12340000.osm.gz: deltaLong = 49285
SEVERE (MapSplitter): 12340012.osm.gz: Area too small to split at
http://www.openstreetmap.org/?mlat=45.09006&mlon=14.62583&zoom=17
(reduce the density of points, length of lines, etc.)
SEVERE (MapSplitter): 12340012.osm.gz: Area too small to split at
http://www.openstreetmap.org/?mlat=45.09006&mlon=14.62583&zoom=17
(reduce the density of points, length of lines, etc.)
SEVERE (MapSplitter): 12340040.osm.gz: Area too small to split at
http://www.openstreetmap.org/?mlat=47.10392&mlon=17.13927&zoom=17
(reduce the density of points, length of lines, etc.)
SEVERE (MapSplitter): 12340040.osm.gz: Area too small to split at
http://www.openstreetmap.org/?mlat=47.10392&mlon=17.13927&zoom=17
(reduce the density of points, length of lines, etc.)
SEVERE (MapSplitter): 12340040.osm.gz: Area too small to split at
http://www.openstreetmap.org/?mlat=47.10392&mlon=17.13927&zoom=17
(reduce the density of points, length of lines, etc.)
SEVERE (MapSplitter): 12340031.osm.gz: Area too small to split at
http://www.openstreetmap.org/?mlat=54.45301&mlon=13.44016&zoom=17
(reduce the density of points, length of lines, etc.)
SEVERE (MapSplitter): 12340031.osm.gz: Area too small to split at
http://www.openstreetmap.org/?mlat=54.45301&mlon=13.44016&zoom=17
(reduce the density of points, length of lines, etc.)
Warning: using default sort
Nicht weiter tragisch, ABER was macht der 54.45301/13.44016 in meinen
Daten, ich hab da doch gar nicht geschnitten?
(ist Rügen, was nun gar ned zum Balkan gehört).
Ist das vielleicht eine Boundary, die wegen Relationen zum Satz dazu gehört?
Und ich hab ja dazu die SRTM Daten geholt für meinen Ausschnitt und ins
0.6 API gewandelt mit Osmosis:
osmosis-0.35/bin/osmosis --read-xml-0.5 srtm.osm enableDateParsing=no
--migrate --wx srtm6.osm
Da kam eine 15GB Datei bei heraus, mein europe-Extrakt war rund 3.5 GB.
Die wollte ich mit Osmosis joinen:
/opt/OSM/Osmosis/osmosis-0.39/bin/osmosis --rx ausschnitt.osm --sort
--rx srtm6.osm --sort --m --wx final.osm
Was aber ned ging, ständig irgendwelche Fehler, etwas googlen meinte: zu
große Daten.
Stimmt das denn? Sind 15GB wirklich zu viel? ;-)
MfG,
Lars Schimmer
--
-------------------------------------------------------------
TU Graz, Institut für ComputerGraphik & WissensVisualisierung
Tel: +43 316 873-5405 E-Mail: l.schim...@cgv.tugraz.at
Fax: +43 316 873-5402 PGP-Key-ID: 0x4A9B1723
_______________________________________________
Talk-de mailing list
Talk-de@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-de