[OpenLayers-Users] WfS and WMTS images drawn at different scales

Dave Potts dave.potts at pinan.co.uk
Tue Sep 24 23:56:25 PDT 2013


On 24/09/13 17:03, Dave Potts wrote:
> I am trying to extract an image from WMTS server and data from a WFS 
> server.
>
> There seems to be a slighlt problem with scales.  The WMTS image is 
> drawn about 1/2 the size of the of the WFS data, the centroid of both 
> data samples is correct, the issue seems to be a scale problem.
>
> There a trac page on the subject at 
> http://trac.osgeo.org/openlayers/wiki/SettingZoomLevels, but it only 
> covers TMS servers.
>
>
> Does anybody known how to scale a WFS image so that it matches the 
> limited range of zoom levels offered by a WMTS service?
Problem sorted!  You need to define a resolutions value that matches the 
value of the wmts server and a maxExtent when defining the map


>
> Dave.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list