Hello,
I’m using Geoserver and GWC to serve mapbox vector tiles which is all going well. The fly in the ointment is that I need to use a third party app (eg. Maputnik, Mapbox studio style editor), to generate styles for the layers. All of these apps use Google/OSM’s standard of specifying slippy tiles, which places the tile origin at the top left, while TMS places it at the bottom left. This isn’t a problem in OpenLayers 3.0 because putting a minus sign in front of the {-y} coordinate will translate the coordinate correctly. Since I can’t get into 3rd party code, I can’t use the same trick.
I saw here: http://gis.stackexchange.com/questions/52637/geoserver-tiles-grid-offset, that WMTS could provide a workaround. Sadly, I don’t seem to be able to get this working. Here is my URL:
I should see the lot boundaries, as is shown here, in the top centre tile:
I’m using the Google tile references, instead of TMS. All I see on the client is the following:
If I use the TMS coordinates in the same URL in OpenLayers 3.0, the features come down fine. Also, am I right in assuming to use the URL as a template, I should just use the following?
Any insights that can be provided would be much appreciated.
Cheers,
Tom