Write an overpass turbo query to find all residential roads without a name
- User
Write an overpass turbo query to find all residential roads without a name
Assistant
Here is an example Overpass Turbo query to find all residential roads without a name:
[out:json]; area["highway"="residential"]["name"!~".*"]; way["highway"="residential"]["name"!~".*"]; out body; >; out skel;This query uses the
areaandwayelements to search for all roads with thehighwaytag set to "residential" that do not have thenametag set to anything. The!~operator is used for a negated regular expression match, so it will exclude roads with anynamevalue that contains certain characters (in this case, any characters at all). Theout bodyand commands are used to output the results in the JSON format. You can customize this query by modifying the regular expression used in the operator to exclude different values. You can also use the operator to limit the number of results returned by the query. For example, to limit the results to the first 100 residential roads without a name, you can modify the query like this:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.