You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2016-05-09 08:26:49

mngon
Member
Registered: 2016-04-08
Posts: 3

Query on Overpass

Hi!!
I want to find on Overpass turbo all elements that contain the word "teodosio".
How should I do?
Thanks

Giuseppe

Offline

#2 2016-05-09 16:04:54

stephan75
Member
Registered: 2008-05-28
Posts: 2,918

Re: Query on Overpass

In the OSM wiki there is the sub page http://wiki.openstreetmap.org/wiki/Over … rbo/Wizard

where you can find definitions about logical search parameters, regex searches and wildcards.

What have you tried so far in detail?
Tell us your query strings and the results, and why those results are good or why they fail.

Offline

#3 2016-05-09 17:08:59

mngon
Member
Registered: 2016-04-08
Posts: 3

Re: Query on Overpass

I have a problem with query strings because I don't know which one to use.
I want to find every elements (node, way and polygon) that contain the name: "teodosio"

Offline

#4 2016-05-11 09:23:51

escada
Moderator
Registered: 2011-08-13
Posts: 1,754

Re: Query on Overpass

You can use the query http://overpass-turbo.eu/s/g9g

(which finds nodes, ways and relations. Polygons are just closed ways and are thereby included in the answer)

It uses  ~, which, according to the docs, means

node["name"~"Foo"];      /* finds anything that contains the substring "Foo" */

Offline

Board footer

Powered by FluxBB