Re: [mkgmap-dev] Commit: r1576: There seems to be a way to show elevation profiles

2010-02-20 Thread Minko
Hi,
I use the standard Garmin types for contour lines, 0x20, 0x21 and 0x22

I created the contour lines with Srtm2Osm, split srtm.osm data with the same
tile area bounds as my map. Now I have two img's of the same area,
one with osm data, one with contour lines.
E.g. 10010001.img and 10010101.img

The contour tile is transparent so I can see the contours on top of the map
in Mapsource. 

Is it possible to merge those two layers into one tile and still keep the 
routing?
How can I merge the two 10010001.osm with 10010101.osm or 10010001.img with 
10010101.img?

Will it be possible to show the elevation profile with this approach?

Cheers, 
Minko

Ronny Klier wrote:
This will not work. I got the same problem in different versions of 
MapSource. May be there should be an explicit warning in show-profiles 
option help.

 If I make one mapset with only contour lines, I see an emtpy profile.

This works fine for me (in 6.15.11).
Did you use the standard Garmin types for elevation(0x20-0x21)?
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Disable multipolygon processing

2010-02-20 Thread Charlie Ferrero
Hi,

Is there a way of disabling the multipolygon processing completely?  I 
generate a routing layer that has no areas nor does it care about 
relations, so it would be nice if I could disable multipolygon 
processing to make things quicker.

-- 
Charlie
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] access restrictions and routing

2010-02-20 Thread Mark Burton

Hello Torsten,

 highway=*  mkgmap_routing=foot {set motor_vehicle=no} [0x09 road_class=1
 road=speed=1 resolution 22]

motor_vehicle is not understood by mkgmap - how about:

 {set access=no; set foot=yes}

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] access restrictions and routing

2010-02-20 Thread Torsten Leistikow
Mark Burton schrieb am 20.02.2010 14:02:
 motor_vehicle is not understood by mkgmap - how about:
 
  {set access=no; set foot=yes}

Ah, that does the trick. Thanks!

Gruss
Torsten
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] [PATCH v2] heed the through_route relation when adjusting turn headings

2010-02-20 Thread Clinton Gladstone
On Feb 12, 2010, at 12:46, Mark Burton wrote:

 Is through route documented in the OSM Wiki? I was unable to find
 any information on this.
 
 Not yet, but it should be. I was rather hoping that some kind person
 would add a page to the Wiki describing it.

So about adding this to the Wiki: is there any other information about the 
through_route relation type, except what has appeared in this mailing list?

Is the node with role junction now obsolete, or simply optional?

Cheers.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] [PATCH v2] heed the through_route relation when adjusting turn headings

2010-02-20 Thread Mark Burton

Hi Clinton,

 On Feb 12, 2010, at 12:46, Mark Burton wrote:
 
  Is through route documented in the OSM Wiki? I was unable to find
  any information on this.
  
  Not yet, but it should be. I was rather hoping that some kind person
  would add a page to the Wiki describing it.
 
 So about adding this to the Wiki: is there any other information about the 
 through_route relation type, except what has appeared in this mailing list?

No, I discussed it with a few people on the OSM IRC channel but other
than that, I believe our mailing list knows as much about it as anyone.

 Is the node with role junction now obsolete, or simply optional?

The node is required but it doesn't have to have a role. The
requirements are that the relation has two members that are ways that
meet at the specified node. None of them need to have roles.

It was originally suggested that the node had role junction but I
don't see why that is required.

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Commit: r1576: There seems to be a way to show elevation profiles

2010-02-20 Thread Minko
With some detours, I finally got the elevation profile working in my mapset ;-)
I dont know if it now worked because I also installed Garmin Basecamp.

First, I had all map tiles and contour img's in one mapset.
They are still there, but now I created another tdb index file
with mkgmap on all contour img's from the same mapset, with the options:
--overview-mapname: contours_nl
--show-profiles=1
--tdbfile

I stored the contours_nl.tdb file and contours_nl.img overview map in the same 
directory,
and installed it in Mapsource. 

The result is that I see the contours on top of the map (with routing), and I 
can choose to switch
to the bare contour mapset without all osm data. In this mapset I can see now 
the elevation profile :-)

On the GPS (tested a Etrex and Dakota) I can now switch the contours on and 
off, 
but routing doesn't show the elevation profile.

You can download and view some images of my custom maps on my website: 
http://sites.google.com/site/openfietsmap

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] motor_vehicle

2010-02-20 Thread Marko Mäkelä
Hello Mark,

 motor_vehicle is not understood by mkgmap

Actually, why not? If my memory serves right, mkgmap understands  
motorcar and motorcycle (and maps them to the same access bit), but why  
not motor_vehicle? For example in my understanding, tractors are  
covered by motor_vehicle but not motorcar or motorcycle. The road sign  
for banning motor vehicles does ban tractors too.

Best regards,

Marko
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] motor_vehicle

2010-02-20 Thread Marko Mäkelä
Hello Mark,

 motor_vehicle is not understood by mkgmap

Actually, why not? If my memory serves right, mkgmap understands  
motorcar and motorcycle (and maps them to the same access bit), but why  
not motor_vehicle? For example in my understanding, tractors are  
covered by motor_vehicle but not motorcar or motorcycle. The road sign  
for banning motor vehicles does ban tractors too.

Best regards,

Marko
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] Commit: r1576: There seems to be a way to show elevation profiles

