<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 19.05.2014 um 14:12 schrieb Peter K <<a href="mailto:peathal@yahoo.de">peathal@yahoo.de</a>>:</div><br class="Apple-interchange-newline"><blockquote type="cite">yes, sure. You can collect this while import e.g. via your own<br>CarFlagEncoder and store the maxspeed via an additional EncodedValue<br>(like we already do for the speed itself), and then add a separate<br>getMaxSpeed method to the encoder to read this information.<br></blockquote></div><br><div>I have take a look into <a href="https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/CarFlagEncoder.java">https://github.com/graphhopper/graphhopper/blob/master/core/src/main/java/com/graphhopper/routing/util/CarFlagEncoder.java</a></div><div>IMHO it seems to be correct, if I run this.getGraph().getEncodingManager().getEncoder("CAR").getSpeed I should get the correct speed limit on a road, shouldn't I?</div><div><br></div><div>The encoder reads the limit from the data and if it not set it sets the default value. Did I understand it correct, that GraphHopper reads the data and use it? I'm a little bit</div><div>confused, I need not to implement the encoder myself.</div><div><br></div><div>Phil</div></body></html>