<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Caching tiles...how does it work?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2385&amp;type=atom" />
	<updated>2025-08-29T17:41:31Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2385</id>
		<entry>
			<title type="html"><![CDATA[Re: Caching tiles...how does it work?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9885#p9885" />
			<content type="html"><![CDATA[<p>Please give me your area coordinates, zoom levels, provider and style. I&#039;ll check it out.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-08-29T17:41:31Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9885#p9885</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Caching tiles...how does it work?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9884#p9884" />
			<content type="html"><![CDATA[<p>The same this is happening for Google maps. Is it expected that many requests will have no data? I can&#039;t seem to capture any tiles at level 17 or beyond, all requests fail. Why does it make invalid requests?</p>]]></content>
			<author>
				<name><![CDATA[daniel.o.farrow]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=20349</uri>
			</author>
			<updated>2025-08-29T15:23:09Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9884#p9884</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Caching tiles...how does it work?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9883#p9883" />
			<content type="html"><![CDATA[<p>Most likely the Bing Maps servers are configured to always return a 200 code instead of 404 for missed ones.<br />Just add a data size check to the script.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-08-29T15:21:04Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9883#p9883</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Caching tiles...how does it work?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9882#p9882" />
			<content type="html"><![CDATA[<p>Thanks for the script. I am using v3.8 with Bing maps. It seems to partially work, it downloads some tiles...but once I get to the deeper zoom levels (like 15+) I just get constant errors about the downloaded JPG being zero bytes. The requests come back with a 200 (OK) response from the server, so I am not sure what is happening.</p><p>I tried google APIs and it download a bunch under the 16 zoom level and below, but once it got to level 17 I was getting this for all requests:</p><p>REQUEST:<br /><a href="https://khm0.googleapis.com/kh?v=1000&amp;hl=en&amp;x=118365&amp;y=59992&amp;z=17">https://khm0.googleapis.com/kh?v=1000&a … 2&amp;z=17</a></p><p>RESPONSE:<br />{<br />&nbsp; &quot;error&quot;: {<br />&nbsp; &nbsp; &quot;code&quot;: 404,<br />&nbsp; &nbsp; &quot;message&quot;: &quot;Requested entity was not found.&quot;,<br />&nbsp; &nbsp; &quot;status&quot;: &quot;NOT_FOUND&quot;<br />&nbsp; }<br />}</p>]]></content>
			<author>
				<name><![CDATA[daniel.o.farrow]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=20349</uri>
			</author>
			<updated>2025-08-29T14:11:16Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9882#p9882</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Caching tiles...how does it work?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9881#p9881" />
			<content type="html"><![CDATA[<p>Hi.</p><p>Cache tiles to Resources checks which tiles are currently loaded and saves them to Resources.<br />There could be many reasons why this adds new tiles every time, for example:<br />- you click a button on different locations or zoom.<br />- you reached that location by different paths.<br />- some tiles haven&#039;t had time to load yet or have already had time to unload.</p><p>If you want to download an area, it is better to use TileDownloader:<br /><a href="https://forum.infinity-code.com/viewtopic.php?pid=4612#p4612">https://forum.infinity-code.com/viewtop … 4612#p4612</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2025-08-29T10:11:43Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9881#p9881</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Caching tiles...how does it work?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=9880#p9880" />
			<content type="html"><![CDATA[<p>I built script to crawl over an area of the map at multiple zoom levels in order to download all tiles for offline caching (my app will always work offline so I want all tiles in the region of interest downloaded). </p><p>I run my scanner and the click &quot;Cache tiles to Resources&quot;, and this works. However, if I repeatedly run the scanner it will find more new tiles every time. I don&#039;t even see any blank/gray areas on my map, but every time I run a new scan of the exact same region, it downloads more tiles (not changes, but adds NEW files). I was hoping to get to a point where I was certain all tiles in the area of interest are downloaded. How can I be certain it has completed grabbed a region?</p>]]></content>
			<author>
				<name><![CDATA[daniel.o.farrow]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=20349</uri>
			</author>
			<updated>2025-08-28T13:59:16Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=9880#p9880</id>
		</entry>
</feed>
