Sample Dataset for Road Network Model Construction in Scratch
Description
This dataset provides demonstration materials designed to illustrate the construction of a modeling and execution environment on Scratch. The dataset includes: (1) a road-only image extracted from the GSI Vector Map (Geospatial Information Authority of Japan), covering the area between latitude 35.309078–35.314732 and longitude 139.535117–139.544355 (image size: 480 × 360 pixels; coordinates in WGS84 / EPSG:4326); (2) CSV files of nodes and edges generated by the custom extraction tool; and (3) a Scratch project file that reads the CSV files and performs three functions — visualizing the road network, displaying node IDs when clicked, and executing shortest-path searches. These materials were developed as demonstration resources to explain the process of constructing a modeling and execution environment in Scratch. No personal or location-identifiable information is included.
Files
Steps to reproduce
To reproduce it in Scratch, load node.csv and edge.csv, assigning the columns NodeID, X Coordinates, and Y Coordinates from node.csv, and FromID and ToID from edge.csv to the corresponding lists. Then, enter the distance ratio (m/px) displayed in the developed road network data extraction tool into the variable distance ratio (m/px). The program uses these inputs to visualize the network, display node IDs, and perform shortest-path searches.