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
56358
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, 11:34

DevonshireBoy42's gravatar image

DevonshireBoy42
103
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, 14:53) AlaskaDave
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:

×153
×145
×76

question asked: 21 May '18, 12:50

question was seen: 503 times

last updated: 07 Jul, 14:54

powered by OSQA