-
Notifications
You must be signed in to change notification settings - Fork 1
GeoDMSVersion
Jip Claassens edited this page Jul 7, 2026
·
23 revisions
Miscellaneous functions GeoDMSVersion
GeoDMS offers three functions to request the version number of the running GeoDMS executable. Since November 2022 GeoDMS uses semantic versioning, following the format MajorVersion.MinorVersion.PatchNumber. The original GeoDmsVersion() function no longer works, see the deprecated section below.
- GeoDmsMajorVersionNumber()
- GeoDmsMinorVersionNumber()
- GeoDmsPatchNumber()
- GeoDmsMajorVersionNumber() results in a uint32 parameter with the GeoDMS major version number.
- GeoDmsMinorVersionNumber() results in a uint32 parameter with the GeoDMS minor version number.
- GeoDmsPatchNumber() results in a uint32 parameter with the GeoDMS patch number.
9.0.4
GeoDmsMajorVersionNumber(): UInt32
GeoDmsMinorVersionNumber(): UInt32
GeoDmsPatchNumber(): UInt32
parameter<string> GeoDMSVersion := string(GeoDmsMajorVersionNumber())
+'.'+
string(GeoDmsMinorVersionNumber())
+'.'+
string(GeoDmsPatchNumber());
GeoDmsVersion() resulted in a float64 parameter with the GeoDMS version number. This function does not work since the new naming convention of GeoDMS 8 and higher. Instead use a combination of the three functions above, as in the example.
Some history:
- The function was available since version 5.61.
- Up until version 8.045 its value was defined as MajorVersion + 0.001 * MinorVersion.
- With the move to semantic versioning, GeoDmsVersion() was redefined as MajorVersion + 0.01 * MinorVersion + 0.0001 * PatchNumber. The first semantic version number is 8.5.0 in order to order well with earlier version numbers. In GeoDms v8.5.1, the result of GeoDmsVersion() was (the Float64 representation of) 8.0501.
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.