[mapserver-users] WMTS tiles not at correct Latitude (and moving)

Lars Fricke fricke at gisberater.com
Wed Mar 4 22:58:36 PST 2015


Hello Ben,

looking at your screenshot this does not look right at all.
What I would do is, connect myself to the database, the wms (directly 
and via mapcache), and to OSM at the same time with QGIS (open source) 
and see what happens there. I was able to figure out most of my CRS 
issues that way. I QGIS you can set the layer CRS and reproject on the 
fly, seeing what happens if you change one or the other. The project CRS 
however needs to be set to EPSG:3857 indeed if you work with open 
layers. Reprojection activated.

You could then of course post your mapfile and configurations if you 
can't narrow it down that way.

Best

Lars




Am 05.03.2015 um 06:53 schrieb Ben Madin:
> G’day all,
>
> we have set up a map cache wmts layer to produce boundaries for our mapping system.
>
> In isolation, it was looking OK, however when we layer the boundaries with any known background (OSM etc) they appear to be offset by a few degrees S (it is all in EPSG:3857)
>
> To confuse things more, as we zoom in a couple of layers, this seems to be moving north (which is good), but not enough to converge with our background or data layers - so still bad.
>
> I’ve put an image to illustrate this at :
>
> https://s3-ap-southeast-2.amazonaws.com/uploads.ausvet.com.au/Misaligned-WMTS.png
>
> My guess is I have done something wrong at some level of configuration (postgis data, mapfile, wms config, mapcache.xml or OpenLayers),  but it might be that it is common enough that most people can figure it out (which is why I couldn’t find a good reason!)
>
> Any advice would be gratefully accepted. I can put up further details as required (or if it isn’t as simple as I thought)
>
> cheers
>
> Ben
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users



More information about the mapserver-users mailing list