diff --git a/GeoUK.OSTN/azure-pipelines.yml b/GeoUK.OSTN/azure-pipelines.yml index f4a0279..136e303 100644 --- a/GeoUK.OSTN/azure-pipelines.yml +++ b/GeoUK.OSTN/azure-pipelines.yml @@ -33,8 +33,11 @@ steps: inputs: testSelector: 'testAssemblies' testAssemblyVer2: | - **\*GeoUK.OSTN.Tests.dll + **\*GeoUK.OSTN.XUnit.dll + **\Tests\GeoUK.OSTN.XUnit\*GeoUK.OSTN.XUnit.dll + **\Tests\GeoUK.OSTN.XUnit\GeoUK.OSTN.XUnit.dll **\*test*.dll + **\*XUnit*.dll !**\*TestAdapter.dll !**\obj\** searchFolder: '$(System.DefaultWorkingDirectory)' @@ -50,8 +53,7 @@ steps: packagesToPack: 'GeoUK.OSTN/GeoUK.OSTN.csproj' majorVersion: '$(Major)' minorVersion: '$(Minor)' - patchVersion: '$(Patch)' - + patchVersion: '$(Patch)' # The last task is a nuget command, nuget push # This will push any .nupkg files to the 'TestFeed' artifact feed diff --git a/GeoUK/azure-pipelines.yml b/GeoUK/azure-pipelines.yml index 6b04717..706925d 100644 --- a/GeoUK/azure-pipelines.yml +++ b/GeoUK/azure-pipelines.yml @@ -33,7 +33,7 @@ steps: inputs: testSelector: 'testAssemblies' testAssemblyVer2: | - **/*GeoUK.OSTN.Tests.dll + **/*GeoUK.OSTN.XUnit.dll !**\*TestAdapter.dll !**\obj\** searchFolder: '$(System.DefaultWorkingDirectory)' diff --git a/README.md b/README.md index dc82bee..a888502 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ The GeoUk.OSTN project, adds OSTN02 and OSTN15 transformation which provide a gr # How to use -> Install > [GeoUK](https://www.nuget.org/packages/IeuanWalker.GeoUK/) +> Install [GeoUK](https://www.nuget.org/packages/IeuanWalker.GeoUK/) ## Convert Easting/ Northing to Latitude/ Longitude 1. Convert to Cartesian @@ -41,7 +41,7 @@ Cartesian cartesian = Convert.ToCartesian(new Airy1830(), ``` 2. Transform from OSBB36 datum to ETRS89 datum ```csharp -Cartesian wgsCartesian = Transform.OSBB36ToEtrs89(cartesian); //ETRS89 is effectively WGS84 +Cartesian wgsCartesian = Transform.Osgb36ToEtrs89(cartesian); //ETRS89 is effectively WGS84 ``` 3. Convert back to Latitude/Longitude ```csharp @@ -72,7 +72,7 @@ This rubber sheet geoid is effectively a lookup table that can be used to determ The GeoUK.OSTN Nuget package extends the GeoUK package to include OSGM02/OSTN0 and OSTN15 functionality and provides a simple method to make an accurate one-way transformation from ETRS89 to BNG. The package can be added to a project using the following Package Manager command. The package is dependent upon the GeoUK package and will add it as required. -> Install > [GeoUK.OSTN]() +> Install [GeoUK.OSTN]() It should be noted that the `GeoUK.OSTN` package contains the OSGM02 geoid and OSTN02 OSTN15 transformations, as a result is fairly large, in addition, transformations will be slower than using the Helmert transformations as used in the examples above.