NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I need to understand the position of two coordinates. In particular I would know if exists a formula that can say me the relation beetwen the cordinates (I mean if a coordinate come first and the other came after). Anyone can suggest me some formula?

asked 13 Sep '14, 16:36

scupetta18's gravatar image

scupetta18
-3111115
accept rate: 0%

closed 17 Sep '14, 13:35

sleske's gravatar image

sleske
4.1k135678

2

It's not exactly clear what you're asking here - do you want to calculate the distance between two places (for which you have some sort of positional co-ordinates - either decimal latitude and longitude or some other sort), and if so is that "as the crow flies" or by road? Or are you asking something else entirely?

Would it be possible to add some more words describing in more detail what you are trying to do? If your first language isn't English feel free to use that - lots of people here speak many different languages.

(13 Sep '14, 16:56) SomeoneElse ♦

Not a real question, closing.

(17 Sep '14, 13:35) sleske

The question has been closed for the following reason "Question is off-topic or not relevant" by sleske 17 Sep '14, 13:35


I guess you are refering to latitude and longitude from the geographic coordinate system.

The latitude must be ≥ −90 and ≤ 90 whereas the longitude must be ≥ −180 and ≤ 180. So for all coordinates having a longitude between ≥ −90 and ≤ 90 you can swap latitude and longitude and the result will still be a valid position. Therefore such a "formula" cannot really exist, except for checking if both lat and lon are within these bounds.

permanent link

answered 13 Sep '14, 16:52

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

edited 13 Sep '14, 16:54

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×144

question asked: 13 Sep '14, 16:36

question was seen: 4,049 times

last updated: 17 Sep '14, 13:35

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum