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

Good evening guys,

Suppose I have a point on map (latitude, longitude), I would like to determine the distance from a region of the same map (for example a rectangle with four lat-lon vertices or a shape with lat,lon center point and radius) how can do that? There is some formula or some plugin that allows me to do it in java?

Thanks a lot

asked 11 Jan '16, 15:19

giacomo-keybiz's gravatar image

giacomo-keybiz
33101013
accept rate: 0%

1

I recommend to ask such a general GIS question at a better place:

http://gis.stackexchange.com

(11 Jan '16, 17:26) stephan75
1

Yes, this question is unsuitable for the OSM help site. You might want to use the JTS library but GIS stackexchange is the way to go.

(11 Jan '16, 17:43) Frederik Ramm ♦

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:

×133
×44
×22

question asked: 11 Jan '16, 15:19

question was seen: 3,002 times

last updated: 11 Jan '16, 17:43

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