Adding labels in Google Earth Pro?

I am preparing the map of Nepal with 75 districts using the KMZ file downloaded from global admin. I opened the KMZ file (NPL_admin3.kmz) in google earth pro. I produced the map, and also worked successfully with coloring the districts. But I could not put the name of the 75 districts in the map. In other GIS tools such as DIVA or Quantum, when we 'add label' under the 'layer' menu bar, we get the name associated to the boundary. But in google earth pro, I have been facing difficulty. Can anyone please help me?

65.3k 29 29 gold badges 112 112 silver badges 343 343 bronze badges asked May 17, 2016 at 7:27 Keshab Thapa Keshab Thapa 61 1 1 gold badge 1 1 silver badge 2 2 bronze badges A bypass route of displaying 'Label' in Google Earth using Quantum GIS(QGIS) is possible. Commented May 17, 2016 at 8:52

If possible have someone create centroids for the polygons you wish to label (or manually add a pin to each poly.) Place all the points in one folder. Then format the points folder and on the icon dialog pick No Icon. The text will not scale as a true label would.

Commented Jul 27, 2016 at 20:54 Neither of these worked for me. Commented Feb 25, 2019 at 14:21

Key difference in Sandipan's answer is that he is working with points, whereas the person who is asking is referring to districts (alluding to polygons). FYI

Commented Jul 16, 2019 at 1:00

3 Answers 3

A bypass route of displaying 'Label' in Google Earth using Quantum GIS(QGIS) is possible. At first import the .kml file into QGIS & save it as .kml data during saving procedure mention 'Name' of the field you want to display as label from 'NameField' under 'Datasource Options'.

Saving as .kml from QGIS

answered May 17, 2016 at 8:58 Sandipan Saha Sandipan Saha 545 1 1 gold badge 8 8 silver badges 26 26 bronze badges

Try this. Rename your kmz to zip. Open the zip and rename the kml to txt (or just use open with).

With your kml open in notepad or some other text editor look for the part of the html that says "LabelStyle" and change the "scale" number (Mine said 0 and I changed it to 0.666667) delete the entry for anything else (mine had color set to a string of 0's). Save the edited text file and rename back to kml. Save the modified zip file and rename to kmz. This worked for me. some variation will likely work for you, but dynamic labels are what they are. I just let it label with the field it had already defaulted to. which in my case was a useful field. but you might need to modify something else in the html in your case.

Unlabelled points

Here is the unlabeled points

Renamed and open in Winzip

Made a copy of the kmz and renamed to zip

Renamed kml to txt

Renamed the kml in the zip to txt

Find string in text file

Opened the text file and did a find for "LabelStyle"

Edited text file

Deleted the "color" text and changed the "scale" value to 0.666667

Rename text to kml and save edits to Zip

Saving and naming things back the way they were

rename your zip to kmz and open in GE