OSGeo/libgeotiff

LIBGEOTIFF_DOTTED_VERSION

Closed this issue · 0 comments

Hi @rouault

Would it be possible to add LIBGEOTIFF_DOTTED_VERSION in geotiff.h?
In my case, it's to facilitate the manifest resource creation and avoid my dirty & unsure regexp /#define LIBGEOTIFF_VERSION ([0-9])([0-9]{2})([0-9])/s

diff --git a/libgeotiff/geotiff.h b/libgeotiff/geotiff.h
index 75de593..9390b74 100644
--- a/libgeotiff/geotiff.h
+++ b/libgeotiff/geotiff.h
@@ -48,6 +48,7 @@
 
 /* Library version */
 #define LIBGEOTIFF_VERSION 1740
+#define LIBGEOTIFF_DOTTED_VERSION "1.74.0"
 
 #include "geo_config.h"
 #include "geokeys.h"

image
Thx!