Enhance search result zoom level
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Python
- Stars
- 19
- Forks
- 5
- Avg merge
- 4m
- Merged PRs (30d)
- 2
Description
For now, we set the zoom level based on ADM level in geonames:
While "not totally wrong", this could definitely be fine-tuned. Big question is "how"?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in scraper/src/maps2zim/processor.py at lines 1235-1240, where the search-result zoom is currently based on the GeoNames ADM level. Investigate what information is available for improving that decision, then define measurable zoom rules and validation cases; the work is done when the zoom behavior is demonstrably better than the current ADM-only approach.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100