Skip to content

Releases: TomasJohansson/crsTransformations-dotnet

Version 3.0.0 of crsTransformations-dotnet

09 Nov 12:58
Compare
Choose a tag to compare

Version 3.0.0 of the following four libraries:
https://www.nuget.org/packages/Programmerare.CrsTransformations.Core/3.0.0
https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.ProjNet/3.0.0
https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.DotSpatial/3.0.0
https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy/3.0.0

Release notes:
(regarding notable differences between v2.0.0 and v3.0.0)

Added support for Wkt-Crs (Well-known text representation of coordinate reference systems) with a new method "CrsIdentifierFactory.CreateFromWktCrs".
Example:

CrsIdentifier crs = CrsIdentifierFactory.CreateFromWktCrs("PROJCS[\"SWEREF99 TM\",GEOGCS[\"SWEREF99\",DATUM ...[and so on with a long WKT-CRS string]...");

The previously existing method "CrsIdentifierFactory.CreateFromCrsCode" has changed behaviour a little bit, which is the reason for a new 'major' version number (i.e. version 3.0.0 instead of 2.1.0).
The difference is that it is now more restrictive regarding the input and can now throw an exception instead of (as before) setting the property 'CrsIdentifier.IsEpsgCode' to false.
The reason for this change is that the 'IsEpsgCode' is now used for determining which method to use from the implementations.
(CrsTransformationAdapterDotSpatial.fs and CrsTransformationAdapterProjNet.fs)
For example, the DotSpatial implementation now uses this 'IsEpsgCode' property to decide if its 'ProjectionInfo' will be created with its method 'ProjectionInfo.FromEpsgCode' or 'ProjectionInfo.FromEsriString'.

Please note that the WKT-CRS string is forwarded to the implementations without trying to figure out whether the provided string is "WKT OGC" or "WKT ESRI"

EPSG constants version 10.36

03 Oct 21:00
Compare
Choose a tag to compare

Version 10.36 of EPSG constants published to NuGet.
https://www.nuget.org/packages/Programmerare.CrsTransformations.Constants/10.36.0

The generated constants are based on EPSG Dataset v10.036

Version 2.0.0 of crsTransformations-dotnet

03 Oct 21:36
Compare
Choose a tag to compare

Version 2.0.0 of the following four libraries:
https://www.nuget.org/packages/Programmerare.CrsTransformations.Core/2.0.0
https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.ProjNet/2.0.0
https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.DotSpatial/2.0.0
https://www.nuget.org/packages/Programmerare.CrsTransformations.Adapter.MightyLittleGeodesy/2.0.0

Release notes:
(regarding differences between v1.0.0 and v2.0.0)

The version of "FSharp.Core" is now "6.0.0" which requires .NET standard 2.0 (or 2.1).
Therefore the supported target "net45" (.NET Framework 4.5) has been removed and the only target is "netstandard2.0" e.g. .NET Framework 4.6.1 or later

CrsTransformationAdapterProjNet4GeoAPI has been renamed to CrsTransformationAdapterProjNet and is now using
ProjNet 2.0.0 instead of ProjNET4GeoAPI 1.4.1
(the adaptee library NetTopologySuite/ProjNet4GeoAPI removed their GeoAPI dependency and now uses a NuGet package named ProjNet instead of ProjNET4GeoAPI.
See their issue 49: "Remove GeoAPI dependency"
NetTopologySuite/ProjNet4GeoAPI#49 )

The NuGet library with the ProjNet adapter has been renamed from
Programmerare.CrsTransformations.Adapter.ProjNet4GeoAPI to Programmerare.CrsTransformations.Adapter.ProjNet

Full class name (including namespace) for the ProjNet adapter in version 2:
Programmerare.CrsTransformations.Adapter.ProjNet.CrsTransformationAdapterProjNet

CrsTransformationAdapterMightyLittleGeodesy is now using MightyLittleGeodesy 1.0.2 instead of 1.0.1

v1.0.0