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

Hi,

I'm looking for an Overpass Turbo query to get all ways with "source"="PGS" which were NOT TOUCHED since it's creation.

I've heard that Overpass can do this and would be glad about any help.

asked 26 Jun '18, 19:50

Nehaj's gravatar image

Nehaj
31558
accept rate: 0%


Something like this:

way[source=PGS](if:version()==1);
out;

It takes a long time to complete and won't really work with Overpass Turbo, it returns too much data.

Here's a similar script finding version 1 nodes, which are more common and easier to find, just to demonstrate the version test:

node[source=PGS]({{bbox}})(if:version()==1);
out;
permanent link

answered 27 Jun '18, 02:14

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

4

Please note that the version of a way is not increased when one of its points is moved. It only changes when the tags on the way are changed or when nodes are added/deleted

(27 Jun '18, 04:07) escada

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
×26

question asked: 26 Jun '18, 19:50

question was seen: 1,413 times

last updated: 27 Jun '18, 04:07

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