search_category
Locate places by category within a defined geographic area using coordinates. Filter results by specific types like restaurants, schools, or parks. Retrieve detailed location data and metadata for targeted searches in neighborhoods or city districts.
Instructions
Search for specific types of places within a defined geographic area.
This tool allows targeted searches for places matching specific categories within a rectangular geographic region. It's particularly useful for filtering places by type (restaurants, schools, parks, etc.) within a neighborhood or city district. Results include complete location details and metadata about each matching place.
Args: category: Main OSM category to search for (e.g., "amenity", "shop", "tourism", "building") min_latitude: Southern boundary of search area (decimal degrees) min_longitude: Western boundary of search area (decimal degrees) max_latitude: Northern boundary of search area (decimal degrees) max_longitude: Eastern boundary of search area (decimal degrees) subcategories: Optional list of specific subcategories to filter by (e.g., ["restaurant", "cafe"])
Returns: Structured results including: - Query parameters - Count of matching places - List of matching places with coordinates, names, and metadata
Input Schema
Name | Required | Description | Default |
---|---|---|---|
category | Yes | ||
max_latitude | Yes | ||
max_longitude | Yes | ||
min_latitude | Yes | ||
min_longitude | Yes | ||
subcategories | No |