Better OpenStreetMap QA data fetching

Open
#14 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript, python

Research direction

Start by tracing the existing QA-tile workflow around tippecanoe-decode, stream-filter.js, and tippecanoe, including how the desired bounding box and zoom level are supplied. Investigate whether OSM QA data exposes arbitrary tiles or bounding-box fetches, and compare the dependencies and trade-offs; done means identifying and integrating a concrete faster retrieval path.

Written by the indexing model from the issue text.

Description

Right now the process of obtaining and preparing OSM QA tiles is a bit slow because we:

  1. Download an entire country QA file
  2. Use tippecanoe-decode + stream-filter.js to create a GeoJSON of all features in just the desired bounding box.
  3. Retile this data using tippecanoe to the desired zoom level.

In theory, this would be possible to do much faster (although with more dependencies) if there were a way to fetch arbitrary tiles (or bounding boxes) from OSM QA data through another method (possibly a third party service)

Dominant language
Python
Stars
471
Forks
106
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/label-maker

All issues in developmentseed/label-maker

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.