From 427533eb9f950b95702884e7f5642999df4b60b9 Mon Sep 17 00:00:00 2001 From: Tomas Johansson Date: Mon, 8 Nov 2021 23:36:52 +0100 Subject: [PATCH] Updated the version number in the project files. Also updated some comments/documentation --- ...sTransformations.Adapter.DotSpatial.fsproj | 2 +- ...mations.Adapter.MightyLittleGeodesy.fsproj | 2 +- ....CrsTransformations.Adapter.ProjNet.fsproj | 2 +- .../Identifier/CrsIdentifier.fs | 14 ++++++++----- .../Identifier/CrsIdentifierFactory.fs | 2 +- ...ogrammerare.CrsTransformations.Core.fsproj | 2 +- docs/README.md | 20 +++++++++---------- 7 files changed, 24 insertions(+), 20 deletions(-) diff --git a/Programmerare.CrsTransformations.Adapter.DotSpatial/Programmerare.CrsTransformations.Adapter.DotSpatial.fsproj b/Programmerare.CrsTransformations.Adapter.DotSpatial/Programmerare.CrsTransformations.Adapter.DotSpatial.fsproj index 3a86372..60cd433 100644 --- a/Programmerare.CrsTransformations.Adapter.DotSpatial/Programmerare.CrsTransformations.Adapter.DotSpatial.fsproj +++ b/Programmerare.CrsTransformations.Adapter.DotSpatial/Programmerare.CrsTransformations.Adapter.DotSpatial.fsproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0 + 3.0.0 Programmerare.CrsTransformations.Adapter.DotSpatial Coordinate Reference System Transformations adapter implementation using the adaptee third-part library 'DotSpatial'. diff --git a/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy.fsproj b/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy.fsproj index 49c2564..d924b8a 100644 --- a/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy.fsproj +++ b/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy.fsproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0 + 3.0.0 Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy Coordinate Reference System Transformations adapter implementation using the adaptee third-part library 'MightyLittleGeodesy'. diff --git a/Programmerare.CrsTransformations.Adapter.ProjNet/Programmerare.CrsTransformations.Adapter.ProjNet.fsproj b/Programmerare.CrsTransformations.Adapter.ProjNet/Programmerare.CrsTransformations.Adapter.ProjNet.fsproj index fb4d51f..1fc24d9 100644 --- a/Programmerare.CrsTransformations.Adapter.ProjNet/Programmerare.CrsTransformations.Adapter.ProjNet.fsproj +++ b/Programmerare.CrsTransformations.Adapter.ProjNet/Programmerare.CrsTransformations.Adapter.ProjNet.fsproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0 + 3.0.0 Programmerare.CrsTransformations.Adapter.ProjNet Coordinate Reference System Transformations adapter implementation using the adaptee third-part library 'ProjNet'. diff --git a/Programmerare.CrsTransformations.Core/CrsTransformations/Identifier/CrsIdentifier.fs b/Programmerare.CrsTransformations.Core/CrsTransformations/Identifier/CrsIdentifier.fs index a01f966..c01e058 100644 --- a/Programmerare.CrsTransformations.Core/CrsTransformations/Identifier/CrsIdentifier.fs +++ b/Programmerare.CrsTransformations.Core/CrsTransformations/Identifier/CrsIdentifier.fs @@ -57,14 +57,18 @@ type CrsIdentifier private member this.EpsgNumber = epsgNumber /// - ///true if the instance represents an EPSG code and false otherwise. - ///Normally the method should always be true since EPSG code are expected - ///by the transform methods, and if this method would return false then - ///there was some problem at the construction of the instance, e.g. - ///trying to create the instance with a string not beginning with "EPSG:" + ///true if the instance represents a CRS (coordinate reference system) + ///defined by an EPSG code and false if it instead represents a CRS + ///defined by a WKT-CRS /// member this.IsEpsgCode = isEpsgCode + /// + ///empty string, if the instance represents an EPSG code but + ///otherwise a WKT (Well-Known-Text) CRS string. + ///https://en.wikipedia.org/wiki/Well-known_text_representation_of_coordinate_reference_systems#ESRI_vs_OGC + ///Quote from above URL: "Well-known text representation of coordinate reference systems (WKT or WKT-CRS) is a text markup language for representing spatial reference systems and transformations between spatial reference systems." + /// member this.WellKnownTextCrs = wellKnownTextCrs /// diff --git a/Programmerare.CrsTransformations.Core/CrsTransformations/Identifier/CrsIdentifierFactory.fs b/Programmerare.CrsTransformations.Core/CrsTransformations/Identifier/CrsIdentifierFactory.fs index af19709..dc84d62 100644 --- a/Programmerare.CrsTransformations.Core/CrsTransformations/Identifier/CrsIdentifierFactory.fs +++ b/Programmerare.CrsTransformations.Core/CrsTransformations/Identifier/CrsIdentifierFactory.fs @@ -38,7 +38,7 @@ module CrsIdentifierFactory = ///it will then be internally canonicalized to "EPSG:4326") ///An exception is thrown if an EPSG number is zero or negative, ///or if the input string is null or only whitespace. - ///Also thrown if not following the specified format in som other way. + ///Also thrown if not following the specified format in some other way. /// /// ///an instance of CrsIdentifier diff --git a/Programmerare.CrsTransformations.Core/Programmerare.CrsTransformations.Core.fsproj b/Programmerare.CrsTransformations.Core/Programmerare.CrsTransformations.Core.fsproj index fdfe0f8..90650c5 100644 --- a/Programmerare.CrsTransformations.Core/Programmerare.CrsTransformations.Core.fsproj +++ b/Programmerare.CrsTransformations.Core/Programmerare.CrsTransformations.Core.fsproj @@ -2,7 +2,7 @@ netstandard2.0 - 2.0.0 + 3.0.0 Programmerare.CrsTransformations.Core Coordinate Reference System Transformations core API library e.g. defining the interface implemented by adapters. diff --git a/docs/README.md b/docs/README.md index ef36a28..d3f729d 100644 --- a/docs/README.md +++ b/docs/README.md @@ -8,9 +8,9 @@ The adapters are using third-part .NET libraries as adaptee's. The code has been implemented with F# but the tests (and the generated constants in the subproject "[Programmerare.CrsTransformations.Constants](https://github.com/TomasJohansson/crsTransformations-dotnet/tree/master/Programmerare.CrsTransformations.Constants)") are implemented with C#. # Versions of .NET and F# -These versions below apply to v2.0.0 of the NuGet releases e.g. [Programmerare.CrsTransformations.Core](https://www.nuget.org/packages/Programmerare.CrsTransformations.Core/2.0.0): +These versions below apply to v3.0.0 of the NuGet releases e.g. [Programmerare.CrsTransformations.Core](https://www.nuget.org/packages/Programmerare.CrsTransformations.Core/3.0.0): The .NET target version is .NET Standard 2.0 ([e.g. .NET Framework 4.6.1 or later](https://docs.microsoft.com/en-us/dotnet/standard/net-standard)) but version 10.36 of the library with constants ([Programmerare.CrsTransformations.Constants](https://www.nuget.org/packages/Programmerare.CrsTransformations.Constants/)) can be used with .NET Framework 2.0 or later. -The F# version is 6.0.0 (i.e. for the package reference to "FSharp.Core") +The F# version is 6.0.1 (i.e. for the package reference to "FSharp.Core") # Adaptee libraries used by the three adapter libraries * https://github.com/DotSpatial/DotSpatial @@ -23,13 +23,13 @@ The F# version is 6.0.0 (i.e. for the package reference to "FSharp.Core") # NuGet releases The following five libraries from this code project have been released/distributed to NuGet: * Programmerare.CrsTransformations.**Core** - (version [2.0.0 at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Core/2.0.0)) + (version [3.0.0 at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Core/3.0.0)) * Programmerare.CrsTransformations.*Adapter*.**DotSpatial** - (version [2.0.0 at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.DotSpatial/2.0.0)) + (version [3.0.0 at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.DotSpatial/3.0.0)) * Programmerare.CrsTransformations.*Adapter*.**ProjNet4GeoAPI** - (version [2.0.0 at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.ProjNet/2.0.0)) + (version [3.0.0 at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.ProjNet/3.0.0)) * Programmerare.CrsTransformations.*Adapter*.**MightyLittleGeodesy** - (version [2.0.0 at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy/2.0.0)) + (version [3.0.0 at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy/3.0.0)) * Programmerare.CrsTransformations.*Constants* (version [**10.36.0** at NuGet](https://www.nuget.org/packages/Programmerare.CrsTransformations.Constants/10.36.0)) @@ -50,13 +50,13 @@ The "Constants" library is not needed but might be interesting if you want to us for the EPSG numbers rather than hardcoding them with integer literals or define your own integer constants. ```xml - - - + + + - +