<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Phil,<br>
<br>
here is more information:<br>
<a class="moz-txt-link-freetext" href="https://github.com/graphhopper/graphhopper/blob/master/docs/core/elevation.md">https://github.com/graphhopper/graphhopper/blob/master/docs/core/elevation.md</a><br>
<br>
<blockquote
cite="mid:00066EC4-77EA-4806-AFBE-7801A84B2A4C@tu-clausthal.de"
type="cite">
<div>
<div>How can I get / read the <a moz-do-not-send="true"
href="http://www.dict.cc/englisch-deutsch/elevation.html"
style="color: black; text-decoration: none; font-family:
arial, helvetica, sans-serif; font-size: 13px; widows: 1;">elevation</a> data?
IMHO I need a call on my GHResponse</div>
<div>I need the <a moz-do-not-send="true"
href="http://www.dict.cc/englisch-deutsch/elevation.html"
style="color: black; text-decoration: none; font-family:
arial, helvetica, sans-serif; font-size: 13px; widows: 1;">elevation</a> of
an edge at the moment.</div>
</div>
</blockquote>
<br>
You can read the elevation like you are getting lat and lon:<br>
edge.fetchWayGeometry(n).getEle(i)<br>
<br>
<blockquote
cite="mid:00066EC4-77EA-4806-AFBE-7801A84B2A4C@tu-clausthal.de"
type="cite">
<div>
<blockquote type="cite">
<div text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">You could use the data from
OSM, but as this is only available for certain points and
even those are not measured in the same system this is
pretty useless.<br>
</div>
</div>
</blockquote>
</div>
<br>
<div>Does GraphHopper import the data from the PBF file? <br>
</div>
</blockquote>
<br>
No, elevation is not read from the pbf. See OSMReader and the
ElevationProvider implementations how this is done.<br>
<br>
<br>
<blockquote
cite="mid:00066EC4-77EA-4806-AFBE-7801A84B2A4C@tu-clausthal.de"
type="cite">
<div>@Off-topic but included by the question: How can I get access
on the OSM meta data e.g. sideways, building data. Does in
GraphHopper an API call exists?</div>
</blockquote>
<br>
No. We only read and store data that we need. Sideways are included
but not the building data. <br>
<br>
Regards,<br>
Peter<br>
</body>
</html>