Skip to main content

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?

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.


Reply