Thank you very much for developing this interesting tool.
I am a planetary geologist, and I want to set up lunaserv on my local ubuntu 18.04 server.
I followed the install guide on lunaserv's page, and tried to install all the dependencies mentioned there. After cd into map_utils folder, and I typed make. It shows the error as follows:
gcc -Wall -Werror -std=gnu99 -O3 -pthread -I/opt/local/include -I/usr/include/libshp `gdal-config --cflags` map_raster_layer.c map_shared_code.c -L/opt/local/lib -lgd -lproj -ltiff -lImlib2 -lshp `gdal-config --libs` -o map_raster_layer
map_shared_code.c: In function ‘resolution_quality’:
map_shared_code.c:531:30: error: ‘latitude’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
double lat_rad = *latitude * DEG_TO_RAD;
^
map_shared_code.c:785:24: note: ‘latitude’ was declared here
double longitude, latitude;
^~~~~~~~
map_shared_code.c:530:31: error: ‘longitude’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
double lon_rad = *longitude * DEG_TO_RAD;
^
map_shared_code.c:785:13: note: ‘longitude’ was declared here
double longitude, latitude;
^~~~~~~~~
cc1: all warnings being treated as errors
Makefile:41: recipe for target 'map_raster_layer' failed
make: *** [map_raster_layer] Error 1