Coordinate Formatting
CoordinateSharp has the ability to parse multiple coordinate types. With that said we are always looking to improve upon this tool so parses will be temporarily logged. Logs are anonymous and the only information saved is the date of the parse and the coordinate entered.
You may also create an issue on our GitHub Page and we will try to add the requested format to the parser.
Coordinate Format Tips
- Keep spacing consistent. For example
N 25.473, E 26.785
and N25.473, E26.785
will parse but N 25.473, E26.785
may not.
- Use zeros instead of blank spaces for required formats. Degree Decimal Minute example:
N 25 0.0, E 34 45.6
will parse correctly, but N 25, E 34 45.6
will not. This is, because N 25
could be either a Decimal Degree or a Decimal Degree Minute formatted coordinate part.
- The UTM format of CoordinateSharp includes latitude bands. Because UTM lat band "S" exists, you cannot assume
S=south
as passing S
will put your UTM coordinate in
the Northern Hemisphere. Pass C
instead (as it's a southern band). Example: South 18 510900mE 5584308mN
will parse correctly if passed as
18C 510900mE 5584308mN
.
Parsable Format Examples:
The below list is not all encompassing, but should give an idea as to what is parsable. Always try your desired format first. The most common reason for parse failure is lack of consistency between lat and long coordinate parts.
Signed Degrees
- 37.891, -74.872
- 37.891 -74.872
- 37.891º -74.872º
Decimal Degrees
- N 37.891, W 74.872
- N 37.891 W 74.872
- N 37.891º W 74.872º
- 37.891ºN 74.872ºW
Degree Decimal Minute
- N 37º 53.46' W 74º 52.32'
- 37º 53.46'N 74º 52.32'W
- 37º 53.46' N, 74º 52.32' W
- 37 53.46N 74 52.32W
- 37-53.46N 74-52.32W
Degree Minute Second
- N 37º 53' 27.6" W 74º 52' 19.2"
- N37 53' 27.6", W74 52' 19.2"
- N37 53 27.6" W74 52 19.2"
- 37 53 27.6 N 74 52 19.2 W
- 37-53-27.6 N 74-52-19.2 W
- 37-53 27.6 N 74-52 19.2 W
Universal Transverse Mercator (UTM)
- 18S 511254mE 4193729mN
- 18 S 511254mE 4193729mN
- 18S 511254 4193729
- 18S5112544193729 (Easting / Northing must have same precision)
Military Grid Reference System (MGRS)
- 18SWG (defaults easting and northing to 0,0)
- 18S WG 11254 93729
- 18 S WG 11254 93729
- S18 WG 11254 93729
- 18SWG1125493729 (Easting / Northing must have same precision)
Cartesian (Spherical)
At this time, coordinate must be in X, Y, Z order regardless of if X, Y, Z is labeled.
- 0.20595742 -0.76183168 0.6141612
- X 0.20595742 Y -0.76183168 Z 0.6141612
ECEF (X, Y, Z)
At this time, coordinate must be in X, Y, Z order regardless of if X, Y, Z is labeled.
- 5242.918 km, 2444.813 km, 2679.497 km
- 5242.918 km 2444.813 km 2679.497 km
- 5242.918, 2444.813, 2679.497
- X 5242.918, Y 2444.813, Z 2679.497
Web Mercator (EPSG:3857)
Easting value must be first. Geodetic lat/long string takes priority if coordinate string format is also parsable as a geodetic lat/long coordinate.
- 7124447.411mE 5621521.486mN
- 7124447.411E 5621521.486N
- 7124447.411 5621521.486
GEOREF