https://github.com/rwnrchrds/geocore
A modern .NET library for geospatial math — distance, bearing, movement, and polygon calculations.
https://github.com/rwnrchrds/geocore
bearing csharp distance dotnet geospatial gis library mapping math polygon
Last synced: 2 months ago
JSON representation
A modern .NET library for geospatial math — distance, bearing, movement, and polygon calculations.
- Host: GitHub
- URL: https://github.com/rwnrchrds/geocore
- Owner: RwnRchrds
- License: mit
- Created: 2025-06-05T16:47:18.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-17T22:36:46.000Z (about 1 year ago)
- Last Synced: 2025-06-25T00:33:03.639Z (about 1 year ago)
- Topics: bearing, csharp, distance, dotnet, geospatial, gis, library, mapping, math, polygon
- Language: C#
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# GeoCore
**GeoCore** is a clean, modern, developer-friendly .NET library for geospatial math — including distance, bearing, movement, and polygon calculations.
## ✨ Features
- 📍 `GeoPoint` structure for latitude/longitude
- 📏 Great-circle distance and bearing calculations
- 🔁 Move a point by bearing + distance
- 📦 Unit conversion (distance, angle, area)
- 🧭 Polygon containment and area
- ✅ Fully unit-tested (NUnit)
## 📦 Installation
Coming soon to NuGet!
## 🚀 Usage
```csharp
var london = new GeoPoint(51.5074, -0.1278);
var amsterdam = new GeoPoint(52.3676, 4.9041);
double distanceKm = london.DistanceTo(amsterdam);
double bearing = london.BearingTo(amsterdam);