NEO News

How To Add Country Labels to Your NEO Image

We recently received an email about adding country labels to a NEO image to better understand where certain data points are in the world. Here is one way to add labels to any NEO image in QGIS.

QGIS is a free and open-source Geographic Information System. If you do not have QGIS on your machine, there are copies available for download here:

Then, follow this blog to add NEO layers to your map via WMS in QGIS:

We are now ready to add country labels to your NEO layer of choice. For this example, I am going to use the Nitrogen Dioxide (1 month) dataset.

This is a screenshot of my QGIS window showing the Nitrogen Dioxide (1 month) dataset.

There are several datasets available for free that provide the country border and label for the world. I keep one handy in my directory that was created by Bjorn Sandvik at Download your own copy here: Once you have downloaded and saved the file somewhere on your machine, unzip the file and drag and drop the TM_WORLD_BORDERS-0.3.shp into your QGIS window.

Here is what my screen looks like when I drag and drop the TM_World_Borders shapefile into QGIS.

Now it is time to add labels.

Go to Layer > Select Labeling and add Single Labels from the drop down in the Layer Styling window that pops up.

Here is where you will find Labeling under the Layer window.
Here is what my screen looks like with the labels turned on and the map zoomed in to Europe.

The map may not have the aesthetic you need to see the labels clearly. The color and font of the labels can be changed in the Layer Styling window. The color of the countries shapefile can be changed by double-clicking on the box next to the shapefile label in the Layers window.

If the labels do not provide the granularity needed for each country, try adding one of these shapefiles from the Centers for Disease Control and Prevention to your map using the same process:

This blog has a few tips on choosing the right map color:

Feel free to add any questions or tutorial suggestions in the comments below.

Contact Us

Need to get a hold of someone at NEO? Just fill out the form below.

Trouble with this form? Submit your comment here.