I am wondering how it is possible to write generics attribute in CityGML?
Any help appreciated :)
Regards,
Asher
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.
Try defining attributes which you want to add to the the destination dataset as generic attributes in the User Attributes tab of the CityGML writer feature type.
For example, if you add a user attribute called "foo" with xml_buffer type, CityGML writer generates this generic attribute element.
<gen:stringAttribute name="foo"> <gen:value>value of foo</gen:value> </gen:stringAttribute>
Try defining attributes which you want to add to the the destination dataset as generic attributes in the User Attributes tab of the CityGML writer feature type.
For example, if you add a user attribute called "foo" with xml_buffer type, CityGML writer generates this generic attribute element.
<gen:stringAttribute name="foo"> <gen:value>value of foo</gen:value> </gen:stringAttribute>
Try defining attributes which you want to add to the the destination dataset as generic attributes in the User Attributes tab of the CityGML writer feature type.
For example, if you add a user attribute called "foo" with xml_buffer type, CityGML writer generates this generic attribute element.
<gen:stringAttribute name="foo"> <gen:value>value of foo</gen:value> </gen:stringAttribute>
I did it like this but nothing is showing when I open the XML file in notepad++. When I edit the Value field it becomes invalid. Example; by typing Foo
I did it like this but nothing is showing when I open the XML file in notepad++. When I edit the Value field it becomes invalid. Example; by typing Foo
Cannot find what is wrong just seeing the User Attributes definition. See the attached example which generates a generic attribute definitely.
I did it like this but nothing is showing when I open the XML file in notepad++. When I edit the Value field it becomes invalid. Example; by typing Foo
Thanks so much for your support Takashi, I was able to get it done