Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Master #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,44 @@
# overpass-queries
Repositories for overpass-turbo and overpass-api queries


## Ricette

### Tutti i parcheggi presenti nell'area attiva
- **Cuoco**: [Christian Cantoro](https://wiki.openstreetmap.org/wiki/User:CristianCantoro)
- **Query live**: [http://overpass-turbo.eu/s/gyx](http://overpass-turbo.eu/s/gyx)
- **Difficoltà**: bassa

Con questa query per Overpass turbo è possibile avere restituito tutti i parcheggi:

- sia nodi, che aree;
- senza pagamento di pedaggio;
- senza cancelli all'ingresso;
- con accesso libero.

#### Codice

```XML
<query type="node">
<has-kv k="amenity" v="parking"/>
<has-kv k="fee" modv="not" v="yes"/>
<has-kv k="access" modv="not" v="private"/>
<has-kv k="barrier" modv="not" v="gate"/>
<bbox-query {{bbox}}/>
</query>
<print/>
<query type="way">
<has-kv k="amenity" v="parking"/>
<has-kv k="fee" modv="not" v="yes"/>
<has-kv k="access" modv="not" v="private"/>
<has-kv k="barrier" modv="not" v="gate"/>
<bbox-query {{bbox}}/>
</query>
<union>
<item/>
<recurse type="down"/>
</union>
<print/>
```