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

In order to evaluate if a cycling route is suitable for children, I need to identify how many segments are shared with vehicles. I tried with this query [1] but it hangs on "rendering geoJSON". Where am I wrong?

[1] http://overpass-turbo.eu/s/yYk

asked 21 May '18, 12:50

Cascafico's gravatar image

Cascafico
283202329
accept rate: 0%


Is the name of the relationship right?

Using the wizard to just get relations with that name I'm getting zero items returned

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“"name"="Donauradweg (NÖ)" in Austria”
*/
[out:json][timeout:25];
// fetch area “Austria” to search in
{{geocodeArea:Austria}}->.searchArea;
// gather results
(
  relation["name"="Donauradweg (NÖ)"](area.searchArea);
);
// print results
out body;
>;
out skel qt;

Work out how to get the route first, then work out how to filter those items to just the ways with those tags.

permanent link

answered 07 Jul '20, 11:34

DevonshireBoy42's gravatar image

DevonshireBoy42
10113
accept rate: 0%

I can get part of it to work with this string (replaced the "=" sign with a tilde "~"

type:relation and name~"Donauradweg" in Austria

Overpass returns nodes: 15487, ways: 1525, relations: 6

but if the query uses the name as you suggested:

type:relation and name~"Donauradweg (NÖ)" in Austria

nothing is returned.

Someone more skilled with Overpass queries will be able to help with the combined query to return sections shared with highways

(07 Jul '20, 14:53) AlaskaDave

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:

×228
×179
×85

question asked: 21 May '18, 12:50

question was seen: 1,802 times

last updated: 07 Jul '20, 14:54

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