From 67f038e7f03b62c709460eff20db82088a848cf5 Mon Sep 17 00:00:00 2001 From: zyphlar Date: Thu, 23 Apr 2026 10:19:29 -0700 Subject: [PATCH] Update stale /data/latest references in docs and docstrings --- README.md | 7 +++---- compare-addresses.py | 6 +++--- convert-addresses.py | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1981f6b..ed60fa5 100644 --- a/README.md +++ b/README.md @@ -95,12 +95,11 @@ docker push your-registry.example.com/you/osm-import-tools ## Volume Mounts The Docker container mounts a single data directory: -- `./data` → `/data` - All data files, organized by date +- `./data` → `/data` - All data files, organized by county Inside `/data`, the structure is: -- `/data/latest/` - Symlink to the most recent data directory -- `/data/YYMMDD/lake/` - Lake County data for that date -- `/data/YYMMDD/sumter/` - Sumter County data for that date +- `/data/lake/` - Lake County data +- `/data/sumter/` - Sumter County data All changes are persisted on the host in the local `./data` folder. diff --git a/compare-addresses.py b/compare-addresses.py index c12d8a8..0a1f60c 100644 --- a/compare-addresses.py +++ b/compare-addresses.py @@ -7,9 +7,9 @@ Use convert-addresses.py to prepare the county file and download-overpass.py for Usage: python compare-addresses.py \ - --local-file /data/latest/sumter/county-addresses.geojson \ - --osm-file /data/latest/sumter/osm-addresses.geojson \ - --output-dir /data/latest/sumter + --local-file /data/sumter/county-addresses.geojson \ + --osm-file /data/sumter/osm-addresses.geojson \ + --output-dir /data/sumter """ import argparse diff --git a/convert-addresses.py b/convert-addresses.py index 579e072..58f3263 100644 --- a/convert-addresses.py +++ b/convert-addresses.py @@ -6,8 +6,8 @@ Applies LIFECYCLE filtering, CRS conversion, field mapping via qgis-functions, and street name exceptions from /data/exceptions.yml. Usage: - python convert-addresses.py /data/latest/sumter/addresses.shp.zip /data/latest/sumter/county-addresses.geojson - python convert-addresses.py /data/latest/lake/addresses.shp.zip /data/latest/lake/county-addresses.geojson + python convert-addresses.py /data/sumter/addresses.shp.zip /data/sumter/county-addresses.geojson + python convert-addresses.py /data/lake/addresses.shp.zip /data/lake/county-addresses.geojson """ import argparse