D48/GK to D96/TM coordinates (Slovenia): worked example

Two boreholes from an old report converted from D48/GK to D96/TM with the GURS regional transformations, checked by hand, and compared with the country-wide 7-parameter set.

 Open this example in the tool The link loads both points; click Convert.

Problem

An old geological report gives two boreholes in the Slovenian D48/GK grid. The new site plan and the cadastre are in D96/TM. What are the D96/TM coordinates, and how accurate are they?

Pointy (easting) [m]x (northing) [m]
BH-1, Ljubljana461 850.00101 120.00
BH-2, Maribor550 320.00157 480.00

Source: EPSG:3912, MGI 1901 / Slovene National Grid (D48/GK), Bessel 1841 ellipsoid. Target: EPSG:3794, Slovenia 1996 / Slovene National Grid (D96/TM), GRS80 ellipsoid. Both are transverse Mercator projections with central meridian 15° E, scale 0.9999, false easting 500 000 m and false northing −5 000 000 m. The projection is the same; the datum is not, and that is where the roughly 500 m shift comes from. The numbers are our own case.

1. Read the old coordinates correctly

  • Slovenian surveying writes y for the easting and x for the northing, the reverse of the usual mathematical order. The tool reads easting first, so BH-1 goes in as 461850.00 101120.00.
  • Older documents often carry the zone digit in front: y = 5 461 850.00 and x = 5 101 120.00. Drop the leading 5 from both before you convert.
  • A D48 easting is between about 370 000 and 625 000 m and a northing between about 30 000 and 195 000 m. A value outside these ranges points to a swap or a prefix.

2. The transformation the tool uses

The Surveying and Mapping Authority of Slovenia (GURS) divided the country into 24 regions and published for each a 2D similarity transformation from D48/GK to D96/TM directly in the grid, with an accuracy of about 0.2 m. They are in the EPSG dataset as "D48/GK to D96/TM (1)" to "(24)", and the tool picks the one whose region contains the point. BH-1 lies in region 7 (western Ljubljana), BH-2 in region 22 (Maribor and Ptuj).

ED96 = E0 + a · y + b · x
ND96 = N0 − b · y + a · x
region 7:   E0 = −378.706, N0 = 493.722, a = 1.00001284772763, b = 1.85673007114899 · 10−5
region 22: E0 = −372.573, N0 = 505.578, a = 0.999997026796998, b = 3.74966643549409 · 10−5

a and b hold a scale (√(a² + b²) = 1.0000128 in region 7, 12.8 mm per km) and a small rotation (atan(b / a) = 3.8″). Write a = 1 + (a − 1) so that the large numbers do not swamp the small ones.

3. BH-1 by hand

(a − 1) · y = 1.284772763 · 10−5 · 461 850 = 5.9337 m,   b · x = 1.85673 · 10−5 · 101 120 = 1.8775 m
E = 461 850 + 5.9337 + 1.8775 − 378.706 = 461 479.105 m
b · y = 1.85673 · 10−5 · 461 850 = 8.5753 m,   (a − 1) · x = 1.284772763 · 10−5 · 101 120 = 1.2992 m
N = 101 120 − 8.5753 + 1.2992 + 493.722 = 101 606.446 m

4. BH-2 by hand

(a − 1) · y = −2.973203 · 10−6 · 550 320 = −1.6362 m,   b · x = 3.74967 · 10−5 · 157 480 = 5.9050 m
E = 550 320 − 1.6362 + 5.9050 − 372.573 = 549 951.696 m
b · y = 3.74967 · 10−5 · 550 320 = 20.6352 m,   (a − 1) · x = −2.973203 · 10−6 · 157 480 = −0.4682 m
N = 157 480 − 20.6352 − 0.4682 + 505.578 = 157 964.475 m

In both places D96 lies about 370 m west and 490 m north of D48. That is the datum shift between the Bessel-based MGI 1901 and the GRS80-based ETRS89 realisation, not a projection change.

5. Compared with the country-wide 7-parameter set

EPSG also has one 7-parameter Helmert transformation for the whole of Slovenia ("MGI 1901 to Slovenia 1996 (12)", accuracy about 1 m). It goes through geographic and geocentric coordinates: inverse projection on Bessel, φ, λ to X, Y, Z, the Helmert step (shifts 476.08, 125.95, 417.81 m, rotations −4.61″, −2.39″, 11.94″, scale 9.90 ppm), back to φ, λ on GRS80 and forward projection. For BH-1 it gives E = 461 479.053 m, N = 101 606.297 m, 5 cm and 15 cm from the regional result. That is within its 1 m accuracy, but use the regional set for anything that will be set out or overlaid on the cadastre.

Coordinates tool, CRS to CRS tab, converting BH-1 and BH-2 from EPSG:3912 to EPSG:3794
The CRS to CRS tab with the two boreholes. Copy table gives tab-separated values for Excel or CAD.

Result in the tool

Hand calculationToolDifference
BH-1, E / N461 479.105 / 101 606.446 m461 479.105 / 101 606.446 m0
BH-2, E / N549 951.696 / 157 964.475 m549 951.696 / 157 964.475 m0
BH-1 with the 7-parameter set461 479.053 / 101 606.297 m–5 / 15 cm

Your own case

  • The regional sets are accurate to about 0.2 m. For cadastral or survey work at centimetre level, GURS provides a finer transformation model; ask the surveyor which one the project uses.
  • Paste a whole column of points from Excel: easting, northing and an optional name on each line. The tool keeps the names, so the converted table goes straight back into the borehole log or CAD.
  • To see the points on a map, use the Coordinates to KMZ tab with the D96/TM values, or with D48 directly.
  • For a whole DXF drawing in D48 use the DXF to DXF tool. It currently applies the country-wide 7-parameter set of step 5 to every vertex, so its coordinates can differ from this tab by a few decimetres.

References

  • EPSG Geodetic Parameter Dataset: EPSG:3912, EPSG:3794 and the transformations "D48/GK to D96/TM (1)" to "(24)" and "MGI 1901 to Slovenia 1996 (12)".
  • IOGP (2019). Geomatics Guidance Note 7, part 2: Coordinate Conversions and Transformations including Formulas. IOGP Publication 373-7-2, sections on the similarity transformation and the Helmert 7-parameter transformation.
  • Geodetska uprava Republike Slovenije (GURS). Transformation between D48/GK and D96/TM, regional transformation parameters.

Worked example by Martin Hostnik, updated 2026-11-21. Results are for checking and preliminary design; verify them for your project. Questions or a correction: [email protected].