area-request: adding only a single line - the whole code fails

hello dear friends

this runs well - without any issue

i wanted to add a single line - but see here

it fails

You have two errors in your query. The parenthesis starting before nwr[amenity=hospital] are not closed and nwr[amenity=amenity=nursing_home] contains the key *amenity *twice, the query below runs fine for me:

rel[boundary=administrative][admin_level=6][name="München"] -> .city;
out center;

I’d suggest not to use “around” for this use case, but rather area. Otherwise your results will be incomplete.

See for an example.

@tag…There’s really no need to post your question in multiple sub-forums at the same time. One post would do as well.