From 8581d5182b9b0b126b6cf690e40740ebf5aa1c75 Mon Sep 17 00:00:00 2001 From: Andrew Harvey Date: Fri, 7 May 2021 22:00:39 +1000 Subject: reduce numbers within a range duplication --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index cfbd015..1ce0b18 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,14 @@ Remove duplicates where all address attributes match at the same location or wit Reduce some address points with the same coordinates but different address attributes (see _Overlapping points_ below) (code at `bin/reduceOverlap.js`): - make dist/vicmap-osm-flats.geojson + make dist/vicmap-osm-uniq-flats.geojson This is only done for strictly overlapping points, where the geometry varies slightly then that's okay we don't attempt to combine. +Drop address ranges where the range endpoints are seperatly mapped. + + make dist/vicmap-osm-flats-withinrange.geojson + ### Omitted addresses Source addresses are omitted where they: @@ -42,6 +46,14 @@ Since these addresses have no identifying attribute beyond street, and there is These rules are defined in `filterOSM.js`. +#### Duplicates through mixed range/individual points + +Some addresses appear as both a range and individual points. For example one address as `1-5` but additional addresses as `1`, `3` and `5`. + +Where the endpoints of the range match existing non-range address points, and where the unit value is the same, and where the individual points have different geometries the range address is dropped in favour of the indivdiual points. + +Where the individual points share the same geometry as each other, then the range is favoured and the individual points are dropped. + ### OSM schema - `addr:unit` is constructed either as a single value or range where the building unit is supplied -- cgit v1.2.3