Comments (6)
Thanks Tronald , you will help me a lot if you do it.
from coordinatesharp.
UTM/MGRS cannot convert back to lat/long at this time. This feature needs to be added, it just hasnβt been a priority due to demand for celestial additions.
Iβm finishing up 1.1.1.6. In the next few days. Let me research this issue and see if itβs something I can quickly include in the release.
If not I will add it to the enhancement request tracker (1.1.1.6 branch).
from coordinatesharp.
It got it working with some slight accuracy issues. I had started writing these conversion before, I just never finished them. I am going to release a BETA version of this function with 1.1.1.6. I am going to see how much I can clean it up over the next couple days before I release. I will let you know it's status in a few days.
from coordinatesharp.
@MaxwellCanton I just pushed version 1.1.2.1 (changed from 1.1.1.6 due to some larger than anticipated changes) to Nuget. It may take a bit to index, so give it a while if you don't see it in your search.
The feature you need is described in the documentation, but here is an example of what you need.
UniversalTransverseMercator utm = new UniversalTransverseMercator("T", 32, 233434, 234234);
Coordinate c = UniversalTransverseMercator.ConvertUTMtoLatLong(utm);
Your lat/long values will be contained in your Coordinate object.
If you use NATO UTM, use the MilitaryGridReference
object instead of the UniversalTransverMercator
.
If you use a UTM with a Southern/Northern hemisphere format instead of a zone letter format, just throw a "C" in for southern hemisphere and "T" for northern. The formulas will figure out what you mean.
You may refer to documentation for accuracy of conversions. Let me know if you have any issues with it.
from coordinatesharp.
@Tronald thanks you just helped me so much !, Everything is working fine! .
from coordinatesharp.
Glad to hear it. Thanks for letting me know π
from coordinatesharp.
Related Issues (20)
- Bug in the Move-Function with Length+Bearing HOT 5
- GEOREF Support HOT 11
- CoordinatePart.TryParse throws exception if value is out of range. HOT 4
- Invalid lat/lon coordinates parsed as web mercator HOT 4
- Precision support for `ToRoundedString` HOT 1
- Typo in returned string value
- Use Enum for Zodiac sign and Moon name HOT 2
- Licensing Change - Discontinuation of Commercial Perpetual and Free Direct Support.
- [QUESTION] How to convert from arbitrary system to latitude, longitude? HOT 2
- Can this be used to convert ECI to Lat, Long, Alt? HOT 2
- Calculate time change based on azimuth change from solar noon HOT 29
- CalculateCelestialTimes, some date-problems HOT 4
- AstrologicalSigns class is being deprecated and removed in early 2024. HOT 1
- UniversalTransverseMercator can be created and used with wrong UTM coordinates HOT 2
- Loss of precision when converting between UTM and WGS back and forth HOT 1
- Conversion from Lat Long to MGRS is working but not the other way around C# HOT 2
- UTM output precision and central meridian HOT 1
- Converting to/from Sweref 99 HOT 1
- Can we check if a coordinate is within non-square polygon? HOT 8
- Densification currently only allows for default WGS84 curvature calculations.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coordinatesharp.