From 2aa32fcebe61e0c3039c7a66bc10d57ba72df186 Mon Sep 17 00:00:00 2001 From: Garage Tinkering Date: Fri, 5 Dec 2025 10:03:06 +0000 Subject: [PATCH] Update README with usage instructions for OSM_to_GeoJSON Added instructions for using the OSM_to_GeoJSON tool, including requirements and steps for configuration. --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 403fae3..9d4179e 100644 --- a/README.md +++ b/README.md @@ -1 +1,12 @@ -"# OSM_to_GeoJSON" +Tool to parse Open Street Maps data sets looking for tags, and then create a GeoJSON layer for use with tools such as QGIS + +Requires Osmium - https://osmcode.org/osmium-tool/ +OSM Tag list - https://wiki.openstreetmap.org/wiki/Tags#Finding_your_tag + +- Place file alongside osm.pbf +- Update `"uk-latest.osm.pbf"` (line 40) with your file name +- Update `tags.get("amenity") == "fuel"` (lines 26 & 30) with required OSM tag +- Update `"fuel_all.geojson"` (line 48) with output file name +- Run from command line as `osm_to_geojson.py` + +Be aware, may take a large amount of time for bigger data sets