<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Borja,<br>
<br>
in GraphHopper different FlagEncoder transform OSM data into a
memory efficient representation of edges. That is, the FlagEncoder
themselve know how to convert the flags, e.g.
carFlagEncoder.getSpeed(flags) or carFlagEncoder.getDouble(flags,
key).<br>
<small>(carFlagEncoder = hopper.<span
style="background-color:#e4e4ff;">getEncodingManager</span>().getEncoder("car"))</small><br>
<br>
But the FlagEncoder only store data which is important for routing.
Thus there is in no general street information available in the
flags. <br>
So you either modify create a modified FlagEncoder which stores the
data you want to access, or you have to create a Lookuptable of
edgeId -> OSMproperty during the import.<br>
<br>
Cheers,<br>
Jan <br>
<br>
<br>
<div class="moz-cite-prefix">Am 22.05.2015 um 14:48 schrieb Borja
Rodríguez:<br>
</div>
<blockquote cite="mid:555F2597.8000907@correo.ugr.es" type="cite">Hello,
<br>
I'm trying to get information for a personal project of an edge
from the flags. But once I have the 'long' with the flags, I don't
know that is represented by each bit.
<br>
Anybody know any document where indicated? Or where to get that
information?
<br>
I would like to know if such a street has a bike path or
pedestrian.
<br>
<br>
Thanks to all.
<br>
<br>
_______________________________________________
<br>
GraphHopper mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<br>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
<br>
</blockquote>
<br>
</body>
</html>