jmcmellen / splat

SPLAT! is an RF Signal Propagation, Loss, And Terrain analysis tool for the spectrum between 20 MHz and 20 GHz. This is a copy of the code written by John Magliacane
http://www.qsl.net/kd2bd/splat.html
GNU General Public License v2.0
74 stars 39 forks source link

plotting topo map doesn't plot city names #7

Closed nebukadnezar closed 6 years ago

nebukadnezar commented 6 years ago

calling splat as follows:

splat -t my_site -R 100.0 -s cities.dat -d ./SDF -o topo_map.ppm -metric

This runs, giving no errors, and creates the output ppm, which converts to png without fault.

When no SDF files are found and it assumes sealevel, the city names appear red over a blue background in the resulting image.

When the SDF files are present, it plots the topo relief, but no place names are visible.

This behaviour occurs both on OS X and Ubuntu 16.04. I've built from the git source on both platforms, and I've also tried the pre-compiled OS X binary. They all behave the same.

nebukadnezar commented 6 years ago

In the QTH and cities.dat files, eastern longitudes have to be expressed as negative numbers. Sadly, this departure from normal convention is mentioned but in the fine print. At the very least, longitude should be referred to as "eastings" in the documentation, so as to warn the user that this is not a standard longitude. I'd liken this to calling something a "footlong" and expecting its input in meters...