Killet Software Ing.-GbR - short: KilletSoft - is a software company, which was established in the year 1991. The society is divided into the ranges "Geodetic Standard Software", "Development Tools for Geo Informatics" and "International Geo Data". The industrial sectors of emphasis of the companies supplied by KilletSoft are consulting engineers, GIS developers, Internet marketing, public utilities, logistics, telecommunications, security and public services.
Print page body  •    Contact  •    Imprint
Deutsch English

BetaDLL - Description of the function coordtransbeta()
An example for a function description from the user manual

coordtransbeta()
2D coordinate transformation and BeTA2007 datum shift between Gauss-
Krueger, UTM and Geographical coordinates. Gauss-Krueger and UTM
coordinates can be used with or without leading meridian strip numbers.

Prototype of the DLL function in C++ syntax (attend lower case!):
extern "C" BOOL PASCAL EXPORT coordtransbeta(
     double nCoordXQ, 
     double nCoordYQ, 
     unsigned short nCoordSysQ, 
     unsigned short nRefSysQ,
     unsigned short nStripQ,
     unsigned long lNoStripQ,
     double *nCoordXZ, 
     double *nCoordYZ,
     unsigned short nCoordSysZ,
     unsigned short nRefSysZ, 
     unsigned short nStripZ,
     unsigned long lNoStripZ);

Prototype of the DLL function in CAVO syntax (attend lower case!):
_DLL function coordtransbeta(;
     nCoordXQ as real8,;                   // 8 Byte
     nCoordYQ as real8,;                   // 8 Byte
     nCoordSysQ as word,;                  // 2 Byte
     nRefSysQ as word,;                    // 2 Byte
     nStripQ as word,;                     // 2 Byte
     lNoStripQ as logic,;                  // 4 Byte
     nCoordXZ ref real8,;                  // 4 Byte
     nCoordYZ ref real8,;                  // 4 Byte
     nCoordSysZ as word,;                  // 2 Byte
     nRefSysZ as word,;                    // 2 Byte
     nStripZ as word,;                     // 2 Byte
     lNoStripZ as logic);                  // 4 Byte
as logic pascal:betadll32.coordtransbeta   // 4 Byte


The function converts the numeric source coordinates nCoordXQ and
nCoordYQ from the source coordinate system nCoordSysQ to the numeric 
target coordinates nCoordXZ and nCoordYZ of the target coordinate system
nCoordSysZ. The transformation is accomplished with high exactness and 
great speed.

The passed source coordinates and the calculated target coordinates are
examined for the range validity within their coordinate systems and for
syntactic correctness.

With the coordinates transformation a datum shift from the geodetic
reference system nRefSysQ of the source coordinate system to the 
geodetic reference system nRefSysZ of the target coordinate system can 
be considered with  NTv2 grid data of the german BeTA2007 standard.

For transformations from the source coordinate systems Gauss-Krueger and
UTM the meridian strip nStripQ, to which the source coordinates refer, 
can be given. The given meridian strip should not deviate more than
3 strips from the native meridian strip of the source coordinate. If in 
nStripZ the value 0 is passed, the leading digits of the eastings are 
used for automatic calculations of the geographical lengths of the
native meridian strip.

If the parameter nStripQ contains a meridian strip number, with the value
TRUE in the parameter lNoStripQ the input of reduced eastings is made 
possible. The eastings then may not contain leading meridian strip 
numbers.
Example: nStripQ = 32,
         lNoStripQ = TRUE,
         UTM Easting 32564410 can be passed as 564410.

For transformations to the target coordinate systems Gauss-Krueger and
UTM the meridian strip nStripZ, to which the target coordinates refer, 
can be given. The given meridian strip should not deviate more than
3 strips from the native meridian strip of the target coordinate. If in 
nStripZ the value 0 is passed, an automatic calculation of the
native meridians strip from the geographical length results.

If the parameter nStripZ contains a meridian strip number, with the value
TRUE in the parameter lNoStripZ the output of reduced Eastings can be 
determined. The eastings then do not contain leading meridian strip 
numbers.
Example: nStripZ = 32,
         lNoStripZ = TRUE,
         UTM Easting 32564410 will be passed back as 564410.

The following transformations are possible:
Coordinate transformations with maintaining the reference system.
Coordinate transformations with change of the geodetic reference system.
Change of the geodetic ref. system with maintaining the coordinate system.
Change of the notation (way of writing) with geographical coordinates.
Change of the meridian strip with Gauss-Krueger and UTM coordinates.
Input and output of reduced Gauss-Krueger and UTM coordinates.
Conversion in the native meridian strip with Gauss-Krueger and UTM
coordinates.

The parameters are passed and/or returned as follows:
nCoordXQ    Longitude, East or Right component of the numeric source
            coordinate.

nCoordYQ    Latitude, North or Heigh component of the numeric source
            coordinate.

nCoordSysQ  coordinate system of the source coordinates.
  3         UTM coordinates (northern hemisphere)
  2         Gauss-Krueger (3 degrees wide strips)
  1         Geographic coordinates (Greenwich) [deg,min,sec]
  6         Geographic coordinates (Greenwich) [deg]

