Author Topic: vector .map Germany weekly; regions daily  (Read 16425 times)

Offline sebbo

  • More than Newbie
  • *
  • Posts: 50
    • View Profile
    • http://sebbosweb.com
Re: vector .map Germany weekly; regions daily
« Reply #30 on: April 19, 2012, 22:39:20 »
:(
on the 30GB of Ram server it says out of memory when creating a poly from alps.osm...
gonna try it with 55GB now
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11381
  • Thanked: 301 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: vector .map Germany weekly; regions daily
« Reply #31 on: April 19, 2012, 22:43:21 »
nonsence sebbo ... I'm generating whole world on 8GB!!, change type from RAM to HD if ram cause errors
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline sebbo

  • More than Newbie
  • *
  • Posts: 50
    • View Profile
    • http://sebbosweb.com
Re: vector .map Germany weekly; regions daily
« Reply #32 on: April 19, 2012, 23:17:53 »
grml... not working

Code: [Select]
perl __osm2poly.pl alps.osm > alps.polygives me:
Code: [Select]
cannot process tag 'highway' at __osm2poly.pl line 43, <> line 97857556.
:(
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline sebbo

  • More than Newbie
  • *
  • Posts: 50
    • View Profile
    • http://sebbosweb.com
Re: vector .map Germany weekly; regions daily
« Reply #33 on: April 20, 2012, 10:14:24 »
woops. my mistake. i took the alps.osm.bz2 from geofabrik, extracted it and used that to create the poly with the per script...

but creating the osm xml file with josm seems to have worked outed now...

generating the alps atm ;-)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline sebbo

  • More than Newbie
  • *
  • Posts: 50
    • View Profile
    • http://sebbosweb.com
Re: vector .map Germany weekly; regions daily
« Reply #34 on: April 21, 2012, 02:01:38 »
alps finally done!
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3553
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: vector .map Germany weekly; regions daily
« Reply #35 on: April 21, 2012, 13:14:54 »
Quote from: "sebbo"
alps finally done!
GREAT! nice work!
now i have my "all in one" map.
thank you very much!
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3553
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: vector .map Germany weekly; regions daily
« Reply #36 on: April 21, 2012, 16:16:12 »
addendum:

sebbo - this map is perfect for me(!) - but those are not the whole alps.
you cut the french/italian alps ;)

for the next update:
Is it possible for you to create an irregular polygon? (light blue line)
The file size would be about 30% percent smaller.
16.41937616621625,48.5313749678073
16.71225306026338,47.56683451481947
15.88463107797332,46.86253463823533
16.09266645945049,45.96597427642283
15.55324848323148,45.68194516857887
13.66403490424418,45.51870913986308
12.40603552753515,45.04589212092135
8.444561533151781,45.39100442163858
7.656416889557351,44.85510797660638
8.662783039859786,44.3930690318375
8.614538218909777,43.94344149722311
7.886797028973744,43.51713086416973
6.481713614555201,43.34529744689402
5.0561865484714,43.44090388337344
4.555796889656387,44.0418110728835
4.458123328881197,44.80255153601465
7.095115023798324,47.1451410030832
11.14542735218659,48.22419609582962
and back to
16.41937616621625,48.5313749678073


or If you can only process a rectangle with four corners:
top left: 4.58708893269876,48.37187658009991
top right: 16.594518371296,48.37187658009991
bottom rigth: 16.594518371296,43.4146901466986
bottom left: 4.58708893269876,43.4146901466986
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline ppiter

  • More than Newbie
  • *
  • Posts: 60
    • View Profile
Re: vector .map Germany weekly; regions daily
« Reply #37 on: April 22, 2012, 21:03:33 »
I just downloaded alps.map. ABSOLUTELY PERFECT! Thank you very much.

This map is perfect for me and for other people doing transalp crossing by bike or by foot. This map is also perfect for people riding bike or do hiking in border regions in the alps and in "Voralpengebiet". The map gynta proposed would included the frensh alps as well, but there are no transalp trails in this region. My friends and I think this size and region is ideal.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3553
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: vector .map Germany weekly; regions daily
« Reply #38 on: April 22, 2012, 21:10:23 »
As I wrote:
It is also perfect for me.
...but thats not "the Alps" :-)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline sebbo

  • More than Newbie
  • *
  • Posts: 50
    • View Profile
    • http://sebbosweb.com
Re: vector .map Germany weekly; regions daily
« Reply #39 on: April 23, 2012, 11:48:00 »
now it includes the french/italian alps
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline gynta

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 3553
  • Thanked: 40 times
    • View Profile
    • Locus live tracking service
  • Device: SM-A530F(A8) Android 8.0.0
Re: vector .map Germany weekly; regions daily
« Reply #40 on: April 23, 2012, 13:43:57 »
Quote from: "sebbo"
now it includes the french/italian alps
Thanks!
The whole Alps! ..with a nice filesize 437 MB (458.567.680 Bytes)
-> http://gps.sebbosweb.com/
great job sebbo
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Henk van der Spek

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 204
  • Thanked: 2 times
    • View Profile
    • enduro.nl
  • Device: Ulefone Armor 2 Android 7.0
Re: vector .map Germany weekly; regions daily
« Reply #41 on: April 25, 2012, 20:31:56 »
Great work Sebbo; even stretches of the GR5 on it. And our beloved Gran Paradiso!  :D
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ulefone Armor 2 Android 7.0
 

Offline sebbo

  • More than Newbie
  • *
  • Posts: 50
    • View Profile
    • http://sebbosweb.com
Re: vector .map Germany weekly; regions daily
« Reply #42 on: June 27, 2012, 22:36:25 »
if anybody wants to create maps on his own.
here is my step by step howto to do it an a fresh ubuntu server installation

Code: [Select]
###login as user
sudo passwd root
###type your password and then the new password for user root twice
logout
###login as root
apt-get update
apt-get upgrade
reboot
###login as root
apt-get dist-upgrade
reboot
###login as root
wget http://bretth.dev.openstreetmap.org/osmosis-build/osmosis-latest.zip
apt-get install unzip
unzip osmosis-latest.zip
mkdir .openstreetmap
mkdir .openstreetmap/osmosis
mkdir .openstreetmap/osmosis/plugins
cd .openstreetmap/osmosis/plugins
wget http://mapsforge.googlecode.com/files/mapsforge-map-writer-0.3.0-jar-with-dependencies.jar ### source: http://code.google.com/p/mapsforge/downloads/list
cd /root
mkdir planet
cd planet
wget http://download.geofabrik.de/osm/europe/germany/bremen.osm.pbf
mkdir /root/osm
cd /root/osmosis-0.40.1/bin
chmod 777 osmosis
apt-get install openjdk-6-jdk openjdk-6-source openjdk-6-demo openjdk-6-doc openjdk-6-jre-headless openjdk-6-jre-lib
./osmosis --rb file=/root/planet/bremen.osm.pbf --mapfile-writer file=/root/osm/bremen.map type=hd
« Last Edit: January 01, 1970, 01:00:00 by Guest »