https://github.com/opensky-to/s2geometry
OpenSky S2 Geometry library for .net projects
https://github.com/opensky-to/s2geometry
flight-simulator msfs s2geometry
Last synced: 2 months ago
JSON representation
OpenSky S2 Geometry library for .net projects
- Host: GitHub
- URL: https://github.com/opensky-to/s2geometry
- Owner: opensky-to
- License: mit
- Created: 2021-12-06T13:34:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T20:13:34.000Z (over 2 years ago)
- Last Synced: 2025-08-21T23:03:56.063Z (7 months ago)
- Topics: flight-simulator, msfs, s2geometry
- Language: C#
- Homepage:
- Size: 221 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README

[](https://discord.com/invite/eR3yePrj79)
[](https://www.facebook.com/Opensky.to/)
![Maintained][maintained-badge]
[](https://github.com/opensky-to/s2geometry/actions/workflows/dotnet_test.yml)
[![Make a pull request][prs-badge]][prs]
[![License][license-badge]](LICENSE.md)
OpenSky is an open-source airline management simulation currently in development. We are actively seeking aviation enthusiast whom would love to be part of this upcoming project and shape it with us! If you have experience in coding, graphical or game design and feel like you could be an asset to the project, please head over to the [contribute page](https://www.opensky.to/contribute) and do not hesitate to jump into our [Discord](https://discord.com/invite/eR3yePrj79) and say hello! We would love to hear your ideas and feedback and are actively collecting them in our [forums](https://forum.opensky.to/)!
## OpenSky S2Geometry
This repository contains the C# code for handling S2 Geometry calculations used in OpenSky, published as a [nuget package](https://www.nuget.org/packages/OpenSky.S2Geometry/).
This is a fork from novotnyllc's C# port of Google's S2 Geometry Library from both Java and C++, the aim of this fork is to provide a shared version for both .net 4.8 and 5/6 with some added convinience methods
https://github.com/novotnyllc/s2-geometry-library-csharp
https://code.google.com/p/s2-geometry-library-java/
https://code.google.com/p/s2-geometry-library/
This library is can be used to create GeoHashes for fast querying. The Java version is used by AWS for
GeoSpatial queries in DynamoDB.
S2 uses Hilbert Curves extensivly.
For more info, see the original google presentation https://docs.google.com/presentation/d/1Hl4KapfAENAOf4gv-pSngKwvS_jwNVHRPZTTDzXXn6Q/view
## License
Original source code and assets and present in this repository are licensed under the MIT license.
[maintained-badge]: https://img.shields.io/badge/maintained-yes-brightgreen
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg
[license]: https://github.com/maximegris/angular-electron/blob/master/LICENSE.md
[prs-badge]: https://img.shields.io/badge/PRs-welcome-red.svg
[prs]: http://makeapullrequest.com