<?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 — TMS -y support for custom urls]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1481</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1481&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in TMS -y support for custom urls.]]></description>
		<lastBuildDate>Thu, 02 Apr 2020 12:37:47 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: TMS -y support for custom urls]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6119#p6119</link>
			<description><![CDATA[<p>Hello.</p><p>Example:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/CustomWMSProvider.html">http://infinity-code.com/atlas/online-m … vider.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 02 Apr 2020 12:37:47 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6119#p6119</guid>
		</item>
		<item>
			<title><![CDATA[TMS -y support for custom urls]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6118#p6118</link>
			<description><![CDATA[<p>Hi,</p><p>Is it possible to add -y support for (custom) urls to support TMS?</p><p>More information can be found in the QGIS issue and I believe it was present in v2 of online maps.<br /><a href="https://issues.qgis.org/issues/15927">https://issues.qgis.org/issues/15927</a></p><p>I&#039;ve added it to the code myself and it seems to work</p><p>changed the regex replace from:<br />{\w+}</p><p>to:</p><p>{[-]?\w+}</p><p>And added the following lines of code in different scripts/variants:<br />if (v == &quot;-y&quot;) return ((int)(1 &lt;&lt; tile.zoom) - tile.y - 1).ToString();</p><p>Thanks!</p><p>Roy</p>]]></description>
			<author><![CDATA[null@example.com (rooi)]]></author>
			<pubDate>Thu, 02 Apr 2020 12:10:46 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6118#p6118</guid>
		</item>
	</channel>
</rss>
