+
Skip to content

Tags: IeuanWalker/GeoUK

Tags

1.3.0

Toggle 1.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
LatitudeLongitude from easting northing helper (#54)

* Refactor LatitudeLongitude class and add conversion method

Updated `LatitudeLongitude.cs` to include new using directives for `GeoUK.Ellipsoids` and `GeoUK.Projections`. The class structure has been improved for clarity, and a new static method `FromEastingNorthing` has been added to convert easting and northing coordinates to latitude and longitude using Cartesian transformations and projections.

* Update GeoUK/Coordinates/LatitudeLongitude.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix comment typo in LatitudeLongitude.cs

Removed incorrect comment about ETRS89 and WGS84.
No changes to functionality; transformation logic remains intact.

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

1.2.0

Toggle 1.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Polygon - Generate Geo polygon around a specific point (#53)

* Add Polygon class with geospatial methods and tests

Implemented a new static `Polygon` class in the `GeoUK` namespace for generating polygons around geographic points. The class includes input validation and methods for degree-radian conversion.

Also added a suite of unit tests in `PolygonTests.cs` using Xunit to cover various scenarios, ensuring the correctness and performance of the `GeneratePolygonAroundPoint` method.

* Fix longitude normalization in Polygon.cs

Updated longitude normalization to the range of [-180, 180]
instead of [-180, 180). Adjusted logic to correctly handle
values exceeding the bounds by adding or subtracting 360.0
as necessary, ensuring proper wrapping of longitude values.

* Add GeoUK.OSTN.XUnit project and update README.md

- Included a new project `GeoUK.OSTN.XUnit` in the solution.
- Added `pr.yml` to the Solution Items section.
- Enhanced `README.md` with a new section on generating polygons around points, including code examples and a link to GeoJson.io for testing.

1.1.0

Toggle 1.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Release.yml fixes (#49)

* Update project files for packaging enhancements

Added icon file for packaging and updated project metadata.
Replaced `<PackageIconUrl>` with `<PackageIcon>` for local reference.
Modified `<Description>` and restored `<Copyright>` in `GeoUK.csproj`.

* Update NuGet package paths in release.yml

Added "IeuanWalker." prefix to GeoUK and GeoUK.OSTN
packages in upload and publish paths. This ensures
correct referencing of new package names during the
release process.
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载