Skip to main content
Question

How to apply attribute to CityGML writer with ADE schema

  • November 4, 2020
  • 1 reply
  • 21 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?

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings