Tronald / CoordinateSharp

A library designed to ease geographic coordinate format conversions, and determine sun/moon information in C#

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tell Us What You're Using CoordinateSharp For!

Tronald opened this issue · comments

How Are You Using CoordinateSharp?

This library took a lot of effort to make, and takes a lot of effort to maintain. It's done so completely for the good of the developer community. Please make it worth while by sharing what you are using the library for in this issue.

A Few Currently Known Real World Uses

-Multiple video games to include the first major use, Walking Dead Our World.
-Air Force Flight Planning Software.
-Coast Guard Mission Management Software.
-Army Artillery Informational Briefings.
-Army Field Medical Communication Tech.
-Power Savings Applications.
-Weather Station Grouping Applications.
-Automated Moon Tracking Telescopes.
-Animal Observation Logging.
-Animal Nutritional Research.
-Digital Combat and Aerial Simulators.
-Mobile Laser Scanning.
-Drone Mesh Networking.
-Multiple Smart Home applications and IoT devices.
-Emergency response guidance.
-UxV simulations.
-And much much more!

Please comment below or shoot us a message as we love to hear how you are using CoordinateSharp!

I use the library to determine sunrise and sunset at arbitrary locations selected by a NOAA GOES geosynchronous satellite. If it's dark (after local sunset) then the image generation for the visible and false color images are not generated, saving time but more importantly disk space.

@rfnoise thank you so much for sharing!!!!!

I use it for a coordinate converter for digital combat simulator to easily calculate coordinates in a system that are used in my plane from a variety of sources that use a different system.
Project available @ https://github.com/FalcoGer/CoordinateConverter

@FalcoGer thank you for sharing, very cool!

@Radnix: I use it to convert spacial XYZ coordinates to simple latitude and longitude for my aerial simulator. Very impressive work. Much thanks for this development !!! :)

That’s great! Thank you for sharing!

commented

will try use it for geo data crawler from map

commented

I used CoordinateSharp to help turn UTM coordinates into lat/long positions so I can instantiate simulated UxVs in a virtual environment. CoordinateSharp enabled the near real-time positioning of simulated entities within a virtual environment serving as a 3d-UI. Thanks for exposing those UTM values for me!

If your interested in reading the thesis please read it here: "Observational Oversight For Understanding Trust In Interactive Human AI Systems"

image

@Rhybo I love this thank you so much for sharing that is wicked cool! I can’t wait to read it!

Using in ianisms/SmartThings.NETCoreWebHookSDK to get sunrise / sunset data for a given lat/lon for use in SmartThings automations.

@ianisms sweet! I checked out your project earlier today, looks awesome. Thanks for the response.

I use it to convert coordinates sent by IoT sensors to decimal degree values.
Good job guys!

To move coordinates from a position to another for vehicles-in-city simulator

Very cool work. Thanks. I am using it as part of development of an OpenStreetMap_Toolkit https://github.com/BHoM/OpenStreetMap_Toolkit within https://github.com/BHoM.

We determine a sports facility's eligibility for a specific event based on sunset time and the number of fields with lights.

I use it for sunrise/sunset calculation at lat/lon (actually airports) and distance / bearing calculations (ellipsoid) between two points (runway length and runway true direction).

Edit: Any plans to integrate magnetic declination calculation for given coordinates? :-)

@pre-martin thank you for the comment!

Magnetic declination would be super useful to have in CoordinateSharp, but it will most likely never be included in the base library due to the fact that the models constantly change. As you can only accurately predict a few years ahead (as far as I understand anyway), including such a feature in the base library would require users to constantly update the library to ensure the map data is up to date. This goes against the goal of the library (having a simple standalone way to calculate coordinate/celestial items without the need of stored data or web calls).

We're currently investigating library extensions however that could be downloaded via Nuget. The purpose of the extensions are to enhance CoordinateSharp without forcing the base library to rely on data. This way we could start introducing data based items such as magnetic declination.

I will add this to our requested enhancement list. I like the idea of having it and it could be a good first extension to build for the library.

Using it for a almanac, to see sun angle, sunrise/sunset, golden hour, blue hour and more.
Is it possible to calculate/get Solstice/Equinox?

@FloffyTheGreat CoordinateSharp does not currently have the ability to calculate Solstice or Equinox DateTime, This is certainly a feature that could be added. Please feel free to raise a new issue and request it.

@pre-martin You'll be happy to know we just got the logic built for magnetic data. This seems to be a popular request. It will be available as an extension package that should hopefully be ready by the next release (sometime next month).

The initial release will contain data models spanning 2015-2025. It will have tons of different magnetic field properties and it's super easy to use.

Usage Example:

using CoordinateSharp;
using CoordinateSharp.Magnetic;

Coordinate c = new Coordinate(45,-120, new DateTime(2020,10,27));
Magnetic m = new Magnetic(c, DataModel.WMM2020);
Magnetic.MagneticFieldElements.Declination;//14.45

Hi, thanks a lot for this useful library. I made a map of Wisconsin's technical colleges with it. https://github.com/LiteracyFanatic/truck-map
map

@LiteracyFanatic NICE! Thank you for sharing.

@pre-martin magnetic field values are now available via the magnetic extension package.

@pre-martin magnetic field values are now available via the magnetic extension package.

Works perfect. Thank you. Found only one small problem: https://github.com/Tronald/CoordinateSharp/blob/master/CoordinateSharp.Magnetic/Magnetic/Magentic.Model.cs should be named "Magnetic" instead of "Magentic" :-)

Thank you so much for this formidable tool Tronald. I'm using it to test applications that extract information from BIM models.
CTLATLON

We are going to use this to check sunrise and sunset for calculations on solar panel telemetry data. Nice Work!

I will use to determinate carnival holiday in Brazil:
Carnival is a holiday that is defined after the Easter day
And Easter day is: the next Sunday after the first full moon after the equinox

After Easter calculated I can calculate carnival that is 46 days before the Easter day, 47 days when is leap year

I use this great nuget in my gammaDog mobile app to parse coordinates that are input by the user manually (usually pasted from another source). I tried many input formats (DD, DDM, DMS) and variations and it seems to be very robust. I also use the nice Display string. Good job!
IMG_1024

I use it for Sun and Moon rise, set, azimuth, altitude, references. Sun dial design. Would love to have it provide parallactic angles to determine true visual moon orientation from any point on Earth.

commented

I am using this great libraby in combination with .NET MAUI to create cross-platform app, that can caclulate and display celestial/zodiac data based on GPS location or by user coordinates input , works without internet connection. Using Eager Loading and ParallelFor, on a mid-range smartphone it takes few seconds to make calculation for 365 days.
Planning to add artillery calculations and coordinates converters
Screenshot_1677791990
Screenshot_1677791981
Screenshot_1677792016

@alfamizar that is super cool thank you for sharing this!! Please let us know if you publish this on the app store.

I'm using CoordinateSharp (in F#!) to create scheduled tasks for repositioning a solar panel/array based on date and location.

Another use case is creating polygons for weather alert APIs to trigger within identified area when rain/wind conditions are met - used to mitigate potential damage to outdoor equipment (retrieve motorized awning in the current case). Again, the principal code is interfacing the library from an F# app running on a WildernessLabs Meadow IoT device.

Screenshot 2024-07-02 152547