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

Hi, I want to create a global electricity transmission and distribution map. It works well with the overpass turbo for smaller countries like Austria with the code type:way & (power=line | power=cable | power=minor_line) in Germany. Unfortunately,if I do it with Germany, a runtime error occurs after 25 seconds saying "runtime error: Query timed out in "query" at line 12 after 26 seconds." indicating that it´s too big and there´s not enough processing time.
Can anybody help me to also load the power line network for bigger countries? best regards, Philipp

asked 08 Aug '19, 23:17

Philipp's gravatar image

Philipp
11112
accept rate: 0%

edited 09 Aug '19, 11:34

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701


While you can increase the timeout (change [timeout:25] to something larger), that will only help a bit as the problem with larger countries is that they are larger and queries will take longer to the point that they will always fail.

You could try to use a dedicated extract service, for example: https://osmaxx.hsr.ch/

Or download "raw" OSM data and filter it to contain objects that you are interested in and then split it in to regions (or the other ways around). You probably will also need to convert OSM data to a format that actually has instantiated geometries, for example GeoJSON.

Download sites: https://wiki.openstreetmap.org/wiki/Planet.osm#Country_and_area_extracts

Tools: osmium tool, osmfilter and many more

permanent link

answered 09 Aug '19, 11:24

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 09 Aug '19, 11:32

Your answer
toggle preview

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:

×483
×5

question asked: 08 Aug '19, 23:17

question was seen: 1,369 times

last updated: 09 Aug '19, 11:34

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