Street trash bins (行人清潔箱): support cities beyond Taipei
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 50/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- github-actions, json, typescript
Research direction
Start with scripts/data/sources.ts, the existing taipei-bins source, and update-data.yml to understand validation, publishing, and the weekly update matrix. Evaluate the listed city portals and amenity=waste_basket data before choosing a source and attribution approach. Done means each supported city has a validated source and published data file, the loader uses getCitiesInViewport, the Taipei-only notice is updated, and public/llms.txt plus the About modal list the new sources.
Written by the indexing model from the issue text.
Description
Context
We're adding a separate, toggleable map layer for public street trash bins, starting with Taipei, which publishes them as open data:
- 臺北市行人專用清潔箱 (data.taipei, Big5 CSV, updated regularly)
- Main list: ~633 bins placed by the EPA (環境保護局), each with address, district and WGS84 coordinates, plus the note 「嚴禁投入家用垃圾,違者重罰新臺幣6000元」
- 「景點商圈周邊130點」: 130 venues (MRT stations, parks, markets) with a bin count (e.g.
7處) and approximate coordinates, installed by the venue (場域自行設置)
The rest of the app covers Taipei, New Taipei, Taoyuan, Taichung, Kaohsiung, Changhua and Yunlin, so outside Taipei the layer is empty for now.
What's known about other cities
A first search of data.gov.tw and the web found no equivalent bin-location dataset for New Taipei, Taoyuan, Taichung, Kaohsiung, Changhua or Yunlin. Several cities have a stated policy of not adding public bins (e.g. Taichung's 不新增垃圾桶 principle; Changhua City no longer installs them in new parks), so for some cities the data may simply not exist.
Candidates to evaluate
- City open-data portals. Search each portal directly (data.ntpc.gov.tw, data.tycg.gov.tw, newdatacenter.taichung.gov.tw, data.kcg.gov.tw, Changhua/Yunlin) for 清潔箱 / 垃圾桶 / 果皮箱 / 行人垃圾桶. data.gov.tw's search doesn't index everything.
- Ask the city EPAs. File an open-data request (政府資料開放平臺「民眾意見」, or the city's 1999 line) for bin locations. Taipei's dataset is a good precedent to cite.
- OpenStreetMap
amenity=waste_basket. Covers every city, but completeness in Taiwan is unknown (Overpass was unavailable when this was filed, so there are no numbers yet). If it's used:- attribute © OpenStreetMap contributors (ODbL) and keep it distinguishable from official data in the UI
- expect gaps, and possibly private or indoor bins
- Related Taipei datasets that may fit the same layer: 狗便清潔袋箱 (dog-waste bag boxes) and 資源回收箱. Each needs a product decision before it's added.
Implementation notes
- The pipeline source added for Taipei (
scripts/data/sources.ts,taipei-bins, published to the data branch astaipei-street-bins.json) is the pattern to follow: one source per city, the same validation (record floor, shrink check, coordinates inside Taiwan), and the weeklyupdate-data.ymlmatrix. - The app's bin loader should then load per city by viewport, like collection points (
getCitiesInViewport), and stop fetching the single Taipei file unconditionally. - Today the layer shows a "Taipei only" notice when it's turned on outside Taipei; update or remove it as cities are added.
- Update
public/llms.txt(raw data files) and the About modal's sources list for each new source.
- Dominant language
- TypeScript
- Stars
- 6
- Forks
- 1
- Avg merge
- 53m
- Merged PRs (30d)
- 31
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from Yukaii/garbage
-
data-pipeline
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
Similar issues
-
Translate the appOpengood first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Mikiyas-Meles-Assefa/opensourcebook#154 ·
Maintainers usually reply within 1 day
-
usersim
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
WenyuChiou/agent-board#2315 ·
Maintainers usually reply within 1 day
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
sidebandstudio/clawtrate#1863 ·
Maintainers usually reply within 1 day
-
area: middleware enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100