Skip to content

Add park and dogPark POI categories - #9

Merged
tldev merged 1 commit into
mainfrom
feature/park-poi-categories-v2
Apr 1, 2026
Merged

tldev merged 1 commit into
mainfrom
feature/park-poi-categories-v2

Conversation

@tldev

@tldev tldev commented Apr 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds park (leisure=park) and dogPark (leisure=dog_park) as new POI categories in the osm2pgsql Lua mapping
  • Uses 1600m search radius for park/dogPark in derive.sql (vs 800m for other categories), with category-specific bounding box envelope
  • Adds leisure tags to the osmium prefilter so park features survive the canonical filter

Test plan

  • Run a full import + derive and verify park/dogPark POIs appear in pois table
  • Confirm exit_poi_candidates contains park/dogPark entries with distances up to 1600m
  • Verify existing categories (gas, food, lodging, etc.) still use the 800m radius

🤖 Generated with Claude Code

- Classify leisure=dog_park as dogPark and leisure=park as park in
  osm2pgsql Lua mapping (dogPark checked first for specificity)
- Use 1600m search radius and 0.024° bounding box for park/dogPark
  in derive.sql (vs 800m/0.012° for other categories)
- Add park/dogPark to the name-filter exception list (alongside restArea)
- Add leisure=park,dog_park to osmium prefilter in lib.sh

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tldev
tldev merged commit c50cc6a into main Apr 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant