<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=419&amp;type=atom" />
	<updated>2017-11-21T09:43:54Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=419</id>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3031#p3031" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Bevakuf24]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=587</uri>
			</author>
			<updated>2017-11-21T09:43:54Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3031#p3031</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3026#p3026" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-11-20T18:09:24Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3026#p3026</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3025#p3025" />
			<content type="html"><![CDATA[<p>and the image:</p>]]></content>
			<author>
				<name><![CDATA[Bevakuf24]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=587</uri>
			</author>
			<updated>2017-11-20T14:29:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3025#p3025</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3024#p3024" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Bevakuf24]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=587</uri>
			</author>
			<updated>2017-11-20T14:26:21Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3024#p3024</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=3023#p3023" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Bevakuf24]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=587</uri>
			</author>
			<updated>2017-11-20T14:01:36Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=3023#p3023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2852#p2852" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[danielles]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=550</uri>
			</author>
			<updated>2017-09-27T14:10:31Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2852#p2852</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2847#p2847" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-09-25T17:17:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2847#p2847</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2846#p2846" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[danielles]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=550</uri>
			</author>
			<updated>2017-09-25T07:22:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2846#p2846</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2020#p2020" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-03-15T23:26:46Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2020#p2020</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=2015#p2015" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[hyaqub]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=361</uri>
			</author>
			<updated>2017-03-15T11:51:31Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=2015#p2015</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1989#p1989" />
			<content type="html"><![CDATA[<p>Yes, and send to Online Maps exactly the data, the coordinates of which it give to your script.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-03-13T11:34:02Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1989#p1989</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1987#p1987" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[hyaqub]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=361</uri>
			</author>
			<updated>2017-03-13T09:16:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1987#p1987</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1978#p1978" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-03-10T19:18:10Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1978#p1978</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1974#p1974" />
			<content type="html"><![CDATA[<p>Ah yes you&#039;re right. Here&#039;s the new one</p>]]></content>
			<author>
				<name><![CDATA[hyaqub]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=361</uri>
			</author>
			<updated>2017-03-10T15:17:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1974#p1974</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Help with loading Altitude/Elevation data as TMS from GeoServer]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=1972#p1972" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2017-03-10T15:06:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=1972#p1972</id>
		</entry>
</feed>
