Switch vector data to Overture Maps by default - #3
Merged
Conversation
Overpass rate-limits and times out on dense urban bounding boxes;
Overture serves static monthly GeoParquet from cloud storage. Adds
vector_source ("overture" default, "osm" to restore Overpass) and
include_ocean, bumps the vector cache to v2 so entries from different
sources cannot be served for one another.
A scene whose vector targets fail to build is now skipped rather than
exported without them, since such a mask looks plausible and its
presence on disk makes a later overwrite=False run skip the scene.
Also closes rasterio dataset handles that leaked once per scene, and
raises the osmnx version check up front so its ImportError is not lost
inside a target thread.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
3.8.15 has the same defect as 3.8.14: neither a cp314 wheel nor an sdist, so there is nothing installable on 3.14 (3.8.13 ships both). CI resolved to it and failed at install. Scoped to 3.14 with a marker so other interpreters still track the latest spaCy, and left as exclusions so a release that restores cp314 artifacts is picked up without another change here. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Vector data now comes from Overture Maps instead of the Overpass API. Overpass is a live query service that routinely rate-limits or times out on dense urban bounding boxes; Overture serves static monthly GeoParquet releases from cloud storage. On the Sydney example scene, Overpass did not return within 10 minutes, while Overture returned water, road and building vectors in 7–13 s each.
Pass
vector_source="osm"to restore the previous Overpass behaviour.Changes
vector_source("overture"default,"osm") andinclude_ocean(default True) onmake_water_mask/make_water_mask_debug.sourceandoceancolumns so entries from different sources cannot be served for one another. An existing v1 cache is ignored rather than migrated, since its rows carry no record of which source produced them.overwrite=Falserun skip the scene — one transient outage silently became a permanent result.cape,blowholeandshoalunder its water theme. Shoals appear as polygons and would have marked land as water; these are now dropped, keeping the two sources aligned withOSM_water_tags.export_to_disk) and are now closed in afinallyafter threads are joined.ImportErroris what the caller sees.overturemaps>=1.0.0; raises the declaredpyarrowfloor to>=15.0.2to match whatoverturemapsactually requires.osmnxis retained for thevector_source="osm"path.Testing
e2etests pass against live Overture releases (2m41s), asserting fetched schema, subtype vocabulary and land-class filteringFollow-up
The conda-forge recipe needs five edits when the autotick bot opens its version PR — it bumps version/sha only and will not pick up the new dependency.
🤖 Generated with Claude Code