TransWikia.com

How to name a lot of point of a KML file?

Geographic Information Systems Asked by Patatorus27 on February 19, 2021

I have a KML file with 5400 points with no name. I would like to name each point. My idea was to convert this KML file to CSV to rename quickly them and to convert back this CSV to KML, but I don’t succeed doing it.

enter image description here

enter image description here

2 Answers

Without any screenshot is hard to help you, but if you have i.e. Notepad ++ you can try to Replace all blank names with the name you want.

I guess, your .XML code looks now as:

         <Placemark>
        <name></name>

Then after Crtl+F click toggle Replace and replace it with name you want, like below:

Thereafter each point will have a name. enter image description here

Answered by MKR on February 19, 2021

I finally found the solution: I imported my KML file to Excel opening it as a XML Table type file (the import made Excel load for a long time, but didn't crash). Then I could extract latitude and longitude data. I put them in a blank KML file that I created with Google Earth so this file was correctly formatted. Then I edited the "description" fields for each point, pulling my cells on Excel. Saving it in CSV, I can open it on Google Earth and save it in KML if I want.

Answered by Patatorus27 on February 19, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP