i want to add volume of each building part of my CityGML file in its attribute .And than export it in the CityGML format it self,but i dont want any kind of data loss in quality wise .
Can you guys please help me on this ?
Thanks
Srikant
i want to add volume of each building part of my CityGML file in its attribute .And than export it in the CityGML format it self,but i dont want any kind of data loss in quality wise .
Can you guys please help me on this ?
Thanks
Srikant
You should be able to just add a CityGML reader, then a VolumeCalculator and then add the volume attribute to your destination feature type (Building) and write back out to CityGML. The CityGML writer will then create generic user attributes for whatever custom attributes you have added, which will look something like this:
<bldg:Building>
<gen:stringAttribute name="_volume">
<gen:value>6</gen:value>
</gen:stringAttribute>
<bldg:lod1Solid>
The next question is more around what is your planned workflow and what is reading the updated CityGML. Not all CityGML apps read 'gen:' generic / custom user attributes. See the attached basic CityGML workspace for an example of creating custom user attributes.