Skip to main content
Solved

Writing xlink:type with AIXM5 writer

  • March 1, 2024
  • 2 replies
  • 76 views

andr__d
Contributor
Forum|alt.badge.img+5

Hello,

I need to write the xlink:type in an AIXM5 file (see below)

 

 

But when I look at the User Attributes of the feature type AirspaceTimeSlice (AIXM5 writer), I can only see 3 parameters of the xlink which can be set: href, role and title.

 

 

Anybody knows how to write the xlink:type with the AIXM5 writer ?

Thanks

André

Best answer by matthieuv

When reading AIXM 5.1 it seems that information is missing as well. Probably best to file a bug report with Safe for this. 

As far as I know every xlink:href in AIXM is of type simple. Maybe for now you can have a workaround where read your final output just as text and use a StringReplacer with the following settings:
 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

matthieuv
Enthusiast
Forum|alt.badge.img+28
  • Enthusiast
  • Best Answer
  • March 7, 2024

When reading AIXM 5.1 it seems that information is missing as well. Probably best to file a bug report with Safe for this. 

As far as I know every xlink:href in AIXM is of type simple. Maybe for now you can have a workaround where read your final output just as text and use a StringReplacer with the following settings:
 

 


andr__d
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 14, 2024

Thanks. For the moment, not having this info in the AIXM file seems not to harm my AIXM loader further down in my process.