halestudio / hale

(Spatial) data harmonisation with hale»studio (formerly HUMBOLDT Alignment Editor)
141 stars 44 forks source link

[BUG]: If downloading data via WFS with parameter "resolvedepth" linked objects are not loaded #1084

Open annat2022 opened 7 months ago

annat2022 commented 7 months ago

Describe the bug If I import source data via WFS with this request https://geodienste.komm.one:443/ows/services/org.107.7e499bca-5e63-4595-b3c4-eaece8b68608_wfs/org.107.cf1dba4a-9b88-4284-a76f-a2594fe08905?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&typenames=xplan:BP_Plan&resolvedepth=* only one BP_Plan object is loaded but not the linked objects.

To Reproduce Steps to reproduce the behavior:

  1. Add source schema XPlan 5.0
  2. Import source data via WFS with this link https://geodienste.komm.one:443/ows/services/org.107.7e499bca-5e63-4595-b3c4-eaece8b68608_wfs/org.107.cf1dba4a-9b88-4284-a76f-a2594fe08905?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&typenames=xplan:BP_Plan&resolvedepth=*
  3. Hide unpopulated types -> you'll see that only one BP_Plan feature is loaded

Expected behavior Downloading the data with the given GetFeature-Request I'd expect that one BP_Plan and one linked BP_Bereich and one linked XP_Rasterdarstellung is downloaded.

Additional context Using the same GetFeature-Request in the browser returns a gml-file with a BP_Plan objects and BP_Bereich/XP_Rasterdarstellung wrapped in a wfs:additionalObjects type. Importing this via a browser downloaded gml-file hale studio can read the feature types in the additional objects type correctly. But hale studio does not read the additional objects correctly if using the GetFeature-Request with resolvedepth-parameter directly in hale studio.

github-actions[bot] commented 2 months ago

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

Kate-Lyndegaard commented 2 months ago

Currently investigating this issue.