I'm trying to find all rivers with a name containing specific word (or part of it). F. ex. all 'Danube-' rivers, or 'Danu-', 'Dan-' and so. In another topic I've found useful query, which after example modification looks like this:
<osm-script output="xml" timeout="250">
<union>
<query type="nwr">
<has-kv k="river"/>
<has-kv k="name" regv="Danube(.*)"/>
<bbox-query {{bbox}}/>
</query>
</union>
<print mode="body"/>
and it finds nothing.
I tried also this:
<osm-script output="xml" timeout="250">
<union>
<query type="nwr">
<has-kv k="name" regv="Danube(.*)"/>
<bbox-query {{bbox}}/>
</query>
</union>
<print mode="body"/>
and it will find all 'Danube' restaurants and hotels, but not the river itself.
Can someone explain to me how to find also rivers (lines)? I need it for my historical research (toponymy). I might add I'm not great at coding.
Edit: Danube was just an example. I don't need Danube itself, but other rivers and wild card is a must.
I'll give you better example - I'm searching for the 'Stob-' rivers and I need query which will find rivers like 'Stob-nica', 'Stob-ianka' and 'Stob-niczanka' and others 'Stob-' rivers whose suffixes I don't know. Can't do that without wild card.