Skip to content

Find features within an administrative boundary

Use map_to_area to search for bus stops within Washington, DC.

---
title: Find features within an administrative boundary
description: Use `map_to_area` to search for bus stops within Washington, DC.
options:
  zoom: 10
  center: [-77.016, 38.899]
---
/* To run for your own city, replace with the wikidata ID for your city below */
nwr[wikidata=Q3551781][type=boundary];
map_to_area -> .a;
nwr[highway=bus_stop](area.a);
out center;


View Map on Ultra
Edit Query on Ultra