https://issues.qgis.org/https://issues.qgis.org/favicon.ico2014-01-24T04:41:42ZQGIS Issue TrackingQGIS Application - Bug report #9196: WMTS and CRS issuehttps://issues.qgis.org/issues/9196?journal_id=476252014-01-24T04:41:42ZJonathan Moules
<ul></ul><p>Note: A similar thing also seems to happen with WMS. Rather than zoom to the bounding box of the layer (try "z_OS_Raster_Basemap") it is zoomed out to what I suspect is the whole world.</p>
<p>When I add that layer to a project in EPSG:27700, at the bottom of the metadata it says:</p>
<p>Layer Extent (layer original source projection)<br />-11470944.5532619059085846,-15188064.6417546700686216 : 8427360.6833318732678890,4358640.4957639789208770</p>
<p>Which is definitely wrong. The Layer extent is 0,0 : 700000,1300000</p> QGIS Application - Bug report #9196: WMTS and CRS issuehttps://issues.qgis.org/issues/9196?journal_id=476262014-01-24T04:42:42ZJonathan Moules
<ul></ul><p>WFS seems to be fine.</p> QGIS Application - Bug report #9196: WMTS and CRS issuehttps://issues.qgis.org/issues/9196?journal_id=478352014-01-29T03:15:50ZMartin Dobiaswonder.sk@gmail.com
<ul><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li><li><strong>Target version</strong> set to <i>Future Release - High Priority</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/ba0a6378039d5ffa3cc9fda3749c21f1c4a51c63" title="Partial fix for #9196 - better handling of bounding boxes of WMS layers Do not use WGS84 boundin...">ba0a637803</a> (WMS: better use of reported bounding boxes) and <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/ec7718b55e1040f0ba213469dc79dcf8ecec342a" title="Second part of fix for #9196 (WMTS) If WMTS capabilities do not include a bounding box, try to d...">ec7718b55e</a> (WMTS: detection of bounding box if none is reported)</p> QGIS Application - Bug report #9196: WMTS and CRS issuehttps://issues.qgis.org/issues/9196?journal_id=486282014-02-14T01:42:20ZRadim Blazekradim.blazek@gmail.com
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>I am not able to add longlat (4326) WMS after <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/ba0a6378039d5ffa3cc9fda3749c21f1c4a51c63" title="Partial fix for #9196 - better handling of bounding boxes of WMS layers Do not use WGS84 boundin...">ba0a637</a>. It seems that axis are somehow messed. I tried with all axis options with UMN Mapserver 6.2.2. QGIS is sending GetCapabilities without version (the server returns 1.3.0 with switched axis, i,e <BoundingBox CRS="EPSG:4326" minx=<min lat> miny=<min long> maxx=<max lat> maxy=<max long>/>) and GetMap with version 1.3.0.</p>
<table>
<tr>
<td> Version </td>
<td> no axis switch </td>
<td> ignore axis </td>
<td> invert axis </td>
<td> ignore and invert axis</td>
</tr>
<tr>
<td> 2.0.1 </td>
<td> ok </td>
<td> blank </td>
<td> blank </td>
<td> ok </td>
</tr>
<tr>
<td> <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/7a9e6820043d26579d8a07f1ce0adde841f842e7" title="fix #9430: do not enable copy to layer if nothing to copy">7a9e682</a> </td>
<td> blank </td>
<td> blank </td>
<td> ok </td>
<td> ok </td>
</tr>
<tr>
<td> <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/ba0a6378039d5ffa3cc9fda3749c21f1c4a51c63" title="Partial fix for #9196 - better handling of bounding boxes of WMS layers Do not use WGS84 boundin...">ba0a637</a> </td>
<td> swapped<sup><a href="#fn1">1</a></sup> </td>
<td> swapped<sup><a href="#fn1">1</a></sup></td>
<td> blank </td>
<td> blank </td>
</tr>
</table>
<p>[1] swapped means that the layer is rendered in extent with switched axis, e.g. LatLong 50,15 is rendered on map canvas at XY 50,15.</p>
<p>As the commmit is relatively old (2 weeks) and nobody other complained, I admit that it may be my local problem, but cannot find any.</p> QGIS Application - Bug report #9196: WMTS and CRS issuehttps://issues.qgis.org/issues/9196?journal_id=486722014-02-15T06:23:25ZMartin Dobiaswonder.sk@gmail.com
<ul></ul><p>Followup in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/b5897c7f7a5545d704b28614e0b91d14b192abca" title="Fix switched axes problem in WMS 1.3 with non-projected CRS">b5897c7</a> - now with no axis switch the map is rendered correctly, but with invert/ignore it is "swapped"</p> QGIS Application - Bug report #9196: WMTS and CRS issuehttps://issues.qgis.org/issues/9196?journal_id=488942014-02-19T23:29:51ZRadim Blazekradim.blazek@gmail.com
<ul></ul><p>Still no luck here, without invert/ignore the map is "swapped".</p> QGIS Application - Bug report #9196: WMTS and CRS issuehttps://issues.qgis.org/issues/9196?journal_id=489062014-02-20T04:04:38ZRadim Blazekradim.blazek@gmail.com
<ul></ul><p>It was my local problem, GDAL installation was broken and GDAL data, which are used by QgsCoordinateReferenceSystem::axisInverted(), were missing.</p>
<p>Thanks to Martin Dobias for help to find that.</p> QGIS Application - Bug report #9196: WMTS and CRS issuehttps://issues.qgis.org/issues/9196?journal_id=489072014-02-20T04:05:02ZRadim Blazekradim.blazek@gmail.com
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul>