[qgis-qwc2] Projection issue with QWC2

GOERKE Sebastian sebastian.goerke at soprasteria.com
Thu Mar 1 04:40:49 PST 2018


Hi Sandro,

the themesConfig.json does not contain extent information, so QWC2 should use the extent from the QGIS Server, right? But there is something going wrong then. The extent of the WMS is an area in Germany and I want QWC2 to use that. Instead the QWC2 client shows an area around the Ukraine. I tried some configuration like switching the default WMS version because I am aware of the different axis order handling between 1.1.1 and 1.3.0 but nothing changed.
What´s interesting about my QGIS Server WMS is that x and y axis are interchanged in version 1.3.0 following my understanding that x is longitude and y is latitude.  But the WMS service works correctly while using it within QGIS. So, for me, there is an issue within the configuration of my QWC2 instance or within the interpretation of the extents within the WMS.
The question is, which adjustments can I make to solve the issue or how I can identify the reason for the wrong behavior.

Best Regards

Sebastain


Sebastian GOERKE
Consultant

[Sopra Steria Consulting]

Sopra Steria AG
Barcelona-Allee 1
51103 Köln - Deutschland
Phone: +49 221 92404-8958 - Mobile: +49151 40625945
sebastian.goerke at soprasteria.com<mailto:sebastian.goerke at soprasteria.com> - www.soprasteria.de<http://www.soprasteria.de/>


[cid:image002.png at 01D3B162.E4D4F7B0]<https://www.linkedin.com/company/soprasteria> [cid:image003.png at 01D3B162.E4D4F7B0] <https://www.facebook.com/soprasteria.de>  [cid:image004.png at 01D3B162.E4D4F7B0] <https://twitter.com/SopraSteria_de>  [cid:image005.png at 01D3B162.E4D4F7B0] <https://www.xing.com/company/soprasteria>  [cid:image006.png at 01D3B162.E4D4F7B0] <http://digitale-exzellenz.de/>
Before printing, think about the environment.
The content of this message may be confidential, legally privileged and protected by law. Unauthorized use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient please notify the sender and remove it from your system. While attachments to this e-mail are checked for viruses, we do not accept any liability for any damage sustained by viruses.

Von: qgis-qwc2 [mailto:qgis-qwc2-bounces at lists.osgeo.org] Im Auftrag von Sandro Mani
Gesendet: Donnerstag, 1. März 2018 13:16
An: qgis-qwc2 at lists.osgeo.org
Betreff: Re: [qgis-qwc2] Projection issue with QWC2


Hi

Is the extent being overridden in themesConfig.json? If not, the initial extent is just read from the WMS capabilities, i.e. EX_GeographicBoundingBox of the root layer. Also, make sure that the used projection appropriate for Ukraine.

Sandro

On 01.03.2018 08:55, GOERKE Sebastian wrote:
Hi all,

I am currently trying a bit arround with qwc2 and it seems for us to be a perfect solution for several customers, as the data specific part can more or less completely be done within QGIS itself by the customers.
Now I am facing issues with map projections. The client sets a bbox around the Ukraine instead of Middle-Europe. I checked the QGIS Server WMS Capabilities and tested the WMS service by adding it to QGIS and everything works just fine. Even if I pan to Germany within my QWC2 map, the layers are displayed correctly. It is just the initial bbox within the client which is strange.

Within the attachment you can find the capabilities file from QGIS Server and my themesConfig.json. Maybe someone has an idea what my issue is about :)

Best Regards

Sebastian


Sebastian GOERKE
Consultant

[Sopra Steria Consulting]

Sopra Steria AG
Barcelona-Allee 1
51103 Köln - Deutschland
Phone: +49 221 92404-8958 - Mobile: +49151 40625945
sebastian.goerke at soprasteria.com<mailto:sebastian.goerke at soprasteria.com> - www.soprasteria.de<http://www.soprasteria.de/>


[cid:part4.E75A8DFE.468295FC at gmail.com]<https://www.linkedin.com/company/soprasteria> [cid:part6.CC09C96A.6C1D294C at gmail.com] <https://www.facebook.com/soprasteria.de>  [cid:part8.D2202A4C.FCA01749 at gmail.com] <https://twitter.com/SopraSteria_de>  [cid:part10.9BB7423E.50216D38 at gmail.com] <https://www.xing.com/company/soprasteria>  [cid:part12.45494593.9B9359C0 at gmail.com] <http://digitale-exzellenz.de/>
Before printing, think about the environment.
The content of this message may be confidential, legally privileged and protected by law. Unauthorized use, copying or disclosure of any of it may be unlawful. If you are not the intended recipient please notify the sender and remove it from your system. While attachments to this e-mail are checked for viruses, we do not accept any liability for any damage sustained by viruses.

Sopra Steria Consulting is the trading name of:
Sopra Steria AG - Vorsitzender des Aufsichtsrates: Vincent Paris - Vorstand: Urs Michael Krämer - Sitz der Gesellschaft: Hamburg - HR B 148540 Amtsgericht Hamburg - USt-ID-Nr.: DE118671351




_______________________________________________

qgis-qwc2 mailing list

qgis-qwc2 at lists.osgeo.org<mailto:qgis-qwc2 at lists.osgeo.org>

https://lists.osgeo.org/mailman/listinfo/qgis-qwc2

Sopra Steria Consulting is the trading name of:
Sopra Steria AG - Vorsitzender des Aufsichtsrates: Vincent Paris - Vorstand: Urs Michael Krämer - Sitz der Gesellschaft: Hamburg - HR B 148540 Amtsgericht Hamburg - USt-ID-Nr.: DE118671351
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180301/e691ebe8/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6059 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180301/e691ebe8/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 559 bytes
Desc: image002.png
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180301/e691ebe8/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 470 bytes
Desc: image003.png
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180301/e691ebe8/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 482 bytes
Desc: image004.png
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180301/e691ebe8/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 604 bytes
Desc: image005.png
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180301/e691ebe8/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 694 bytes
Desc: image006.png
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180301/e691ebe8/attachment-0011.png>


More information about the qgis-qwc2 mailing list