[qgis-qwc2] Question about Editin Plugin

GOERKE Sebastian sebastian.goerke at soprasteria.com
Thu Apr 26 02:38:56 PDT 2018


Hi Sandro,

I have attached the output from localhost:8081/themes.json. I used Notepad++ to compare the two files and they are equal. I requested the app via private mode window, so browser cache should be no issue here.
To give you a complete view on the configuration I´ve attached appConfig.js and config.json aswell. As far as I understand, it is only a configuration issue and has nothing to do with die editingInterface or other files, right?

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 01D3DD51.986C7310]<https://www.linkedin.com/company/soprasteria> [cid:image003.png at 01D3DD51.986C7310] <https://www.facebook.com/soprasteria.de>  [cid:image004.png at 01D3DD51.986C7310] <https://twitter.com/SopraSteria_de>  [cid:image005.png at 01D3DD51.986C7310] <https://www.xing.com/company/soprasteria>  [cid:image006.png at 01D3DD51.986C7310] <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 <manisandro at gmail.com>
Gesendet: Donnerstag, 26. April 2018 11:19
An: GOERKE Sebastian <sebastian.goerke at soprasteria.com>; qgis-qwc2 at lists.osgeo.org
Betreff: Re: AW: AW: [qgis-qwc2] Question about Editin Plugin


Hi Sebastian

Does localhost:8081/themes.json match the themes.json you are expecting, resp. does it contain the editConfig? Did you clear the browser cache?

Best
Sandro

On 26.04.2018 11:14, GOERKE Sebastian wrote:
Hi Sandro,

thank you for your fast response.
I have attached the complete configuration for the web-app and a screenshot. Maybe I am missing something here. Thank you very much for your help. I am not getting, what goes wrong.

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 <manisandro at gmail.com><mailto:manisandro at gmail.com>
Gesendet: Donnerstag, 26. April 2018 11:02
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] Question about Editin Plugin


Hi Sebastian

Your themes.json works here (resp I can see "Natur in der Stadt" as editable layer).

Are you sure the themes.json the client is reading contains the editConfig?

The matching between the layer names in the editConfig and the actual WMS names is only important to ensure the WMS layers are correctly refreshed after edit changes are committed. The "No editable layers found" message really only appears when the editConfig is empty.

Best
Sandro

On 25.04.2018 10:29, GOERKE Sebastian wrote:
Hi Sandro,

I have to pick up the issue with the editConfig again. Attached you can find my generated themes.json file. The application states there are no editable layers. I have changed nothing else with the editing interface etc.
Do you have any further idea what to look up for? What I have seen is, that within the WFS the FeatureTypeName seems to be created by the LayerTitle (and so differs from the LayerName in the WMS). Could that be an issue?

Best Regards

Sebastian Goerke


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 <manisandro at gmail.com><mailto:manisandro at gmail.com>
Gesendet: Donnerstag, 29. März 2018 10:15
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: [qgis-qwc2] Question about Editin Plugin


Hi Sebastian

There is no out-of-the box implementation for editing, you need to implement the EditingInterface [1] to talk to whatever service you want to use to handle the editing operations server side.

As far as the message about no editable layers is concerned, it looks like your edit config is not getting picked up. Make sure the editConfig is correctly specified in the themesConfig.json and the themes.json regenerated. If you run  the vanilla qwc2-demo-app you should already get a setup where this works, at least to the degree that it talks to the dummy EditingInterface.js.

Hope this helps
Sandro



[1] https://github.com/qgis/qwc2-demo-app/blob/master/js/EditingInterface.js

On 29.03.2018 10:07, GOERKE Sebastian wrote:
Hi all,

I am very happy so say, that QWC2 fits 100 % for our requirements developing a WebGIS for a research project. After successful deployment I will share the link with the list aswell.
Currently we are thinking about the Editing Plugin(?)/ Interface.
As far as I understood, the built-in implementation uses the QGIS Server WFS. Is that correct? Or do we have to implement something on our own here?
What we did was configuring all the things mentioned within the documentation (activation the Plugin, edit themesConfig, adding editConfig) for our specific layer. QWC2 frontend stays saying that there is no layer for editing. Are we missing something here?

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/20180426/777cfdb5/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/20180426/777cfdb5/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/20180426/777cfdb5/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/20180426/777cfdb5/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/20180426/777cfdb5/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/20180426/777cfdb5/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/20180426/777cfdb5/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: themes_browser.json
Type: application/octet-stream
Size: 7262 bytes
Desc: themes_browser.json
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180426/777cfdb5/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: appConfig.js
Type: text/javascript
Size: 4982 bytes
Desc: appConfig.js
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180426/777cfdb5/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.json
Type: application/octet-stream
Size: 6301 bytes
Desc: config.json
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180426/777cfdb5/attachment-0003.obj>


More information about the qgis-qwc2 mailing list