Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)

2016-01-22 Thread A. Carlos
Hi Gerd.

 I'm sorry, I tried to make the changes, but do not know how.

 Only able to adjust the rules in the lines.

 But if you ever want to implement them in mkgmap in all the link. Thank you, 
I'm here to test this stuff.

  
 
 
 
 
 
 

___

Anor  
  
 
 
 
 
 
 
 


From: gpetermann_muenc...@hotmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Thu, 21 Jan 2016 13:22:08 +
Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using 
mkgmap -3657 and motorway_junction, ref=(exit#)








Hi Anor,





yes, if you think that makes sense. You have to modify the code in 
LinkDestinationHook.java first so that these

two sets contain the corresponding strings:



private final static Set highwayTypes = new 
LinkedHashSet(Arrays.asList(

"motorway", "trunk", "primary", "motorway_link", "trunk_link", 
"primary_link"));

private HashSet linkTypes = new HashSet(Arrays.asList(

"motorway_link", "trunk_link", "primary_link"));

 



and then modify the rules. 







Gerd









Von: mkgmap-dev-boun...@lists.mkgmap.org.uk 
 im Auftrag von A. Carlos 


Gesendet: Donnerstag, 21. Januar 2016 13:56

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using 
mkgmap -3657 and motorway_junction, ref=(exit#)
 



hello 
Gerd



the default 
style have



(highway = 
motorway_link | trunk_link
highway = |
= highway primary_link)
& mkgmap: 
exit_hint = * 
& mkgmap: dest_hint
= true!

   {Name '$ 
{destination: ref 
| subst: =>}
$ {destination
| subst:; 
=> | subst: /
=>}' |

  '$ {ref
| subst: =>}
$ {destination
| subst:; 
=> | subst: /
=>}' |

  '$ {destination
| subst:; 
=> | subst: /
=>}'

}



is possílvel 
include this also in secondary_link,
tertiary_link ?



  

 

 

 

 

 

 



___



Anor C. A. de Souza 
 Concórdia SC 
  


 
 

 

 

 

 

 

 

 








From: gpetermann_muenc...@hotmail.com

To: mkgmap-dev@lists.mkgmap.org.uk

Date: Wed, 20 Jan 2016 07:42:02 +

Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using 
mkgmap -3657 and motorway_junction, ref=(exit#)




Hi Greg,





I just tried your example with the default style.

I see a hint containing the exit number (28) when I only use --process-exits 
(without --process-destination)

With --process-destination I see the hint "Exit right onto ramp onto Plymouth 
Livonia"




I am not sure if it is intended that the --process-destination "removes" the 
exit hint,

this looks like an error to me. I'll have to dig into the code and the archives 
to understand what it should do.

In the meantime you may check your style: Does your lines file contain rules 
like these?

(highway=motorway_link | highway=trunk_link | highway=primary_link) & 
mkgmap:exit_hint=true & mkgmap:dest_hint=true

  { name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | 

 '${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | 

 '${destination|subst:;=> |subst:/=> }' |

 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' | 

 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_exit_to}' | 

 'Exit ${mkgmap:exit_hint_exit_to}' |

 'Exit ${mkgmap:exit_hint_name}' |

 'Exit ${mkgmap:exit_hint_ref}'

   }



(highway=motorway_link | highway=trunk_link | highway=primary_link) & 
mkgmap:exit_hint!=* & mkgmap:dest_hint=true

  { name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |

 '${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' | 

 '${destination|subst:;=> |subst:/=> }'

   }



(highway=motorway_link | highway=trunk_link | highway=primary_link) & 
mkgmap:exit_hint=true & mkgmap:dest_hint!=*

  { name 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' | 

 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_exit_to}' | 

 'Exit ${mkgmap:exit_hint_exit_to}' |

 'Exit ${mkgmap:exit_hint_name}' |

 'Exit ${mkgmap:exit_hint_ref}'

   }

   







Gerd







Von: mkgmap-dev-boun...@lists.mkgmap.org.uk 
 im Auftrag von greg crago 


Gesendet: Mittwoch, 20. Januar 2016 00:28

An: Development list for mkgmap

