Skip to content

Commit 152787a

Browse files
committed
Add comment for conversion of uk.gov files
1 parent f62bc04 commit 152787a

File tree

5 files changed

+11
-1
lines changed

5 files changed

+11
-1
lines changed

src/main/kotlin/uk/gov/dstl/geo/osgb/CartesianConversion.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Crown Copyright (C) 2019 Dstl
33
*
4+
* Converted to Kotlin by Kyle Corry (Automated) in 2025
5+
*
46
* Licensed under the Apache License, Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

src/main/kotlin/uk/gov/dstl/geo/osgb/Constants.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Crown Copyright (C) 2019 Dstl
33
*
4+
* Converted to Kotlin by Kyle Corry (Automated) in 2025
5+
*
46
* Licensed under the Apache License, Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

src/main/kotlin/uk/gov/dstl/geo/osgb/EastingNorthingConversion.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Crown Copyright (C) 2019 Dstl
33
*
4+
* Converted to Kotlin by Kyle Corry (Automated) in 2025
5+
*
46
* Licensed under the Apache License, Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

src/main/kotlin/uk/gov/dstl/geo/osgb/NationalGrid.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Crown Copyright (C) 2019 Dstl
33
*
4+
* Converted to Kotlin by Kyle Corry (Automated) in 2025
5+
*
46
* Licensed under the Apache License, Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at

src/main/kotlin/uk/gov/dstl/geo/osgb/OSGB36.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* Crown Copyright (C) 2019 Dstl
33
*
4+
* Converted to Kotlin by Kyle Corry (Automated) in 2025
5+
*
46
* Licensed under the Apache License, Version 2.0 (the "License");
57
* you may not use this file except in compliance with the License.
68
* You may obtain a copy of the License at
@@ -23,7 +25,7 @@ import kotlin.math.*
2325
* <p>Values taken from
2426
* https://www.ordnancesurvey.co.uk/documents/resources/guide-coordinate-systems-great-britain.pdf
2527
*/
26-
object OSGB36 {
28+
internal object OSGB36 {
2729
private const val tX = -446.448
2830
private const val tY = 125.157
2931
private const val tZ = -542.060

0 commit comments

Comments
 (0)