Hi,
I have been writing integration tests for Mapfish-print. For each type of protocol I have written a simple GeoExt based html page that prints layers.
I use a default Geoserver.
For each test page I display tiger-ny with the desired format (for example WMTS) and tiger:tiger_roads using WMS. The idea is to ensure that the two layers line up in the html display and the output mapfish-print pdf file.
WMTS, OSM, WMS and Vector all work correctly (both layers correctly align)
However when I used TMS the two layers do not align. The TMS layer is half way around the world to the west.
The projection is EPSG:900913.
The desired center is:
-8236566.427097, 4976131.070529
but to get the TMS layers to display I needed to put the center at:
3570451.1286428, 9077780.2262548
Code is at:
Any ideas what is going on here?
Jesse