Betreff: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using 
mkgmap -3657 and motorway_junction, ref=(exit#)
 


Yes Gerd,



I use both of those options in my mkgmap command. Is there any other way to get 
the EXIT number displayed on my GPS during active routing for the 'next turn'?




Re: [mkgmap-dev] Create different Maps with working routing between them - is it possible?

2016-01-22 Thread Alexandre Loss
Hi Enrico,

After join them with osmosis, you can try to split the huge resultant map with 
Splitter tool. It will produce some smaller rectangular maps routable among 
them.

Regards,

Alexandre Loss

Enviado do meu iPhone

> Em 21 de jan de 2016, às 13:08, Enrico Liboni  escreveu:
> 
> Folks, if I download two countries pbf from geofabrik, merge them via osmosis 
> and then build a single img map routing works fine across the countries.
> 
> If I create two img files, one per country and put it on my garmin device, 
> enable both maps, I can see  all the ways seems correctly linked but routing 
> across the two countries (maps) fails.
> 
> Is that the expected behavior or am I doing somehting wrong?
> 
> Thanks,
> Enrico
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using mkgmap -3657 and motorway_junction, ref=(exit#)

2016-01-22 Thread Gerd Petermann

Hi Anor,


see attached patch, the binary is here:

http://files.mkgmap.org.uk/download/288/mkgmap.jar


Gerd


Von: mkgmap-dev-boun...@lists.mkgmap.org.uk 
 im Auftrag von A. Carlos 

Gesendet: Freitag, 22. Januar 2016 22:48
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using 
mkgmap -3657 and motorway_junction, ref=(exit#)


Hi Gerd.

I'm sorry, I tried to make the changes, but do not know how.

Only able to adjust the rules in the lines.

But if you ever want to implement them in mkgmap in all the link. Thank you, 
I'm here to test this stuff.









___


Anor


















From: gpetermann_muenc...@hotmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Thu, 21 Jan 2016 13:22:08 +
Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using 
mkgmap -3657 and motorway_junction, ref=(exit#)

Hi Anor,


yes, if you think that makes sense. You have to modify the code in 
LinkDestinationHook.java first so that these
two sets contain the corresponding strings:

private final static Set highwayTypes = new 
LinkedHashSet(Arrays.asList(
"motorway", "trunk", "primary", "motorway_link", "trunk_link", 
"primary_link"));
private HashSet linkTypes = new HashSet(Arrays.asList(
"motorway_link", "trunk_link", "primary_link"));


and then modify the rules.



Gerd




Von: mkgmap-dev-boun...@lists.mkgmap.org.uk 
 im Auftrag von A. Carlos 

Gesendet: Donnerstag, 21. Januar 2016 13:56
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using 
mkgmap -3657 and motorway_junction, ref=(exit#)


hello Gerd

the default style have

(highway = motorway_link | trunk_link highway = | = highway primary_link) & 
mkgmap: exit_hint = * & mkgmap: dest_hint = true!
   {Name '$ {destination: ref | subst: =>} $ {destination | subst:; => | subst: 
/ =>}' |
  '$ {ref | subst: =>} $ {destination | subst:; => | subst: / =>}' |
  '$ {destination | subst:; => | subst: / =>}'
}

is possílvel include this also in secondary_link, tertiary_link ?









___


Anor C. A. de Souza 
 Concórdia SC

















From: gpetermann_muenc...@hotmail.com
To: mkgmap-dev@lists.mkgmap.org.uk
Date: Wed, 20 Jan 2016 07:42:02 +
Subject: Re: [mkgmap-dev] Trying to get EXIT info on my MONTANA 600 using 
mkgmap -3657 and motorway_junction, ref=(exit#)

Hi Greg,


I just tried your example with the default style.
I see a hint containing the exit number (28) when I only use --process-exits 
(without --process-destination)
With --process-destination I see the hint "Exit right onto ramp onto Plymouth 
Livonia"

I am not sure if it is intended that the --process-destination "removes" the 
exit hint,
this looks like an error to me. I'll have to dig into the code and the archives 
to understand what it should do.
In the meantime you may check your style: Does your lines file contain rules 
like these?
(highway=motorway_link | highway=trunk_link | highway=primary_link) & 
mkgmap:exit_hint=true & mkgmap:dest_hint=true
  { name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |
 '${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |
 '${destination|subst:;=> |subst:/=> }' |
 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' |
 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_exit_to}' |
 'Exit ${mkgmap:exit_hint_exit_to}' |
 'Exit ${mkgmap:exit_hint_name}' |
 'Exit ${mkgmap:exit_hint_ref}'
   }

(highway=motorway_link | highway=trunk_link | highway=primary_link) & 
mkgmap:exit_hint!=* & mkgmap:dest_hint=true
  { name '${destination:ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |
 '${ref|subst: =>} ${destination|subst:;=> |subst:/=> }' |
 '${destination|subst:;=> |subst:/=> }'
   }

(highway=motorway_link | highway=trunk_link | highway=primary_link) & 
mkgmap:exit_hint=true & mkgmap:dest_hint!=*
  { name 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_name}' |
 'Exit ${mkgmap:exit_hint_ref} ${mkgmap:exit_hint_exit_to}' |
 'Exit ${mkgmap:exit_hint_exit_to}' |
 'Exit ${mkgmap:exit_hint_name}' |
 'Exit ${mkgmap:exit_hint_ref}'
   }




Gerd



Von: mkgmap-dev-boun...@lists.mkgmap.org.uk 
 im Auftrag von greg crago 

Gesendet: Mittwoch, 20. Januar 

Re: [mkgmap-dev] Create different Maps with working routing betweenthem - is it possible?

2016-01-22 Thread Enrico Liboni
Got it - thanks!
On Jan 21, 2016 19:16, "Walter Schlögl" 
wrote:

> Hello Enrico,
>
> yes, this is the expected behavior.
>
> The img file has to be created in one single part,
> otherwise routing over the boarders is not possible.
>
> At the moment I am looking for a solution for 2 very big parts,
> which are in total bigger than 4 GB.
>
> One idea is to splitt POIs, ways and areas into 3 layers
> and generate every layer into one file.
>
> I have not done it yes, but it could work.
>
> Walter
>
> *From:* Enrico Liboni 
> *Sent:* Thursday, January 21, 2016 5:08 PM
> *To:* Development list for mkgmap 
> *Subject:* [mkgmap-dev] Create different Maps with working routing
> betweenthem - is it possible?
>
> Folks, if I download two countries pbf from geofabrik, merge them via
> osmosis and then build a single img map routing works fine across the
> countries.
>
> If I create two img files, one per country and put it on my garmin device,
> enable both maps, I can see  all the ways seems correctly linked but
> routing across the two countries (maps) fails.
>
> Is that the expected behavior or am I doing somehting wrong?
>
> Thanks,
> Enrico
>
> --
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
> ___
> mkgmap-dev mailing list
> mkgmap-dev@lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
>
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Re: [mkgmap-dev] Create different Maps with working routing betweenthem - is it possible?

2016-01-22 Thread Bernd Weigelt
Am Donnerstag, 21. Januar 2016, 19:16:52 CET schrieb Walter Schlögl:
> One idea is to splitt POIs, ways and areas into 3 layers
> and generate every layer into one file.

For routing you have to put POIs, ways and addresses in the same layer, but 
for this layer you use invisible lines for each routable type like

[_line]
Type=0x07
UseOrientation=N
Xpm="32 1 2 1"
"0 c #FF"
"1 c none"
""
[end]

and for each POIs an invisble1x1 dot

[_point]
Type=0x03005
String1=0x02,Gemeindezentrum
String2=0x04,Community centre
ExtendedLabels=N
dayxpm="1 1 2 1" colormode=16
"$ c #FF"
"% c none"
"%"
[end]

Then you can use transparent layers over this layer to display everything you 
want, if you use the nonroutable types.

[_line]
Type=0x11007
UseOrientation=Y
String1=0x02,Zufahrtsweg
String2=0x04,Service
UseOrientation=Y
ExtendedLabels=N
UseOrientation=Y
LineWidth=2
BorderWidth=0
Xpm="0 0 1 0"
"0 c #838383"

Bernd

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


[mkgmap-dev] Will you please include water thanks in future releases.

2016-01-22 Thread Regunathan Umapathy
OSM generic ones does not show water tanks (man_made=water_tower) is there
any possibility to include them with future releases. You may have a look
at http://www.openstreetmap.org/node/3629402393 in vavuniya, sri lanka.

-- 
Regards
Regunathan Umapathy (Uma)
http://hdyc.neis-one.org/?Umapathy 
___
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev