Show original
Try the app

Train Live Map|関東のJR在来線
Enjoyed this article?
Support Shunsuke Kinjo

AI translation
Before boarding a train or while heading to the station, don't you find yourself going back and forth between the service information page and the route map to check if there are any delays and to see where the train you want to catch is currently running?
Try the app

Train Live Map|関東のJR在来線
Enjoyed this article?
Support Shunsuke Kinjo
Before boarding a train or on the way to the station, don't you often find yourself going back and forth between the service status page and the route map to check if there are any delays and where the train you want to catch is currently running? Even when you find out that there is a delay, it's difficult to quickly grasp exactly how many minutes late it is and which trains are affected.
We introduce the apps published by Tsukutta one by one. The 15th is a web app that lets you check the train positions and operational status of JR conventional lines running in the Kanto area all at once on a map. It's an unofficial app made by an individual, not an official JR East Japan app.

The goal was to enable users to quickly grasp three things from their smartphones: where the train is currently running, whether it's stopped between stations, and whether there are any delays or service suspensions. Rather than just text-based service information, the app displays train positions and delays on the same map.
You can check both service information and train positions on a single screen.
The features are organized into four categories: map, routes, service information, and details.

No account registration is required. Simply open the public URL, select the routes you want to use, and train icons will appear on the map.

When you tap on an icon you're interested in, details open up showing the delay time, the time of the last update, and "data accuracy" indicating that the position is estimated.

The train data comes from the Public Transportation Open Data Center (ODPT). The position and movement of the icons are estimates based on information between stations, not positions measured by GPS. For making boarding decisions, please also check the official service information from the railway operator.
Even just these simple preparations can reduce the effort needed to check information:
From the perspective of an SE and PMO, what's important for apps using external public data is not the data itself, but honestly communicating on screen "where the data comes from, how reliable it is, and what time it's from." This app displays "unofficial" and the data source at the top of the screen, notes in the detail screen that positions are estimates, and always shows the data time. Trains that haven't been updated for a while are switched to a gray "unknown" display, and when offline, old positions are not shown. In business systems too, when you present numbers imported from external sources with "source, accuracy, and freshness" as a set, it becomes harder to make misjudgments.
Development is proceeding with AI-driven development, where AI coding agents like Codex and Claude Code write the code. For this app, the initial version starting from the Tokaido Line between Tokyo and Yokohama and the mechanism for acquiring ODPT data were created with Claude Code, and some subsequent improvements were done with Codex. The tech stack is Next.js 16, React 19, TypeScript, Tailwind CSS, and MapLibre GL JS, with the map using OpenFreeMap based on OpenStreetMap, and it's published on Vercel.
We also welcome inquiries about creating similar business apps.
See our portfolio here: https://kj-web-app-portfolio.web.app/
電車に乗る前や駅に向かう途中で、遅れが出ていないか、乗りたい列車がいまどのあたりを走っているかを確かめようとして、運行情報のページと路線図を行ったり来たりすることはありませんか。「遅延あり」と分かっても、何分くらい遅れていて、どの列車が影響を受けているのかまでは、すぐにはつかみにくいものです。
Tsukuttaで公開しているアプリを、1本ずつ紹介していきます。15本目は、関東エリアを走るJR在来線の列車位置と運行状況を、地図の上でまとめて確かめられるWebアプリです。JR東日本の公式アプリではない、個人で作った非公式のアプリです。

電車がいまどのあたりを走っているか、駅と駅の間で止まっていないか、遅延や運転見合わせが起きていないか。この3つをスマートフォンから素早く把握できるようにすることを目的に作りました。文字の運行情報だけでなく、列車の位置と遅れを同じ地図の上で見られる形にしています。
運行情報と列車の位置を1つの画面で確かめられます。
地図・路線・運行情報・詳細の4つに分けて、機能をまとめています。

アカウント登録は不要です。公開URLを開いて使う路線を選ぶと、地図に列車のアイコンが表示されます。

気になるアイコンを押すと、遅延時間や最終更新の時刻、推定位置であることを示す「データ精度」などの詳細が開きます。

列車のデータは公共交通オープンデータセンター(ODPT)から提供されているものを使っています。アイコンの位置と動きは駅間の情報をもとにした推定で、GPSで測った位置ではありません。乗車の判断には、鉄道事業者の公式の運行情報もあわせてご確認ください。
次のような準備だけでも、確認の手間を減らせます。
SEとPMOの立場から見ると、外部の公開データを使うアプリで大切なのは、データそのものより「そのデータがどこから来て、どのくらい確かで、いつの時点のものか」を画面で正直に伝えることだと考えています。このアプリでは、画面上部に「非公式」とデータ元を表示し、位置が推定であることを詳細画面にも書き、データ時刻を常に出しています。しばらく更新されない列車はグレーの「不明」表示に切り替え、オフラインのときは古い位置を出さないようにしました。業務システムでも、外部から取り込んだ数字は「出典・精度・鮮度」をセットで見せると、判断を誤りにくくなります。
開発は、CodexやClaude CodeなどのAIコーディングエージェントにコードを書かせるAI駆動開発で進めています。このアプリでは、東海道線の東京〜横浜間から始めた最初の版と、ODPTのデータ取得の仕組みをClaude Codeで作り、その後の改修の一部はCodexで進めました。技術スタックは Next.js 16、React 19、TypeScript、Tailwind CSS、MapLibre GL JS で、地図はOpenStreetMapベースのOpenFreeMapを使い、公開は Vercel です。
同じような業務アプリの制作もご相談ください。
制作実績はこちら:https://kj-web-app-portfolio.web.app/