Skip to content

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.

syntax

  • GeoDmsMajorVersionNumber()
  • GeoDmsMinorVersionNumber()
  • GeoDmsPatchNumber()

definition

  • 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.

since version

9.0.4

example

GeoDmsMajorVersionNumber(): UInt32
GeoDmsMinorVersionNumber(): UInt32
GeoDmsPatchNumber(): UInt32
parameter<string> GeoDMSVersion := string(GeoDmsMajorVersionNumber()) 
                                     +'.'+ 
                                   string(GeoDmsMinorVersionNumber()) 
                                     +'.'+ 
                                   string(GeoDmsPatchNumber());

deprecated: GeoDmsVersion()

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.

Clone this wiki locally