Hello all
I have a test Leaflet map pulling in tiled rasters from integrated GWC via WMS. I am investigating trying to pull in the tiles via WMTS. Does this offer a performance improvement over WMS?
If so, I am struggling to get it to work. As far as I can understand, Leaflet pulls in WMTS tiles by constructing a path for each tile with x, y, and z as variables within it. Is the GWC directory/filename structure based on XYZ? In other words, are the numbers used in the GWC directories and filenames coordinates, or do they follow an internal GWC naming convention?
If I am barking up the wrong tree, then more broadly, has anyone managed to pull in GWC tiles to Leaflet over WMTS? If so, how?
Thanks
Tom
Tom Chadwin, UK National Parks Portal Manager
Telephone: 01434 611511 Mob: 07881 109617
Web: www.northumberlandnationalpark.org.uk<http://www.northumberlandnationalpark.org.uk/>
IMPORTANT NOTICE - Disclaimer - This communication is from Northumberland National Park Authority (NNPA).The Authority’s head office and principal place of business is Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United Kingdom. If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please delete the email and destroy any copies of it. Any views or opinions presented are solely those of the author and do not necessarily represent those of NNPA.Contractors or potential contractors are reminded that a formal Order or Contract is needed for NNPA to be bound by any offer or acceptance of terms for the supply of goods or services Although this email and any attachments are believed to be free of any virus or other defects which might affect any computer or IT system into which they are received, no responsibility is accepted by the NNPA for any loss or damage arising in any way from the receipt or use thereof. Computer systems of this Authority may be monitored and communications carried out on them recorded, to secure the effective operation of the system and for other lawful purpose.
GWC’s internal coordinate system is the same as that used by TMS, with the Y coordinate running the opposite direction to WMTS. The GWC service implementations (Including WMTS) do not directly expose the underlying tile storage though, they are wrappers around it and the WMTS service flips the Y coordinate to correct for this difference.
This might be an issue of the WMTS encoding used. GWC only supports KVP encoding, not the REST or SOAP encodings. I don’t know enough about Leaflet to say.
···
On 1 May 2014 07:31, Tom Chadwin <tom.chadwin@anonymised.com> wrote:
Hello all
I have a test Leaflet map pulling in tiled rasters from integrated GWC via WMS. I am investigating trying to pull in the tiles via WMTS. Does this offer a performance improvement over WMS?
If so, I am struggling to get it to work. As far as I can understand, Leaflet pulls in WMTS tiles by constructing a path for each tile with x, y, and z as variables within it. Is the GWC directory/filename structure based on XYZ? In other words, are the numbers used in the GWC directories and filenames coordinates, or do they follow an internal GWC naming convention?
If I am barking up the wrong tree, then more broadly, has anyone managed to pull in GWC tiles to Leaflet over WMTS? If so, how?
Thanks
Tom
Tom Chadwin, UK National Parks Portal Manager
Telephone: 01434 611511 Mob: 07881 109617
Web: www.northumberlandnationalpark.org.uk<http://www.northumberlandnationalpark.org.uk/>
IMPORTANT NOTICE - Disclaimer - This communication is from Northumberland National Park Authority (NNPA).The Authority’s head office and principal place of business is Eastburn, South Park, Hexham, Northumberland, NE46 1BS, United Kingdom. If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful. If you have received this communication in error, please delete the email and destroy any copies of it. Any views or opinions presented are solely those of the author and do not necessarily represent those of NNPA.Contractors or potential contractors are reminded that a formal Order or Contract is needed for NNPA to be bound by any offer or acceptance of terms for the supply of goods or services Although this email and any attachments are believed to be free of any virus or other defects which might affect any computer or IT system into which they are received, no responsibility is accepted by the NNPA for any loss or damage arising in any way from the receipt or use thereof. Computer systems of this Authority may be monitored and communications carried out on them recorded, to secure the effective operation of the system and for other lawful purpose.
“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
–
Kevin Smith
Junior Software Engineer | Boundless
ksmith@anonymised.com
+1-778-785-7459
@boundlessgeo