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

Hi,

I need to export an area from OSM. As I needed the exported part of the map to be a certain area e.g. 2000m x 2000m, I got coordinates for precisely that size area from Bing Maps (lat, long of each of the four points of the square).

What I don't understand is what coordinates I need to put into the "Area to Export" fields as only two lat/long values are required.

Thanks.

asked 13 Apr '13, 22:39

kerrymaid's gravatar image

kerrymaid
1333
accept rate: 0%


You're right a bounding box has four edges with lat/lon each, resulting in four, not two lat/lon pairs. What you're missing is: The box is not rotated. That means two sides of the box are in parallel with the equator. Therefore two connected points always share either the latitude or the longitude. That's why only two lat/lon pairs suffice to describe a bounding box.

In other words you need so specify the max latitude, min latitude, max longitude and min longitude to describe a bounding box that you want to query.

permanent link

answered 14 Apr '13, 22:20

konstantin's gravatar image

konstantin
61446
accept rate: 0%

There are four parameters in the "Area to Export" page on the OSM map. If you have the four box co-ordinates for an area then take the first number in your first box coordinate pair and put it in the first "Area to Export" field. Put the second member of the first box pair in the second field. Fill in the third and fourth "Area to Export" fields with the values from the last co-ordinate pair for your box.

permanent link

answered 13 Apr '13, 23:44

Feilipu's gravatar image

Feilipu
90239
accept rate: 10%

edited 13 Apr '13, 23:45

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:

×315

question asked: 13 Apr '13, 22:39

question was seen: 4,703 times

last updated: 14 Apr '13, 22:20

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