[OpenLayers-Users] WMTS with different EPSG

Ian Turton ijturton at gmail.com
Fri Dec 9 07:35:59 EST 2011


On 9 December 2011 12:27, Lucas Heezen - Covadis <heezen at covadis.nl> wrote:

>  Hello,****
>
> ** **
>
> I’m having a WMTS server (geoserver) which seeds a layer trough EPSG:28992.
> ****
>
> When I use that layer with OSM it is positioned way off. Here is my code:*
> ***
>
> **
>

By adding the OSM layer as the base map you are changing the projection of
the map to 900913  - I suspect that WMTS doesn't allow reprojection either.
Try switching to a WMS layer and GeoServer will reproject for you.

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111209/a39c578b/attachment.html


More information about the Users mailing list