1

Hi I am beginner at QGIS. I am trying to export the attributes "surface" and "parking lane" of every street of the city Dresden.

I tried it with "overpassturbo", but it doesn't give me every street, only few. If i try to export with the OSMExport command, i have to minimize my area, it doesn't work for the whole area of the city.

3
  • 3
    Can you explain why it doesn't give you every street like you said? Do you have an example? Can you share the overpass turbo link? What is the OSMExport command? Do you have a link for this one?
    – etrimaille
    Commented Jun 22, 2019 at 9:52
  • imge.to/i/Ux7rr (Screenshot) and overpass-turbo.eu/# (Link)
    – Adam
    Commented Jun 22, 2019 at 10:06
  • 1
    Can you improve your initial question with these information. I guess the link is something link overpass-turbo.eu/s/K8K Your link is the link to Overpass turbo without the query. Can you show us an example of street which is not returned by the query? I had a quick look, everything seems ok.
    – etrimaille
    Commented Jun 22, 2019 at 10:13

1 Answer 1

3

Your query is for the wrong key. According to Key:parking:lane you need to query for keys parking:lane:both, parking:lane:left and parking:lane:right. You only need to look for ways and can skip nodes and relations.

This is the resulting Overpass query:

[out:json][timeout:25];
// gather results
(
  // query part for: “parking:lane:*”
  way["parking:lane:both"]({{bbox}});
  way["parking:lane:left"]({{bbox}});
  way["parking:lane:right"]({{bbox}});
);
// print results
out body;
>;
out skel qt;

https://overpass-turbo.eu/s/KaU

Maybe this query can still be optimized, however I'm not an Overpass API expert.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.