Solved

Writing xlink:type with AIXM5 writer

  • 1 March 2024
  • 2 replies
  • 43 views

Badge +2

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é

icon

Best answer by matthieuv 7 March 2024, 14:48

View original

2 replies

Badge +13

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:
 

 

Badge +2

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

Reply