User:Railrun/Sandbox
Jump to navigation
Jump to search
Sandbox!!!
Kartenausschnitt von DD erstellen.
sh osmosis-0.38/bin/osmosis --read-xml file="sachsen.osm" --bounding-box top=51.2 left=13.5 bottom=50.9 right=14.0 --write-xml file="dresden.osm"
Erzeugung der Karte
java -Xmx1024M -jar mkgmap/dist/mkgmap.jar --latin1 --series-name=MkgmapIndex --family-name=MkgmapTest --remove-short-arcs --make-poi-index --net --route --tdbfile --nsis --location-autofill=2 --index --country-name=Deutschland --country-abbr=DEU --area-name=DEU dresden.osm
#java -Xmx1024M -jar splitter/dist/splitter.jar --mapid=63240345 --max-nodes=1000000 --output-dir=tiles ./sachsen.osm java -Xmx1024M -jar mkgmap/dist/mkgmap.jar --latin1 --series-name=MkgmapIndex --family-name=MkgmapTest --remove-short-arcs --index --net --route --tdbfile --nsis --merge-lines --location-autofill=0 --country-name=Deutschland --country-abbr=DEU --area-name=DEU ./tiles/*.osm.gz python gmapi-builder.py -t osmmap.tdb -b osmmap.img -i osmmap.mdx -m osmmap_mdr.img osmmap.img 632403*.img osmmap_mdr.img rm -r /Users/railrun/Library/Application\ Support/Garmin/Maps/MkgmapIndex.gmap/
bzcat germany.osm.bz2 | java -Xmx1024M -jar splitter/dist/splitter.jar --mapid=63240345 --max-nodes=1000000 --output-dir=tiles /dev/stdin
bzcat sachsen.osm.bz2 | sh ./osmosis/bin/osmosis --read-xml file=/dev/stdin --way-key-value keyValueList="highway.motorway,highway.motorway_link,highway.trunk,highway.trunk_link,highway.primary,highway.primary_link,highway.secondary,highway.secondary_link,highway.tertiary,highway.residential,highway.unclassified,highway.road,highway.living_street,highway.service,highway.track,highway.pedestrian,highway.raceway,highway.services,highway.bus_guideway,highway.mini_roundabout,highway.stop,highway.give_way,highway.traffic_signals,highway.crossing,highway.motorway_junction,highway.turning_circle,highway.construction,highway.passing_place,landuse.allotments,landuse.basin,landuse.brownfield,landuse.cemetery,landuse.commercial,landuse.construction,landuse.farm,landuse.farmland,landuse.farmyard,landuse.forest,landuse.garages,landuse.grass,landuse.greenfield,landuse.greenhouse_horticulture,landuse.industrial,landuse.landfill,landuse.meadow,landuse.military,landuse.orchard,landuse.quarry,landuse.railway,landuse.recreation_ground,landuse.reservoir,landuse.residential,landuse.retail,landuse.salt_pond,landuse.village_green,landuse.vineyard,natural.bay,natural.beach,natural.cave_entrance,natural.cliff,natural.coastline,natural.fell,natural.glacier,natural.heath,natural.land,natural.marsh,natural.mud,natural.peak,natural.sand,natural.scree,natural.scrub,natural.spring,natural.stone,natural.tree,natural.volcano,natural.water,natural.wetland,natural.wood,place.city,place.town,place.village,place.hamlet,boundary.administrative ,waterway.river,waterway.stream,waterway.riverbank,waterway.canal,waterway.ditch,waterway.drain" --used-node --write-xml file="street.osm"