[qgis-qwc2] Projection issue with QWC2
GOERKE Sebastian
sebastian.goerke at soprasteria.com
Thu Mar 1 05:24:48 PST 2018
Hi Sandro,
I have just played a bit around with the used CRS´s. So Ukraine issue pops up if I use EPSG:31467, which is GK Zone 3 and fits for Germany well. Using EPSG:25832 (UTM Zone 32) works fine. I double checked that my appConfig.js contains the correct Proj4 information for both CRS´s.
The Minimap has a strange behavior even while using UTM Zone 32. It´s showing central France instead of western Germany.
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:image002.png at 01D3B167.FE2FF520]<https://www.linkedin.com/company/soprasteria> [cid:image003.png at 01D3B167.FE2FF520] <https://www.facebook.com/soprasteria.de> [cid:image004.png at 01D3B167.FE2FF520] <https://twitter.com/SopraSteria_de> [cid:image005.png at 01D3B167.FE2FF520] <https://www.xing.com/company/soprasteria> [cid:image006.png at 01D3B167.FE2FF520] <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: Sandro Mani [mailto:manisandro at gmail.com]
Gesendet: Donnerstag, 1. März 2018 14:01
An: GOERKE Sebastian <sebastian.goerke at soprasteria.com>; qgis-qwc2 at lists.osgeo.org
Betreff: Re: AW: AW: [qgis-qwc2] Projection issue with QWC2
Hi
It is using EPSG:4326 because it reads EX_GeographicBoundingBox from the extents which is lat/lon.
Are you using the latest git master of QWC2? I set the bbox you specified in the demo wolfsburg theme and I get an initial extent centered approx in Dortmund, so doesn't look that wrong.
Sandro
On 01.03.2018 13:52, GOERKE Sebastian wrote:
Hi Sandro,
here is the extent from the generated themes.json:
"bbox": {
"crs": "EPSG:4326",
"bounds": [
4.07475,
50.1364,
11.3218,
52.6646
]
},
"initialBbox": {
"crs": "EPSG:4326",
"bounds": [
4.07475,
50.1364,
11.3218,
52.6646
]
},
I am just wondering, why it´s using EPSG:4326 but the bounds are looking ok for my WMS extent.
Best regards
Sebastian
Sebastian GOERKE
Consultant
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/>
<https://www.linkedin.com/company/soprasteria> <https://www.facebook.com/soprasteria.de> <https://twitter.com/SopraSteria_de> <https://www.xing.com/company/soprasteria> <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: Sandro Mani [mailto:manisandro at gmail.com]
Gesendet: Donnerstag, 1. März 2018 13:49
An: GOERKE Sebastian <sebastian.goerke at soprasteria.com><mailto:sebastian.goerke at soprasteria.com>; qgis-qwc2 at lists.osgeo.org<mailto:qgis-qwc2 at lists.osgeo.org>
Betreff: Re: AW: [qgis-qwc2] Projection issue with QWC2
Hi Sebastain
What extent does the generated themes.json contain?
Best
Sandro
On 01.03.2018 13:40, GOERKE Sebastian wrote:
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 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/>
<https://www.linkedin.com/company/soprasteria> <https://www.facebook.com/soprasteria.de> <https://twitter.com/SopraSteria_de> <https://www.xing.com/company/soprasteria> <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<mailto: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 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/>
<https://www.linkedin.com/company/soprasteria> <https://www.facebook.com/soprasteria.de> <https://twitter.com/SopraSteria_de> <https://www.xing.com/company/soprasteria> <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
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
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/3a26ef75/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/3a26ef75/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/3a26ef75/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/3a26ef75/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/3a26ef75/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/3a26ef75/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/3a26ef75/attachment-0011.png>
More information about the qgis-qwc2
mailing list