[Geomoose-users] Example with TMS in GM3

Brent Fraser bfraser at geoanalytic.com
Fri Aug 21 10:48:20 PDT 2020


Hi Uchoa,

Assuming you have a web server set up and the tiles are accessible from a browser (and you've installed GeoMoose and have the desktop demo working), you add a mapsource to your GeoMoose mapbook.xml like:

<map-source name="my_source" type="xyz">
<layer name="my_layer".>
<url>https://myserver.com/tilepath/{z}/{x}/{-y}.png</url>
<param name="cross-origin" value="anonymous"/>
</map-source>

and add a reference to the Catalog portion of the mapbook.xml
<layer title="My tiles" src="my_source /my_layer " legend="false" fade="true" unfade="true"/>

Note the "-y" in the <url>.  I'm not sure this actually works; if it doesn't, retile in gdal2tiles using the "-xyz" option (and change the "-y" to "y" in the <url>

Best Regards,
Brent Fraser

----------------------------------------

From: Helton Nogueira Uchoa <engenheiro.uchoa at gmail.com>
Sent: 8/21/20 11:23 AM
To: GeoMOOSE Users List <geomoose-users at lists.osgeo.org>
Subject: [Geomoose-users] Example with TMS in GM3

Hi,

I had generated tiles with gdal2tiles.py. I can't find how to add a layer with these tiles in GM3.

Anyone can share an example? Is it possible?

Thanks,

Kind regards,

Uchoa

--
Helton Nogueira UCHOA :: engenheiro.uchoa at gmail.com
GIS/IT/IoT/Lean/Innovation/Sustainability Specialist

+55 85 98886-3909 (OI - WhatsApp) :: +55 85 99716-7769 (TIM)

LinkedIn: br.linkedin.com/in/heltonuchoa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20200821/9760990c/attachment.html>


More information about the Geomoose-users mailing list