I am working on google-maps kml. I have several shapefiles and using QGIS i have converted it to kml files. When i export the kml (save as kml in Qgis). It contains tag like <SimpleData name="Name">7</SimpleData>
but i want tag structure like <Data name="name">
<value>7</value>
</Data>
I have export the shape as kml and update the kml change style add BalloonStyle for that i need to modify structure otherwise it will not display info in popup window.Here is the link for rules of tag structure to display popup in google map as per kml extended data
If we use <SimpleData>
tag then popup will not display lables in google map
When i change the structure of tags to <Data><Value>
it will works gr8 ,Expected popup window is
I just want to change the tag structure.
Is there an automated way to change the tag structure from kml file?
For example, like below <simppledata>
to <data><value>
<SchemaData schemaUrl="#new_circle">
<SimpleData name="Name">7</SimpleData>
<SimpleData name="gid">1</SimpleData>
<SimpleData name="active_sub">4596</SimpleData>
<SimpleData name="net_additi">5181</SimpleData>
<SimpleData name="gross_addi">3917</SimpleData>
<SimpleData name="churn">4617</SimpleData>
</SchemaData>`
to
<Data name="name">
<value>7</value>
</Data>
<Data name="active_sub">
<value>4596</value>
</Data>
<Data name="net_additi">
<value>5181</value>
</Data>
<Data name="gross_additi">
<value>3917</value>
</Data>
<Data name="churn">
<value>4617</value>
</Data>
here is the sample link in which i have commented the simpledata tag and add manually data and value tag.expected kml output To do it manually will take maximum time because i have thousands of records in other layers.