Geographical Coordinate Converter

It is your responsibility to confirm the correctness of the converted values. Do not use these values without checking them against other reliable means, e.g. examining a map that uses the output format and visually confirming the location is as expected. See also the disclaimer.

Instructions

This application interprets the text you enter in the Location text field and displays a converted version of the interpreted location according to the options you have selected from the Display location format and Location ordering and separator option lists. The latter option is only shown if relevant to the selected location format.

Many common formats are recognised. To try a simple example, enter numeric only values, separated by a comma, e.g. 51.3,-2.3 for N51.3° W2.3°.

By experimenting with the different Display location format options, you will see some of the formats that are also accepted as input.

The degree symbol (°), single and double quotes and variants of these can be used to represent degrees, minutes and seconds. You can use the lower-case letter 'd' to represent degrees. Upper-case N, S, W & E can be used to indicate North, South, West and East. A negative value denotes South for latitude and West for longitude.

Generally, latitude is expected to precede longitude. The exception is where the value is specifically formatted as the proj.4  format. Where longitude preceeds latitude, a lower-case letter 'd', single quote and double quote are used to represent degrees, minutes and seconds. E.g. 2d17'40.2"E 48d51'29.7"N.

Examples:

  • 48°51'29.7"N 2°17'40.2"E
  • 48°51.495'N 2°17.67'E
  • 48.85825°N 2.2945°E

To confirm correct interpretation of the input text, it is advisable to select the Display location format option that you believe matches your input text format and confirm that the output value exactly matches that input location text.

OLC plus+code option

This option generates an Open Location Code also known as a Plus Code. See the Open Location Code  article for more information about Open Location Codes  and visit the Plus Code demonstration site  to try them out.

The source code for this application can be cloned with:

git clone git://www.fdsd.co.uk/coordinate-converter.git

Privacy

This application is implemented using the JavaScript environment which runs entirely within your browser. None of the values you enter as locations are transmitted elsewhere nor stored by this application. It is something I developed for my own use and am simply happy to share it for public use. I hope you find it useful too.

The application generates links providing a convenient way to display maps using some external map service providers. When you click on those links, the currently interpreted location will be included in the URL passed to those sites.

Software Used to Implement this Application

Bootstrap

A popular HTML, CSS and JavaScript framework for developing responsive, mobile first projects on the web.

MIT license

Open Location Code (Plus Codes)

Open Location Code is a library to generate short codes, called "plus codes", that can be used as digital addresses where street addresses don't exist.

Apache-2.0 license

Proj4js

A JavaScript library to transform coordinates from one coordinate system to another, including datum transformations.

Proj4js License

License including disclaimer

Coordinate Converter
© 2016-2023 Frank Dean

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.