nRefSysQ    Geodetic reference system of the source coordinates.
162         DHDN90 (NTv2 BeTA2007 <±0.5m), Rauenberg, Bessel
163         ETRS89 (NTv2 BeTA2007 <±0.5m), geocentric, GRS80
 10         WGS84 (GPS NTv2 BeTA2007 <±0.5m), geocentric, WGS84

nStripQ     Meridian strip to use with the source coordinate system.
            This parameter has only an effect, if a "Transversal Mercator
            meridian strip system" is registered in nCoordSysQ.
0           Using of the leading digits of the easting for the calculation
            of the natural meridian strip.
> 0         Using of the value in nStripQ for the calculation of the 
            natural meridian strip.

lNoStripQ   Setting for the suppressing of the meridian strip number in 
            the eastings. This parameter has only an effect, if a 
            "Transversal Mercator meridian strip system" is registered in 
            nCoordSysQ.
TRUE        Eastings must be passed without leading meridian strip numbers.
FALSE       Eastings must be passed with leading meridian strip numbers. 

nCoordXZ    Longitude, East or Riight component of the numeric target
(ref)       coordinate.

nCoordYZ    Latitude, North or Heigh component of the numeric target
(ref)       coordinate.

nCoordSysZ  coordinate system of the target coordinates.
  3         UTM coordinates (northern hemisphere)
  2         Gauss-Krueger (3 degrees wide strips)
  1         Geographic coordinates (Greenwich) [deg,min,sec]
  6         Geographic coordinates (Greenwich) [deg]

nRefSysZ    Geodetic reference system of the target coordinates.
162         DHDN90 (NTv2 BeTA2007 <±0.5m), Rauenberg, Bessel
163         ETRS89 (NTv2 BeTA2007 <±0.5m), geocentric, GRS80
 10         WGS84 (GPS NTv2 BeTA2007 <±0.5m), geocentric, WGS84

nStripZ     Meridian strip to use with the target coordinate system.
            This parameter has only an effect, if a "Transversal Mercator
            meridian strip system" is registered in nCoordSysZ.
0           Calculation of the native meridian strip from the geographic
            longitude.
> 0         Calculation of the easting with the strip number nStripZ as
            native meridian strip.

lNoStripZ   Setting for the suppressing of the meridian strip number in 
            the eastings. This parameter has only an effect, if a 
            "Transversal Mercator meridian strip system" is registered in 
            nCoordSysZ.
TRUE        Eastings are returned without leading meridian strip numbers.
FALSE       Eastings are returned with leading meridian strip numbers. 

returnVal   In case of an error the function returns FALSE, otherwise TRUE.


Unlocking
This function requires unlocking. It is unlocked for unrestricted use
together with the other functions of BetaDLL by passing the unlock
parameters, acquired from the software distribution company, trough the
function setunlockcode(). Without unlocking only a few function calls for
test purposes (shareware principle) are possible.

KilletSoft News In order that you always are well informed about our company, we write actual news, current information and special offers here into this column.

KilletSoft Logo Accuracy check
 
Our products TRANSDAT, GeoDLL and BetaDLL supports transformations with the NTv2 standard BeTA2007. The German "Arbeitsgemeinschaft der Vermessungsverwaltungen" (ADV) therefore provides a set of test data. Comparative calculations with the test data attest an accuracy with an average deviation of only 0.02 millimeters.
Read the Press Release ...
Download the test protocol ...

KilletSoft Logo TRANSDAT language files
 
The latest version 13.32 supports language files for the programs interface. Since the language dependent texts are managed in external files, new languages can be added at any time by creating new language files. Every user of the program can compile language files by himself.

KilletSoft Logo Geo Data German Admin
 
The administrative data bases of the Federal Republic of Germany "GeoData German Admin" were updated on the data conditions of January 1st, 2010! The databases contain Towns and Municipalities, Town Quarters, Administrative Units, Postal Codes, Telephone Preselections, Snow and Wind Load Zones, Nature Area Classifications and Landscapes.

KilletSoft Logo Price reduced!
 
Since February we have a new contract with our data supplier. The prices for spatial data on street and building levels have been reduced substantially. The up to 65 percent cheaper prices we pass directly to our customers!

KilletSoft Logo New product BetaDLL
 
BetaDLL is a programming library with coordinate transformations and NTv2 datum shifts with the German BeTA2007 standard for calling from own applications or the use as C++ source code.
Read the Press Release ...

KilletSoft Logo WINDOWS© 7 compatible
 
Our software has received the certificate "WINDOWS© 7 compatible". So it complies with the compatibility standards of the Microsoft operating systems WINDOWS© 7.

KilletSoft Logo INSPIRE©
 
GeoDLL and TRANSDAT supports Europe-wide the ETRS89 coordinate systems proposed by INSPIRE©.

KilletSoft Logo GK --> UTM with BeTA2007
 
The convertion of your geodata from Gauss-Kruger to UTM with BeTA2007 - Its so easy!
Read the Worksheet and the Press Release ....

KilletSoft Logo UTM coordinates
 
Display Formats of UTM Coordinates - How to Deal with Them?
Read the Worksheet and the Press Release ....