<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EstiloCorreo17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 85.05pt 70.85pt 85.05pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Fred, Why don’t you try to get the description from the instruction itself???? Ex:<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>TranslationMap</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>trMap</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>new</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> TranslationMap().doImport();</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:black'>Locale l = </span><b><span style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>new</span></b><span style='font-size:10.0pt;font-family:"Courier New";color:black'> Locale(</span><span style='font-size:10.0pt;font-family:"Courier New";color:#2A00FF'>"es"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>);</span><span style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";color:black;background:silver;mso-highlight:silver'>Translation </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0;background:yellow;mso-highlight:yellow'>esTR</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'> = </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>trMap</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.getWithFallBack(l);</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>lastInstruction</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>.getTurnDescription(</span><span style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>esTR</span><span style='font-size:10.0pt;font-family:"Courier New";color:black'>);</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=ES style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>De:</span></b><span lang=ES style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> Fred Laurent [mailto:fredlaurent31@gmail.com] <br><b>Enviado el:</b> Wednesday, May 20, 2015 3:51 AM<br><b>Para:</b> GraphHopper Java routing engine<br><b>Asunto:</b> [GraphHopper] [Graphhopper]Instructions<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hello,<br>I use the last version of graphHopper from Git and In my app <br>I try to show the Instruction (Like Road Book) and my code is :<br><br>.......<br> GHResponse resp = hopper.route(req);<br><br> InstructionList il = resp.getInstructions();<br> TranslationMap SINGLETON = new TranslationMap().doImport();<br> Translation trad = SINGLETON.getWithFallBack(Locale.US);<br> And if i try this :<br> List<String> iList = il.createDescription(trad); I have an error because in the class instructionList.java i don't have the function " List<String> createDescription(Locale locale) " ... <br>Please,How make?<br> I follow <a href="https://github.com/graphhopper/graphhopper/blob/master/docs/core/routing.md">https://github.com/graphhopper/graphhopper/blob/master/docs/core/routing.md</a> and <a href="http://grepcode.com/file/repo1.maven.org/maven2/com.graphhopper/graphhopper/0.1/com/graphhopper/util/InstructionList.java/#InstructionList.createDescription%28java.util.Locale%29">http://grepcode.com/file/repo1.maven.org/maven2/com.graphhopper/graphhopper/0.1/com/graphhopper/util/InstructionList.java/#InstructionList.createDescription%28java.util.Locale%29</a><br>thank you <o:p></o:p></p></div></div></body></html>