Overpass query to find POI in a specific postalcode

34 views Asked by At

I am facing a challenge in crafting an overpass query to identify points of interest (POIs) such as hospitals and schools within a specific zipcode. Despite my attempts with the following query:

[out:json];
(
  node["amenity"="hospital"](34.0522,-118.2437,34.0622,-118.2337)["postal_code"="90005"];
  node["amenity"="hospital"](34.0485,-118.2923,34.0585,-118.2823)["postal_code"="90006"];
  node["amenity"="hospital"](34.0122,-118.3365,34.0222,-118.3265)["postal_code"="90008"];
);

out center;

It seems to be ineffective for my purpose. I would appreciate assistance in refining this query or exploring alternative approaches to achieve the desired outcome.

0

There are 0 answers