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

Hello, for a degree thesis I would like to carry out a census of Italian bridges with the data present from OpenStreetMap, which seem to me quite complete.

I extracted the data with Overpass Turbo and then exported it to uMap.

There are only two problems: 1) Many bridges are counted double because they are part of a two-way street. Is it possible to eliminate one of the two in the count? 2) By extracting the data province by province, the figures do not add up compared to a count made at the national level, because there are many bridges between one province and another. How can I delete duplicates?

Thanks to those who will answer me and happy new year. a

asked 02 Jan '23, 13:05

Fraccio's gravatar image

Fraccio
21112
accept rate: 0%

1

Please post your routine

(02 Jan '23, 13:33) DaveF

/*
This has been generated by the overpass-turbo wizard.
The original search was:
“"bridge" is not null”
*/
[out:json][timeout:250];
// fetch area Italia” to search in
  {{geocodeArea:Italia}}->.searchArea;
// gather results

(
  // query part for: “bridge=*”
  node["bridge"]({{bbox}})(area.searchArea);
  way["bridge"]({{bbox}})(area.searchArea);
  relation["bridge"]({{bbox}})(area.searchArea);
);
// print results
out body;
>;
out skel qt;
permanent link

answered 02 Jan '23, 13:46

Fraccio's gravatar image

Fraccio
21112
accept rate: 0%

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
×228
×71
×15

question asked: 02 Jan '23, 13:05

question was seen: 1,138 times

last updated: 02 Jan '23, 13:47

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