2010-02-20 Thread Ronny Klier
Am 20.02.2010 11:06, schrieb Minko:
 Hi,
 I use the standard Garmin types for contour lines, 0x20, 0x21 and 0x22

 I created the contour lines with Srtm2Osm, split srtm.osm data with the same
 tile area bounds as my map. Now I have two img's of the same area,
 one with osm data, one with contour lines.
 E.g. 10010001.img and 10010101.img

 The contour tile is transparent so I can see the contours on top of the map
 in Mapsource.

 Is it possible to merge those two layers into one tile and still keep the 
 routing?
 How can I merge the two 10010001.osm with 10010101.osm or 10010001.img with 
 10010101.img?

I use osmosis to merge srtm data with osm:
java -jar osmosis.jar --rx srtm.osm --rx 63240001.osm --merge --wx 
combined.osm

 Will it be possible to show the elevation profile with this approach?

 Cheers,
 Minko

 Ronny Klier wrote:
 This will not work. I got the same problem in different versions of
 MapSource. May be there should be an explicit warning in show-profiles
 option help.

 If I make one mapset with only contour lines, I see an emtpy profile.

 This works fine for me (in 6.15.11).
 Did you use the standard Garmin types for elevation(0x20-0x21)?

___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Commit: r1581: Move leisure=sports_centre below sport=*

2010-02-20 Thread svn commit

Version 1581 was commited by marko on 2010-02-20 21:35:50 + (Sat, 20 Feb 
2010) 

Move leisure=sports_centre below sport=*
so that it will only be used when no matching sport=* is specified.
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


Re: [mkgmap-dev] motor_vehicle

2010-02-20 Thread Mark Burton

Hi Marko,

  motor_vehicle is not understood by mkgmap
 
 Actually, why not? If my memory serves right, mkgmap understands  
 motorcar and motorcycle (and maps them to the same access bit), but why  
 not motor_vehicle? For example in my understanding, tractors are  
 covered by motor_vehicle but not motorcar or motorcycle. The road sign  
 for banning motor vehicles does ban tractors too.

Well, no good reason, actually. It's just never been done. Consider it
an omission.

Cheers,

Mark
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev


[mkgmap-dev] Please help: --generate-sea: No coastline

2010-02-20 Thread Daniela Duerbeck
Hi!

I am relatively new to mkgmap but I searched the archive and found no 
answers.
So I try to find help in this mailing list.

I know that generate-sea is still buggy but I cannot achieve any blue 
sea. I try to generate a routable map of the Canary Islands.
With the mkgmap version 1580 I do not even get the coast lines.
With 1484 I got blue islands on yellow sea.

Can there be any interaction between style-files and the generate-sea 
option?

I used these style files:
http://dev.openstreetmap.de/aio/styles/styles.tar.bz2
The  latest splitter.jar. and the needed files from this tarball I 
copied into the directory, where I then ran this script:

--
wget 
http://www.informationfreeway.org/api/0.6/map?bbox=-18.55,27.29,-12.82,29.89 
-O canarias.osm

mkdir tiles
cp splitter.jar tiles
cd tiles

$JAVA_BINDIR/java -Xmx2000M -jar splitter.jar --mapid=63240347 
--max-nodes=100 ../canarias.osm
cd ..
mkdir gbasemap; mkdir gaddr; mkdir gboundary

cp mkgmap.jar gbasemap; cp mkgmap.jar gaddr; cp mkgmap.jar gboundary;

cp -r addresslayer_style gaddr
cp -r boundary_style gboundary
cp -r masterstyle gbasemap

cp -r addr.TYP gaddr
cp -r boundary.TYP gboundary
cp -r master.TYP gbasemap

cd gbasemap
$JAVA_BINDIR/java -Xmx2000M -jar mkgmap.jar --max-jobs 
--style-file=masterstyle --description='Openstreetmap' 
--country-name=spain --country-abbr=ES --family-id=4 --product-id=45 
--series-name='OSM-AllInOne-ES-bmap' --family-name=OSM --area-name=EU 
--latin1 --mapname=63240345 --draw-priority=10 --add-pois-to-areas 
--make-all-cycleways --link-pois-to-ways --remove-short-arcs --net 
--route --ignore-osm-bounds --generate-sea='polygons' --gmapsupp 
../tiles/*.osm.gz master.TYP
cd ..
cd gaddr
$JAVA_BINDIR/java -Xmx2000M -jar mkgmap.jar --max-jobs 
--style-file=addresslayer_style --description='Adressen' 
--country-name=spain --country-abbr=ES --family-id=5 --product-id=40 
--series-name='OSM-AllInOne-ES-Addr' --family-name=ADRESSEN 
--area-name=EU --latin1 --mapname=63241345 --draw-priority=20 
--no-poi-address --no-sorted-roads --add-pois-to-areas --transparent 
--gmapsupp ../tiles/*.osm.gz addr.TYP
cd ..
cd gboundary
$JAVA_BINDIR/java -Xmx2000M -jar mkgmap.jar --max-jobs 
--style-file=boundary_style --description='Boundary_Layer' 
--country-name=spain --country-abbr=ES --family-id=6 --product-id=30 
--series-name='OSM-AllInOne-ES-boundary' --family-name=boundary 
--area-name=EU --latin1  --mapname=63240625 --draw-priority=21 
--no-poi-address --no-sorted-roads --transparent --gmapsupp 
../tiles/*.osm.gz boundary.TYP
cd ..

./gmt -jo gmapsupp.img gbasemap/gmapsupp.img gaddr/gmapsupp.img 
gboundary/gmapsupp.img
-

Are there any additional options I should try to get at least  a buggy sea?

Thanks a lot in advance,
Dani
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev