[Qgis-user] Apparent bug or undesirable behaviour in QGIS (2.6.1/2.4.0)

Trudgett, David D.Trudgett at aamgroup.com
Thu Feb 12 19:21:35 PST 2015


The following behaviour manifests itself when adding a WMTS layer to a blank QGIS project.

When you add any WMTS layer and zoom to extent, what it actually does is zoom to the TileMatrixSet extent and not the layer. The layer is correctly advertising the WGS84BoundingBox but QGIS is ignoring it. If it used this value instead, zooming to layer for WMTS would make a lot more sense.

<Layer>
<ows:Title>Surat_Basin_Area.ecw</ows:Title>
<ows:Identifier>P1_Surat_Basin_Area.ecw </ows:Identifier>
<ows:WGS84BoundingBox>
<ows:LowerCorner>150.045708962027 -26.693037874264</ows:LowerCorner>
<ows:UpperCorner>150.447045150312 -26.243579854007</ows:UpperCorner>
</ows:WGS84BoundingBox>

So when you add, say, a layer in googlemapscompatible or globalcrs84pixel it will request the root tile index of the global tilematrixset, which for localized imagery will mean the dataset is rendered at the sub-pixel level (not shown!)

Is it possible to get QGIS to use the WGS84BoundingBox values?

Regards,
David Trudgett



 
Attention

Email Disclaimer Notice - This message is the property of AAM Pty Ltd. The information in this email is confidential and may be legally privileged.
It is intended solely for the
addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful.

If you have received this message in error please notify AAM Pty Ltd. immediately via email to mailadmin at aamgroup.com <mailto:mailadmin at aamgroup.com> 

This email has been scanned and cleared by NetIQ Mail Marshal, however AAM Pty Ltd does not guarantee this message free of viruses, or interference. 
________________________________



More information about the Qgis-user mailing list