Skip to content

Commit

Permalink
Updated the version number in the project files. Also updated some co…
Browse files Browse the repository at this point in the history
…mments/documentation
  • Loading branch information
TomasJohansson committed Nov 8, 2021
1 parent a0244a1 commit 427533e
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks> <!-- FSharp.Core 6.0 dependency ==> netstandard2.0 or 2.1 -->
<Version>2.0.0</Version>
<Version>3.0.0</Version>
<AssemblyName>Programmerare.CrsTransformations.Adapter.DotSpatial</AssemblyName>
<Title>Coordinate Reference System Transformations adapter implementation using the adaptee third-part library 'DotSpatial'.</Title>
<Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks> <!-- FSharp.Core 6.0 dependency ==> netstandard2.0 or 2.1 -->
<Version>2.0.0</Version>
<Version>3.0.0</Version>
<AssemblyName>Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy</AssemblyName>
<Title>Coordinate Reference System Transformations adapter implementation using the adaptee third-part library 'MightyLittleGeodesy'.</Title>
<Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks> <!-- FSharp.Core 6.0 dependency ==> netstandard2.0 or 2.1 -->
<Version>2.0.0</Version>
<Version>3.0.0</Version>
<AssemblyName>Programmerare.CrsTransformations.Adapter.ProjNet</AssemblyName>
<Title>Coordinate Reference System Transformations adapter implementation using the adaptee third-part library 'ProjNet'.</Title>
<Description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,18 @@ type CrsIdentifier private
member this.EpsgNumber = epsgNumber

///<value>
///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
///</value>
member this.IsEpsgCode = isEpsgCode

///<value>
///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."
///</value>
member this.WellKnownTextCrs = wellKnownTextCrs

///<summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///</param>
///<returns>
///an instance of CrsIdentifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks> <!-- FSharp.Core 6.0 dependency ==> netstandard2.0 or 2.1 -->
<Version>2.0.0</Version>
<Version>3.0.0</Version>
<AssemblyName>Programmerare.CrsTransformations.Core</AssemblyName>
<Title>Coordinate Reference System Transformations core API library e.g. defining the interface implemented by adapters.</Title>
<Description>
Expand Down
20 changes: 10 additions & 10 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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))

Expand All @@ -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
<!-- Use one, two or three of the below three Adapters -->
<PackageReference Include="Programmerare.CrsTransformations.Adapter.DotSpatial" Version="2.0.0" />
<PackageReference Include="Programmerare.CrsTransformations.Adapter.ProjNet" Version="2.0.0" />
<PackageReference Include="Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy" Version="2.0.0" />
<PackageReference Include="Programmerare.CrsTransformations.Adapter.DotSpatial" Version="3.0.0" />
<PackageReference Include="Programmerare.CrsTransformations.Adapter.ProjNet" Version="3.0.0" />
<PackageReference Include="Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy" Version="3.0.0" />


<!-- The Core should not be necessary to include explicitly as below (since it should be implicitly included when using one of the others above ) -->
<PackageReference Include="Programmerare.CrsTransformations.Core" Version="2.0.0" />
<PackageReference Include="Programmerare.CrsTransformations.Core" Version="3.0.0" />

<!-- Optional (and totally independent) library with only one class with lots of integer constants -->
<PackageReference Include="Programmerare.CrsTransformations.Constants" Version="10.36.0" />
Expand Down

0 comments on commit 427533e

Please sign in to comment.