I'm looking to map (for the sake of the example) all memorials to Lincoln in California using QGIS' QuickOSM plugin.
The query I can easily set up
[out:xml] [timeout:25];
{{geocodeArea:California}} -> .area_0;
(
node["memorial"]["name"="Lincoln"](area.area_0);
);
(._;>;);
out body;
looks for the exact match in the name tag. As a result, QuickOSM returns me the message Successful query, but no result
, even though California definitely has a memorial with "Lincoln" in the name (the "Abraham Lincoln War Memorial" in Oakland, at least).
How do I formulate the query so that it only checks if the name tag contains this string?
I found a feature request on Github for Overpass API, and a discussion here proposing to use "LIKE", which is however apparently not working for QuickOSM:
[out:xml] [timeout:25];
{{geocodeArea:California}} -> .area_0;
(
node["memorial"]["name" LIKE "%Lincoln%"](area.area_0);
);
(._;>;);
out body;
returns
Bad request OverpassAPI.
"'%Lincoln%'"
.