<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — TMS -y support for custom urls]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1481&amp;type=atom" />
	<updated>2020-04-02T12:37:47Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1481</id>
		<entry>
			<title type="html"><![CDATA[Re: TMS -y support for custom urls]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6119#p6119" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-04-02T12:37:47Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6119#p6119</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[TMS -y support for custom urls]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6118#p6118" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[rooi]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=786</uri>
			</author>
			<updated>2020-04-02T12:10:46Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6118#p6118</id>
		</entry>
</feed>
