<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=419</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=419&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Help with loading Altitude/Elevation data as TMS from GeoServer.]]></description>
		<lastBuildDate>Tue, 21 Nov 2017 09:43:54 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3031#p3031</link>
			<description><![CDATA[<p>Hi</p><p>Thanks for letting me know. I&#039;ll ask my colleague if he is able to edit the maps for me. </p><p>I store them in the materials to get the tile images in the correct order. I&#039;ll make sure to do it a different way. If I manage it I&#039;ll post the code on here. </p><p>Thanks for your help</p>]]></description>
			<author><![CDATA[null@example.com (Bevakuf24)]]></author>
			<pubDate>Tue, 21 Nov 2017 09:43:54 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3031#p3031</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3026#p3026</link>
			<description><![CDATA[<p>Hello.</p><p>No, Online Maps does not have built-in features to load GeoTiff or DEM.<br />You must load the data and pass it to the map.</p><p>Your way of loading elevation data is extremely expensive.<br />It just kills the performance of the application.<br />Perhaps your server can return 32x32 elevations for the required area.<br />This will save a lot of time on both sides (client and server).</p><p>You have an incorrect heightmap as a result.<br />I do not know why this happened in your case.<br />It needs to be tested to say definitely what is wrong.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 20 Nov 2017 18:09:24 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3026#p3026</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3025#p3025</link>
			<description><![CDATA[<p>and the image:</p>]]></description>
			<author><![CDATA[null@example.com (Bevakuf24)]]></author>
			<pubDate>Mon, 20 Nov 2017 14:29:15 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3025#p3025</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3024#p3024</link>
			<description><![CDATA[<p>ps:</p><p>I did try a solution but I&#039;m sure it was wrong:</p><p>Online Maps uses 32 instances of a material for each tile. I cheated and made it so that whenever I downloaded a geotiff tile, I would set the geotiff as &quot;overlayBackTexture&quot; of the tile. Then I would make a composite image of the 32 tile images stored in the overlayBackTexture and convert that into a short[32,32] array and set elevation from that. The resolution of each tile image was 256x256.</p><br /><p>(see attached files)</p><br /><p>I&nbsp; would obviously get a very bad looking&nbsp; heightmap but I wanted to know if I might have been going in the right direction.</p>]]></description>
			<author><![CDATA[null@example.com (Bevakuf24)]]></author>
			<pubDate>Mon, 20 Nov 2017 14:26:21 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3024#p3024</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=3023#p3023</link>
			<description><![CDATA[<p>Hi</p><p>I also have a similar question about handling GeoTiff Elevation data. I have seen some solutions where people convert GeoTiff to DEM data. Does Online Maps have an inbuilt way handling GeoTiff and/or DEM data? </p><p>I&#039;m trying to find some public data I can send to you as an example. My colleague set me up with a local geoserver install to work with on my laptop. I&#039;m trying to find a public link I can send to you. If it helps, the link I use reads like this:</p><br /><p>[localhostURL]/wms?service=WMS&amp;version=1.1.0&amp;request=GetMap&amp;layers=jump:elevation&amp;styles=&amp;bbox=-180.0,-90.0,180.0,90.0&amp;width=768&amp;height=384&amp;srs=EPSG:4326&amp;format=application/openlayers</p><p>(I edited the link above as I&#039;m only allowed to post one link for some reason) </p><p>...which gives me the collection of GeoTiff tiles as shown in the attached image</p><p>I can download the GeoTiffs and convert them pngs and/or byte arrays but that is as far as I get. I have seen that people convert geotiff to Digital Elevation Maps (DEM) before handling them in Unity. Does Online Maps have a toolset for handling GeoTiff/DEM data? </p><p>Sorry I could not give you a url to work with but as soon as I can find an online example I will send it to you. All I know is that the data we are using is DTED Level 0 (free) LandSat data.<br /><a href="http://vterrain.org/Elevation/dted.html">http://vterrain.org/Elevation/dted.html</a></p><p>Thanks in advance</p>]]></description>
			<author><![CDATA[null@example.com (Bevakuf24)]]></author>
			<pubDate>Mon, 20 Nov 2017 14:01:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=3023#p3023</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2852#p2852</link>
			<description><![CDATA[<p>I understand, I figured you might have a url which you can use and share with us or maybe an entire example you could share with us of OnGetElevation(). Sorry for the misunderstanding.<br />So I&#039;v been having trouble too on adding correct code to OnGetElevation(). However It might be that the url I am using is not the right format. Right now the script runs and i&#039;m getting height but the heights are always the same. meaning, my OnGetElevation() always return the exact same array values regardless of the vectors topLeftCoodrs and bottomRightCoords.</p><p>I&#039;m attaching my script here any input would be greatly appreciated.</p>]]></description>
			<author><![CDATA[null@example.com (danielles)]]></author>
			<pubDate>Wed, 27 Sep 2017 14:10:31 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2852#p2852</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2847#p2847</link>
			<description><![CDATA[<p>Hello.</p><p>Unfortunately, I did not understand what url you expect to get from me.</p><p>If you mean url of topic starter, then:<br />1. I do not have this.<br />2. In any case, I would not give it to you, because this is private information of the person who applied for support. <br />I do not have the right to publish such information.</p><p>If you asked about something else, please explain this in detail.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 25 Sep 2017 17:17:56 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2847#p2847</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2846#p2846</link>
			<description><![CDATA[<p>Alex, could you please provide us with a working url so we could test if the problem is in our code or with our url?</p><p>Thank you,<br />Danielle</p>]]></description>
			<author><![CDATA[null@example.com (danielles)]]></author>
			<pubDate>Mon, 25 Sep 2017 07:22:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2846#p2846</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2020#p2020</link>
			<description><![CDATA[<p>No, there is no easy way.</p><p>P.S. In my first post of this thread, I have offered you help.<br />Your security policy is not my business.<br />But it really hurts me to see that you have not been able to do it in a month.<br />Yes, that it is quite a difficult task.<br />For me it&#039;s a task for an hour, and for you, I think, for another month.<br />So I&#039;m offering you help again. You know what I need for this.<br />Think about it.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 15 Mar 2017 23:26:46 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2020#p2020</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2015#p2015</link>
			<description><![CDATA[<p>So I&#039;m looking to how to go about setting the elevation properly. I get the bounds from OnGetElevation (top left and bottom right). In the attached image I am generating files with their top left and bottom right within these bounds. My thinking was that I would stitch these in order to get a composite image which I can then set as elevation. I have a feeling I am over-complicating things.<br />Is there an easy way to export the current tileset as a whole image which I can then convert to a short[,]?</p>]]></description>
			<author><![CDATA[null@example.com (hyaqub)]]></author>
			<pubDate>Wed, 15 Mar 2017 11:51:31 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2015#p2015</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1989#p1989</link>
			<description><![CDATA[<p>Yes, and send to Online Maps exactly the data, the coordinates of which it give to your script.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 13 Mar 2017 11:34:02 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1989#p1989</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1987#p1987</link>
			<description><![CDATA[<p>Ah right. I had a feeling that might have been the case. Would I have to composite the tiles into a single image before converting it to elevation data?</p>]]></description>
			<author><![CDATA[null@example.com (hyaqub)]]></author>
			<pubDate>Mon, 13 Mar 2017 09:16:56 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1987#p1987</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1978#p1978</link>
			<description><![CDATA[<p>Your code is not correct.<br />The current version of Online Maps uses elevation data for the entire map, and not for tiles.<br />To OnGetElevation are passed the coordinates of the area for which you need to get elevations.<br />You load elevations for tiles, and this is not the same.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 10 Mar 2017 19:18:10 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1978#p1978</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1974#p1974</link>
			<description><![CDATA[<p>Ah yes you&#039;re right. Here&#039;s the new one</p>]]></description>
			<author><![CDATA[null@example.com (hyaqub)]]></author>
			<pubDate>Fri, 10 Mar 2017 15:17:29 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1974#p1974</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1972#p1972</link>
			<description><![CDATA[<p>Are you sure this is the last version of the script?!<br />It does not contain anything on line 72.</p><p>P.S. For tile textures use:<br />texture.wrapMode = TextureWrapMode.Clamp;</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 10 Mar 2017 15:06:09 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1972#p1972</guid>
		</item>
	</channel>
</rss>
