[qgis-qwc2] Question about Editin Plugin

GOERKE Sebastian sebastian.goerke at soprasteria.com
Thu Apr 26 02:14:59 PDT 2018


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 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 01D3DD4F.029CC620]<https://www.linkedin.com/company/soprasteria> [cid:image003.png at 01D3DD4F.029CC620] <https://www.facebook.com/soprasteria.de>  [cid:image004.png at 01D3DD4F.029CC620] <https://twitter.com/SopraSteria_de>  [cid:image005.png at 01D3DD4F.029CC620] <https://www.xing.com/company/soprasteria>  [cid:image006.png at 01D3DD4F.029CC620] <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:02
An: GOERKE Sebastian <sebastian.goerke at soprasteria.com>; 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 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.F49DD0EB.28B8C03F at gmail.com]<https://www.linkedin.com/company/soprasteria> [cid:part6.349D330E.80528499 at gmail.com] <https://www.facebook.com/soprasteria.de>  [cid:part8.5E16AB5B.778DC680 at gmail.com] <https://twitter.com/SopraSteria_de>  [cid:part10.7021145A.A03FE7A1 at gmail.com] <https://www.xing.com/company/soprasteria>  [cid:part12.FC94645F.0EFD7C57 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.

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 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.E8E36D01.6FC75D27 at gmail.com]<https://www.linkedin.com/company/soprasteria> [cid:part6.BFFCDC70.EF6E3E15 at gmail.com] <https://www.facebook.com/soprasteria.de>  [cid:part8.F8AF339C.7AAEC15B at gmail.com] <https://twitter.com/SopraSteria_de>  [cid:part10.7DF3A2B9.78B4229D at gmail.com] <https://www.xing.com/company/soprasteria>  [cid:part12.73DA9DD2.C128943B 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

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/1700d1e1/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/1700d1e1/attachment-0007.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/1700d1e1/attachment-0008.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/1700d1e1/attachment-0009.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/1700d1e1/attachment-0010.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/1700d1e1/attachment-0011.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/1700d1e1/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: editConfig.json
Type: application/octet-stream
Size: 939 bytes
Desc: editConfig.json
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180426/1700d1e1/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: themes.json
Type: application/octet-stream
Size: 7262 bytes
Desc: themes.json
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180426/1700d1e1/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: themesConfig.json
Type: application/octet-stream
Size: 2739 bytes
Desc: themesConfig.json
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180426/1700d1e1/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: editing.PNG
Type: image/png
Size: 1453538 bytes
Desc: editing.PNG
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20180426/1700d1e1/attachment-0013.png>


More information about the qgis-qwc2 mailing list