Closed meierrom closed 1 year ago
Hi Roman, as you seem to have questions about a broad range of topics, please consider requesting professional support to address these.
Hi Sandro,
I'm currently testing all features and it's quite fun to discover how far qwc2 has reached. However, the learning curve is rather steep for anybody new to this project I guess. To share issues and solutions should help in this regard I hope. Just like you I look forward to be able to contribute back.
Kind regards, Roman
I appreciate this, but issues like this one are inevitably linked to a user specific setup issue, which might be addressed by adjusting the configuration, or might also have revealed a genuine bug in one of the components, however determining what is going on requires a concrete debugging effort on the target setup, which the community cannot generally provide.
Hi Sandro,
You were perfectly right! I somehow messed up things in my configuration. I'm yet to find out, what happened or if it's a bug. I'll report back as soon as I know more.
I did a fresh installation of all docker images.
By default the feature form tool wasn't accessible. It can however easily be added by adding some configuration in mapViewerConfig.json, so that the tool is shown in the menu and toolbar.
[...] "name": "TopBar", "cfg": { "menuItems": [ [...] {"key": "Editing", "icon": "editing"}, {"key": "FeatureForm", "icon": "featureform"}, {"key": "DxfExport", "icon": "dxfexport"}, [...] "toolbarItems": [ [...] {"key": "Identify", "icon": "identify_region", "mode": "Region"}, {"key": "FeatureForm", "icon": "featureform"}, {"key": "TimeManager", "icon": "clock"} [...] { "name": "Editing" }, { "name": "FeatureForm" }, { "name": "MapCompare" }, [...]
The issue I was facing earlier is no longer showing. It works just fine.
Thanks for your valuable input!
Kind regards, Roman
@meierrom in case the official documentation is lacking then please feel welcome to improve it. Find the page that would fit best, click on "Edit this page" on the top right and submit a pull request.
Hi folks,
I had a closer look at feature forms in qwc-data-service.
Basically it's working just fine.
I click the feature form icon in the browser and then click the feature in the map. The feature in the map is nicely shown as being selected. However, often the form remains empty:
I'm not sure but it may be some kind of conflict between two services, qwc-map-viewer and qwc-data-service. If I click the feature in the map and qwc-map-viewer logs the interaction, then the data in the form is nicely shown. The log looks like this:
qwc-map-viewer_1 | [pid: 7|app: 0|req: 47/47] 172.26.0.17 () {46 vars in 1679 bytes} [Wed Feb 15 08:38:56 2023] GET /assets/forms/autogen/qwc_demo_edit_points.ui?v=1676377393&lang=en-US => generated 2711 bytes in 2 msecs (HTTP/1.0 200) 2 headers in 80 bytes (1 switches on core 3)
On the other hand, if I click the feature and qwc-data-service logs the interaction, then the data in the form is missing showing "Querying". The log looks like this:
qwc-data-service_1 | [pid: 7|app: 0|req: 140/140] 172.26.0.17 () {46 vars in 1786 bytes} [Wed Feb 15 08:38:56 2023] GET /api/v1/data/qwc_demo.edit_polygons/?bbox=950754.4682685481,6003943.019006638,950765.0516018814,6003953.602339972&crs=EPSG:3857 => generated 125 bytes in 6 msecs (HTTP/1.0 200) 2 headers in 72 bytes (1 switches on core 2)
Any ideas, what is happening here?
Kind regards, Roman