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

Hello,

What is the way to download shape data centered around the given longitude and latitude coordinates (for example 1000 images from 1000 different locations)? Is there a way to automate that process in python using overpy? I am new in this field, therefore each advice would be helpful.

asked 13 Jan '21, 23:24

Miki450's gravatar image

Miki450
21112
accept rate: 0%


This is an extremely broad question and more about Python (and scripting/programming in general) than about OpenStreetMap or Overpass-API.

Also, beware that Overpass-API doesn't return images, it returns OpenStreetMap data in a relatively raw form.

In general, you'd figure out how to process one location and then wrap that in some logic to repeat it for each location you are interested in, possibly with some rate limiting to ensure that you are respecting the resource limits of the servers.

permanent link

answered 14 Jan '21, 01:40

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

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:

×275
×230
×11
×4

question asked: 13 Jan '21, 23:24

question was seen: 1,541 times

last updated: 14 Jan '21, 01:40

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