Skip to main content
Question

How to apply attribute to CityGML writer with ADE schema

  • November 4, 2020
  • 1 reply
  • 36 views

I specified a ADE schema file in CityGML writer and tried to export a attribute to a attribute of cityGML difined by ADE.

Then the attribute generated as follows:

 

<gen:stringAttribute name="aaa_extended_attribute{0}.aaa_key_value_pair_aaa_key">

    <gen:value>1</gen:value>

</gen:stringAttribute>

   <gen:stringAttribute name="aaa_extended_attribute{0}.aaa_key_value_pair_aaa_key_codeSpace">

    <gen:value>../abcde.xml</gen:value>

   </gen:stringAttribute>

   <gen:stringAttribute name="aaa_extended_attribute{0}.aaa_key_value_pair_aaa_string_value">

    <gen:value>XXXXYYYYZZZZ</gen:value>

   </gen:stringAttribute>

 

The results I'm expecting are as follows:

   <aaa:extendedAttribute>

   <aaa:KeyValuePair>

      <aaa:key codeSpace="../abcde.xml">1</aaa:key>

     <aaa:stringValue>XXXXYYYYZZZZ</aaa:stringValue>

     </aaa:KeyValuePair>

   </aaa:extendedAttribute>

 

Could you tell me a solution?

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.

1 reply

jovitaatsafe
Safer
Forum|alt.badge.img+11

Hi @bigapplerizzi19​, what format is your source data and would it be possible to share your workspace and a sample set of data? This might help encourage some more discussion from the Community and we can better help you then. In the meantime, Dean's answer in Writing CityGML with ADE Schema might be a good resource to check out if you haven't already.