overture-data

Solid

Download Overture Maps data (buildings, places, roads, land use, water, etc.) for a bounding box. Returns a GeoDataFrame saved as GeoJSON or GeoPackage.

Data & Documents 24 stars 3 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
47
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

You are helping the user download Overture Maps data using geoai. Input: `$@` Follow these steps in order. ## Step 1 -- Parse arguments Extract: - `$0` or the first positional argument as the Overture data type - `--bbox minx,miny,maxx,maxy` as the bounding box (required) - `--output FILE` as the output file path (optional, default: `./<data_type>_overture.gpkg`) Valid Overture data types: `address`, `building`, `building_part`, `division`, `division_area`, `division_boundary`, `place`, `segment`, `connector`, `infrastructure`, `land`, `land_cover`, `land_use`, `water` If the data type is not recognized, print the list of valid types and ask the user to pick one. If the user provided natural language (e.g. "get buildings in downtown Nashville"), extract the data type and either infer or ask for the bounding box. ## Step 2 -- Validate the bounding box Confirm the bounding box has 4 numeric values: - `minx < maxx` and `miny < maxy` - Values within WGS84 range If validation fails, report the issue and ask for corrected coordinates. ## Step 3 -- Download the data ### For building data specifically ```bash python3 -c " import geoai gdf = geoai.download_overture_buildings( bbox=(MINX, MINY, MAXX, MAXY), output='OUTPUT_PATH', ) print(f'Features: {len(gdf)}') print(f'Columns: {list(gdf.columns)}') print(f'CRS: {gdf.crs}') print(f'Bounds: {gdf.total_bounds.tolist()}') print('---') print('Sample (first 5 rows):') print(gdf.head().to_string()) " ``` ### For all ot...

Details

Author
opengeos
Repository
opengeos/geoai-skills
Created
4 months ago
Last Updated
6 days ago
Language
N/A
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category