Vibe the way of Using the Powerful JOSM by Scripting, Mass-modified OpenStreetMap Data
- Time
- 2026-08-09 11:00 ~ 11:30
- Speaker
- Dennis Raylin Chen
- Room
- TR412-1
- Co-write
Abstract
JOSM is a powerful editing tool used by small but experienced mappers. But there are some plugin either not actively maintained or well documents. especially the Scripting plugin. By using AI-assisted programming tools like ChatGPT, the presenter can make JOSM Script tools using Python core Jython function again, from printing debugging messages by adding a new print function to replace the non-function print. And also a find and replace script to mimic the Level0 text edit function by an external text editor. This session will share the presenter's struggle and experience of making the JOSM script plugin work again.
Github repository: https://github.com/OsmHackTW/JOSM-Scripting
Outline:
- Introduction
- Python and XML is a good pair. Why not directly edit XML using Python Beautifulsoup?
- Main Target: Taiwan's address normalization
- The 500 limit of Level0, and iD text field edit is not programmable
- Bring back print for debugging, and also fix for the JOSM API change
- The Unicode challenge
- Conclusion