analysis_area
Analyze a geographic bounding box to find dark, accessible stargazing spots with light pollution, elevation, and road access data. Returns paginated, cached candidate locations for a fixed regional search.
Instructions
Analyze a geographic area for suitable stargazing locations.
Use when: you need synchronous place candidates or cached pages for a fixed regional query. Do not use when: the search needs background polling/cancellation or a complete night plan. Requires: south/west/north/east bounds; keep search parameters fixed while changing pages. Follow-up: analysis_area with the same query for other pages; submit_area_analysis for background work; plan_stargazing_session for dates, weather, and target decisions.
This tool searches for dark, accessible locations with good viewing conditions. Results are cached based on search parameters.
Fast mode: Set road_radius_km=0 to skip road connectivity checks.
This avoids OSMnx network downloads from Overpass API and is much faster —
use it when you only need candidate locations with light pollution and
elevation data, without road distance analysis.
Args: south, west, north, east: Bounding box coordinates. max_locations: Maximum number of candidate locations to find (before pagination). min_height_diff: Minimum elevation difference for prominence. road_radius_km: Search radius for road access. Set to 0 to skip road checks. network_type: Type of road network ('drive', 'walk', etc.). avoid_popular_spots: Penalize heuristically popular locations when ranking results. prefer_quiet_at_night: Favor locations that are likelier to quiet down at night. popularity_radius_km: Preference horizon for the popularity heuristics. db_config_path: Optional path to database config. page: Page number (1-based). page_size: Number of results per page.
Returns: Dict with keys "data", "_meta". "data" contains: - items: List of location results for the current page. - total: Total number of locations found. - page: Current page number. - page_size: Current page size. - resource_id: Cache key for the non-pagination search parameters.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| east | Yes | ||
| page | No | ||
| west | Yes | ||
| north | Yes | ||
| south | Yes | ||
| page_size | No | ||
| network_type | No | drive | |
| max_locations | No | ||
| db_config_path | No | ||
| road_radius_km | No | ||
| min_height_diff | No | ||
| avoid_popular_spots | No | ||
| popularity_radius_km | No | ||
| prefer_quiet_at_night | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||