Dear all,
I have an excel with kml coding (see attached). I would like to convert the multipolygon kml's to seperate polygons. So I need to seperate the coordinate strings between each of the kml codes and write each seperate coordinate string (polygon) into a seperate cell.
As I also want to preserve the ID, name for each polygon, a new row must be created for each seperate coordinate string (polygon) copyging all the imformation into the row. So in case the mukltipolygon has 3 polygons, I must seperate 3 coordinates strings and write them into a new row, attaching the same ID, name, etc to these 3 rows (polygons).
Some multipolygons have 2 polygons, but I also have a few that have up to 8 polygons. Does any of you have an idea how I can do this? In the end I need to have clean and seperated coordinate strings that I can convert to geojson. All it explained in the attached excel. Would be greatefull if someone could help me on this.
I am not a VBA coding expert, so I prefer to solve it with a function, if possible. If VBA is required by default, then it would be great to have a bit of help on that...:-)
Many thanks in advance!
Bookmarks