halestudio / hale

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

Allow referencing other plans when exporting data using XPlan writer #863

Open JohannaOtt opened 4 years ago

JohannaOtt commented 4 years ago

It currently is not possible to reference from one plan to another using the XPlan writer with the option to create a separate output file for every plan element.

In the XPlanung schema, the abstract feature type XP_Plan (inherited by BP_Plan, FP_Plan and RP_Plan) contains the attributes aendert and wurdeGeandertVon aiming to reference a different plan via XP_VerbundenerPlan.

Such references can currently not be implemented when exporting the data with the XPlan writer and its option to create a separate output file for every plan element as the assumption for using it is, that no references are existing between plan elements.

Before implementing this functionality, it should be checked if references between plan elements (or the elements belonging to them such as bereich) can also occur at other places than the one described above.

In order to support all references intended by the XPlanung schema, the XPlan writer should be extended in a way that references between plans are possible even if they are exported as separate files.

thorsten-reitz commented 4 years ago

I think there are two issues here:

  1. exporting the plans separately (i.e. adding the "ignore references such as "aendert" between different plans when partitioning")
  2. making sure the reference is still valid after the plans have been published, e.g. on hale connect.

When we partition them to different files in the same folder, it would be relatively easy to create a valid xlink:href. What I am not sure about is how we would make that link also valid when both are published as a data set series.

github-actions[bot] commented 6 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.