<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Google Earth elevation data]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=65&amp;type=atom" />
	<updated>2017-05-18T19:42:25Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=65</id>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2377#p2377" />
			<content type="html"><![CDATA[<p>Thanks for the info.<br />It is better to do this way:<br /></p><div class="codebox"><pre><code>bool isIgnore = ignoreGetElevation;
ignoreGetElevation = true;
UpdateMapMesh();
ignoreGetElevation = isIgnore;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-05-18T19:42:25Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2377#p2377</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2374#p2374" />
			<content type="html"><![CDATA[<p>Thanks for your feedback. In the &quot;OnlineMapsTileSetControls.cs&quot; file, the line UpdateMapMesh() (at the very end) must also be comment out in InitMapMesh().<br />InitMapMesh() is also called in OnAwakeBefore(). UpdateMapMesh() calls GetElevation() at the very beginning...<br />It works for me now. I hope, the comment lines have no side effects... ;-)</p>]]></content>
			<author>
				<name><![CDATA[Betlis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=459</uri>
			</author>
			<updated>2017-05-18T06:42:17Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2374#p2374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2372#p2372" />
			<content type="html"><![CDATA[<p>Hello.</p><p>That&#039;s a great question.<br />Unfortunately, I do not remember why we added this line in Online Maps v1.6 (three years ago).<br />This is wrong. The first request should be much later.<br />So you can just comment out this line (in OnAwakBefore).<br />We will remove this line in the next update.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-05-17T23:29:01Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2372#p2372</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2370#p2370" />
			<content type="html"><![CDATA[<p>I&#039;m trying to use this example (TestESRIElevations.cs) with Fly-Demo-Scene.</p><p>In &quot;OnlineMapsTileSetControls.cs&quot;, GetElevation() is called with OnAwakBefore() before Start() has been called up in &quot;TestESRIElevations.cs&quot; and &quot;control.OnGetElevation + = OnGetElevation&quot; can be called. <br />For this reason, in GetElevation() &quot;OnGetElevation&quot; is equal to null and the Bing data is retrieved (with StartDownloadElevation). OnGetElevation(...) in &quot;TestESRIElevations.cs&quot; is never called.</p><p>What do I need to change? I have not had a very big experience in Unity, maybe it&#039;s a beginner&#039;s mistake ...</p>]]></content>
			<author>
				<name><![CDATA[Betlis]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=459</uri>
			</author>
			<updated>2017-05-17T10:13:12Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2370#p2370</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1421#p1421" />
			<content type="html"><![CDATA[<p>Thank you for the example.<br />ESRI seems to works better than Bings. Indeed in zome area Bing API won&#039;t be able to send us Elevations.<br />With ESRI o not have any issues right now.</p><div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>I do not like the idea of making a request with manual listing all the points for which need to return elevations. At least you can be faced with a limits of length of GET request.</p></blockquote></div><p>We did some test on the google maps API. Indeed, we must be careful on the limits of length of GET request, but we can easily handle it.</p><p>The big issue is not on the quantity but more on the accuracy. On the documentation we can read :<br />“You may pass any number of multiple coordinates within an array or encoded polyline, as long as you don&#039;t exceed the service quotas, while still constructing a valid URL. Note that when passing multiple coordinates, the accuracy of any returned data may be of lower resolution than when requesting data for a single coordinate.”</p><p>Indeed when we test to request a 32x32 array of elevation the results was not accurate enough.</p><p>Thank you for your time.<br />Regards</p>]]></content>
			<author>
				<name><![CDATA[Pentos]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=73</uri>
			</author>
			<updated>2016-11-10T11:31:05Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1421#p1421</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1420#p1420" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Example attached.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-11-10T05:42:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1420#p1420</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1418#p1418" />
			<content type="html"><![CDATA[<p>Hello,<br />Yes an example could be usefull.<br />Thank you in advance.</p>]]></content>
			<author>
				<name><![CDATA[Pentos]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=73</uri>
			</author>
			<updated>2016-11-09T17:02:55Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1418#p1418</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1416#p1416" />
			<content type="html"><![CDATA[<p>Hello.</p><p>I do not like the idea of making a request with manual listing all the points for which need to return elevations. At least you can be faced with a limits of length of GET request.<br />We will try to implement it. But I&#039;m not sure that it will work at all, and work the same on all platforms.</p><p>You can use ArcGIS Elevation API, as an alternative to Bing Maps Elevation API.<br />If you want, I can send an example.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2016-11-09T00:15:52Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1416#p1416</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1414#p1414" />
			<content type="html"><![CDATA[<p>Hello,</p><p>We have experienced very poor responses to request elevation data using Bing API.<br />It looks like google maps api is much more reliable then Bing.<br />Even if we can&#039;t use it for area it&#039;s possible to setup a request for an array of values or using an<br />Encoded Polyline Algorithm Format (see <a href="https://developers.google.com/maps/documentation/elevation/intro?hl=en).">https://developers.google.com/maps/docu … ro?hl=en).</a></p><p>We could develop on our own branch code but it would be much better if it would be integrated to the main source code of online maps.<br />Is it something that you envision developing at some stage?</p><p>Thank you</p><p>Regards</p>]]></content>
			<author>
				<name><![CDATA[Pentos]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=73</uri>
			</author>
			<updated>2016-11-08T09:48:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1414#p1414</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=251#p251" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Using Online Maps API, you can intercept the request to download the elevation data, and load elevation data from any source (SRTM, Google Elevation API, etc).<br />Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/InterceptElevationRequestExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p><p>But really there is no other good online source of elevation data (or I just do not know about this source).<br />Google Elevation API can not get elevation data for area (only location or path).</p><p>If you know a good source of elevation data, just let me know.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2015-12-08T18:40:22Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=251#p251</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Google Earth elevation data]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=250#p250" />
			<content type="html"><![CDATA[<p>Hi,</p><p>thank you for your very quick response last time.</p><p>I want to use elevation data for the map, but the data from Bing Maps is very inaccurate (it seems) compared to other services like Google Earth. See screenshots attached.</p><p>Is there a way to get the Google Earth elevation data and apply it to the Map instead of Bing?<br />And if so, how would you do that with your API?</p><p>Thank you in advance. If you need more information, please let me know.</p><br /><p>just 1 attachment allowed, so here is a link to the images:<br /><a href="http://postimg.org/gallery/uhs09j72/">http://postimg.org/gallery/uhs09j72/</a></p>]]></content>
			<author>
				<name><![CDATA[vandem]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=60</uri>
			</author>
			<updated>2015-12-08T17:38:39Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=250#p250</id>
		</entry>
</feed>
