@mailwoman/corpus 10.1.0 → 10.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/licenses/cdla-permissive-2.0.md +1 -1
- package/lib/adapters/cordis/adapter.ts +13 -7
- package/lib/adapters/dedup-key.ts +1 -1
- package/lib/adapters/geonames/adapter.ts +1 -1
- package/lib/adapters/gleif/adapter.ts +17 -16
- package/lib/adapters/libpostal-dictionary.ts +0 -2
- package/lib/adapters/openaddresses/adapter.ts +4 -3
- package/lib/adapters/osm/adapter.ts +22 -21
- package/lib/adapters/po-box/adapter.ts +10 -5
- package/lib/adapters/registry.ts +4 -4
- package/lib/adapters/source-id.ts +2 -2
- package/lib/adapters/street-line.ts +7 -6
- package/lib/adapters/wof/admin/json/adapter.ts +2 -2
- package/lib/adapters/wof/json-rows.ts +2 -1
- package/lib/adapters/wof/postalcode-json/adapter.ts +6 -2
- package/lib/adapters.ts +5 -5
- package/lib/au/adapters/gnaf/adapter.ts +1 -1
- package/lib/be/adapters/brussels/adapter.ts +22 -22
- package/lib/be/adapters/vlaanderen/adapter.ts +54 -57
- package/lib/be/adapters/wallonie/adapter.ts +17 -17
- package/lib/be/tools/fetch/brussels.ts +13 -10
- package/lib/be/tools/fetch/wallonie.ts +8 -7
- package/lib/build/adapters.ts +2 -1
- package/lib/build/align.ts +5 -4
- package/lib/build/checkpoint.ts +5 -3
- package/lib/build/eligibility.ts +3 -3
- package/lib/build/types.ts +8 -6
- package/lib/cz/adapters/cuzk/adapter.ts +41 -38
- package/lib/cz/tools/fetch/cuzk.ts +42 -31
- package/lib/de/recipes/locale.ts +1 -1
- package/lib/dk/adapters/inspire/adapter.ts +38 -38
- package/lib/dk/tools/fetch/inspire.ts +16 -14
- package/lib/ee/adapters/ads/adapter.ts +26 -32
- package/lib/ee/tools/fetch/ads.ts +10 -8
- package/lib/es/adapters/bizkaia/adapter.ts +47 -47
- package/lib/es/adapters/catastro/adapter.ts +36 -34
- package/lib/es/adapters/gipuzkoa/adapter.ts +38 -45
- package/lib/es/adapters/navarra/adapter.ts +28 -27
- package/lib/es/cadastre.ts +31 -31
- package/lib/es/tools/fetch/bizkaia.ts +40 -36
- package/lib/es/tools/fetch/catastro.ts +51 -40
- package/lib/es/tools/fetch/gipuzkoa.ts +13 -11
- package/lib/es/tools/fetch/navarra.ts +33 -25
- package/lib/fi/adapters/ryhti/adapter.ts +22 -26
- package/lib/fi/tools/fetch/ryhti.ts +31 -31
- package/lib/fr/adapters/annuaire-education/adapter.ts +13 -11
- package/lib/fr/adapters/ban/adapter.ts +6 -6
- package/lib/fr/adapters/finess/adapter.ts +16 -15
- package/lib/fr/adapters/finess/voie-type.ts +4 -3
- package/lib/fr/insee-country.ts +2 -2
- package/lib/fr/recipes/lieudit.ts +8 -6
- package/lib/fr/tools/fetch/annuaire-education.ts +11 -8
- package/lib/fr/tools/fetch/ban.ts +3 -2
- package/lib/fr/tools/fetch/finess.ts +14 -13
- package/lib/inspire/address.ts +86 -78
- package/lib/inspire/errors.ts +9 -8
- package/lib/inspire/stream.ts +29 -26
- package/lib/international/recipes/locale.ts +13 -9
- package/lib/it/adapters/anac/adapter.ts +51 -46
- package/lib/it/tools/fetch/anac.ts +22 -25
- package/lib/jp/adapters/wof-admin/adapter.ts +2 -6
- package/lib/jp/tools/fetch/houjin.ts +3 -3
- package/lib/kr/adapters/localdata/permit-rows.ts +1 -1
- package/lib/kr/tools/fetch/juso.ts +1 -1
- package/lib/kr/tools/fetch/localdata.ts +2 -2
- package/lib/lu/adapters/bd-adresses/adapter.ts +10 -10
- package/lib/lu/tools/fetch/bd-adresses.ts +15 -13
- package/lib/lv/adapters/varis/adapter.ts +24 -23
- package/lib/lv/tools/fetch/varis.ts +3 -2
- package/lib/nl/adapters/kadaster/adapter.ts +29 -29
- package/lib/nl/tools/fetch/kadaster.ts +16 -12
- package/lib/no/adapters/matrikkelen/adapter.ts +6 -5
- package/lib/no/tools/fetch/matrikkelen.ts +59 -47
- package/lib/parquet/duckdb.ts +7 -4
- package/lib/parquet/readers.ts +3 -3
- package/lib/parquet/schema.ts +1 -1
- package/lib/parquet/writers.ts +3 -2
- package/lib/pl/adapters/emuia/adapter.ts +12 -12
- package/lib/pl/tools/fetch/emuia.ts +10 -9
- package/lib/recipes/bare/postcode.ts +1 -1
- package/lib/recipes/boundary-stress.ts +1 -1
- package/lib/recipes/house-venue.ts +7 -3
- package/lib/recipes/intersection.ts +2 -2
- package/lib/recipes/po/box/cedex/recipe.ts +3 -3
- package/lib/recipes/po/box/cedex/sources.ts +13 -1
- package/lib/recipes/scaffold.ts +31 -21
- package/lib/recipes/sources.ts +16 -3
- package/lib/recipes/street/bare.ts +2 -2
- package/lib/recipes/street.ts +3 -1
- package/lib/recipes/sub/venue/context.ts +2 -0
- package/lib/recipes/sub/venue/render.ts +1 -1
- package/lib/recipes/sub/venue/sources.ts +24 -29
- package/lib/recipes/sub/venue.ts +12 -18
- package/lib/recipes/trailing-region.ts +6 -2
- package/lib/recipes/unit.ts +3 -3
- package/lib/recipes/venue.ts +347 -0
- package/lib/recipes.ts +4 -2
- package/lib/registers.ts +8 -6
- package/lib/ro/adapters/retea-scolara/adapter.ts +5 -5
- package/lib/ro/tools/fetch/retea-scolara.ts +1 -1
- package/lib/runner.ts +4 -3
- package/lib/sg/recipes/register.ts +1 -1
- package/lib/sg/tools/fetch/acra.ts +3 -3
- package/lib/sk/adapters/inspire/adapter.ts +25 -27
- package/lib/sk/tools/fetch/inspire.ts +15 -14
- package/lib/source-register/effective-manifest.ts +3 -3
- package/lib/source-register/register.ts +3 -3
- package/lib/source-register/training-manifest.ts +1 -1
- package/lib/source-register/types.ts +12 -13
- package/lib/subvenue/promotions.ts +1 -1
- package/lib/subvenue/table.ts +4 -4
- package/lib/surfaces/locale.ts +2 -0
- package/lib/synthesizers/anchor-absorption.ts +2 -1
- package/lib/synthesizers/boundary-stress.ts +20 -26
- package/lib/synthesizers/house-venue.ts +26 -30
- package/lib/synthesizers/no-street.ts +2 -1
- package/lib/synthesizers/po-box.ts +6 -3
- package/lib/synthesizers/tail.ts +55 -0
- package/lib/synthesizers/utils.ts +19 -2
- package/lib/test-kit.ts +2 -2
- package/lib/tools/audit.ts +7 -5
- package/lib/tools/corpus-stats.ts +1 -1
- package/lib/tools/fetch/atom.ts +10 -10
- package/lib/tools/fetch/cordis.ts +11 -9
- package/lib/tools/fetch/download/manifest.ts +2 -1
- package/lib/tools/fetch/download/network.ts +4 -4
- package/lib/tools/fetch/download/retry.ts +4 -4
- package/lib/tools/fetch/geonames/dump.ts +5 -3
- package/lib/tools/fetch/geonames/postal.ts +2 -2
- package/lib/tools/fetch/gleif.ts +6 -4
- package/lib/tools/fetch/header.ts +8 -6
- package/lib/tools/fetch/inspire-addresses.ts +41 -36
- package/lib/tools/fetch/openaddresses.ts +1 -1
- package/lib/tools/fetch/vlaanderen-ad.ts +17 -17
- package/lib/tools/fetch/wfs-harvest.ts +39 -28
- package/lib/tools/fetch.ts +0 -42
- package/lib/tools/golden/expand.ts +8 -8
- package/lib/tools/golden/promote.ts +12 -8
- package/lib/tools/golden/relabel-street/directory.ts +7 -6
- package/lib/tools/golden/relabel-street/row.ts +7 -6
- package/lib/tools/ingest-csv.ts +3 -3
- package/lib/tools/jsonl-to-parquet.ts +1 -1
- package/lib/tools/lint/recipe-output/vocab.ts +10 -5
- package/lib/tools/lint/recipe-output.ts +26 -8
- package/lib/tools/overlay/kryptonite.ts +4 -3
- package/lib/tools/overlay/manifest.ts +4 -2
- package/lib/tools/overlay/merge-source.ts +2 -1
- package/lib/tools/overlay/split-slice.ts +2 -2
- package/lib/tools/overlay/translit.ts +6 -4
- package/lib/tools/overture-subvenue.ts +1 -1
- package/lib/tools/postcode-triples.ts +5 -4
- package/lib/tools/source-register/build.ts +17 -14
- package/lib/tools/sub/venue/lexicon.ts +4 -8
- package/lib/tw/tools/fetch/gcis.ts +4 -4
- package/lib/types.ts +4 -3
- package/lib/us/adapters/state/hi-schools/workbook.ts +1 -1
- package/lib/us/adapters/usgov/nad/adapter.ts +11 -11
- package/lib/us/adapters/usgov/samhsa-treatment-locator/adapter.ts +4 -4
- package/lib/us/fips-state.ts +2 -2
- package/lib/{synthesizers → us/synthesizers}/intersection.ts +12 -13
- package/lib/{synthesizers → us/synthesizers}/street.ts +16 -15
- package/lib/us/tools/fetch/imls-pls.ts +1 -1
- package/lib/us/tools/fetch/nad.ts +7 -7
- package/lib/us/tools/fetch/nppes.ts +5 -5
- package/lib/us/tools/fetch/state/hi-schools.ts +3 -2
- package/lib/us/tools/fetch/tiger-full.ts +1 -1
- package/lib/utils/align.ts +13 -10
- package/lib/utils/golden.ts +2 -2
- package/lib/utils/license.ts +3 -3
- package/lib/utils/split.ts +19 -15
- package/lib/utils/tokenize.ts +7 -26
- package/lib/utils/wof-json.ts +4 -4
- package/out/adapters/cordis/adapter.d.ts +5 -3
- package/out/adapters/cordis/adapter.d.ts.map +1 -1
- package/out/adapters/cordis/adapter.js +13 -7
- package/out/adapters/cordis/adapter.js.map +1 -1
- package/out/adapters/dedup-key.d.ts +1 -1
- package/out/adapters/dedup-key.js +1 -1
- package/out/adapters/geonames/adapter.js +1 -1
- package/out/adapters/geonames/adapter.js.map +1 -1
- package/out/adapters/gleif/adapter.d.ts +9 -9
- package/out/adapters/gleif/adapter.d.ts.map +1 -1
- package/out/adapters/gleif/adapter.js +15 -14
- package/out/adapters/gleif/adapter.js.map +1 -1
- package/out/adapters/libpostal-dictionary.d.ts +0 -2
- package/out/adapters/libpostal-dictionary.d.ts.map +1 -1
- package/out/adapters/libpostal-dictionary.js +0 -2
- package/out/adapters/libpostal-dictionary.js.map +1 -1
- package/out/adapters/openaddresses/adapter.d.ts +3 -2
- package/out/adapters/openaddresses/adapter.d.ts.map +1 -1
- package/out/adapters/openaddresses/adapter.js +1 -1
- package/out/adapters/openaddresses/adapter.js.map +1 -1
- package/out/adapters/osm/adapter.d.ts +17 -16
- package/out/adapters/osm/adapter.d.ts.map +1 -1
- package/out/adapters/osm/adapter.js +10 -9
- package/out/adapters/osm/adapter.js.map +1 -1
- package/out/adapters/po-box/adapter.d.ts +6 -3
- package/out/adapters/po-box/adapter.d.ts.map +1 -1
- package/out/adapters/po-box/adapter.js +4 -2
- package/out/adapters/po-box/adapter.js.map +1 -1
- package/out/adapters/registry.d.ts +3 -3
- package/out/adapters/registry.d.ts.map +1 -1
- package/out/adapters/registry.js +1 -1
- package/out/adapters/registry.js.map +1 -1
- package/out/adapters/source-id.d.ts +2 -2
- package/out/adapters/source-id.js +2 -2
- package/out/adapters/street-line.d.ts +7 -6
- package/out/adapters/street-line.d.ts.map +1 -1
- package/out/adapters/street-line.js +7 -6
- package/out/adapters/street-line.js.map +1 -1
- package/out/adapters/wof/admin/json/adapter.js +1 -1
- package/out/adapters/wof/admin/json/adapter.js.map +1 -1
- package/out/adapters/wof/json-rows.d.ts +2 -1
- package/out/adapters/wof/json-rows.d.ts.map +1 -1
- package/out/adapters/wof/json-rows.js.map +1 -1
- package/out/adapters/wof/postalcode-json/adapter.d.ts.map +1 -1
- package/out/adapters/wof/postalcode-json/adapter.js +5 -1
- package/out/adapters/wof/postalcode-json/adapter.js.map +1 -1
- package/out/adapters.d.ts +5 -5
- package/out/adapters.js +5 -5
- package/out/au/adapters/gnaf/adapter.js +1 -1
- package/out/au/adapters/gnaf/adapter.js.map +1 -1
- package/out/be/adapters/brussels/adapter.d.ts +9 -9
- package/out/be/adapters/brussels/adapter.d.ts.map +1 -1
- package/out/be/adapters/brussels/adapter.js +21 -21
- package/out/be/adapters/brussels/adapter.js.map +1 -1
- package/out/be/adapters/vlaanderen/adapter.d.ts +34 -37
- package/out/be/adapters/vlaanderen/adapter.d.ts.map +1 -1
- package/out/be/adapters/vlaanderen/adapter.js +40 -38
- package/out/be/adapters/vlaanderen/adapter.js.map +1 -1
- package/out/be/adapters/wallonie/adapter.d.ts +2 -2
- package/out/be/adapters/wallonie/adapter.js +17 -17
- package/out/be/adapters/wallonie/adapter.js.map +1 -1
- package/out/be/tools/fetch/brussels.d.ts +11 -8
- package/out/be/tools/fetch/brussels.d.ts.map +1 -1
- package/out/be/tools/fetch/brussels.js +10 -8
- package/out/be/tools/fetch/brussels.js.map +1 -1
- package/out/be/tools/fetch/wallonie.d.ts +6 -5
- package/out/be/tools/fetch/wallonie.d.ts.map +1 -1
- package/out/be/tools/fetch/wallonie.js +4 -4
- package/out/be/tools/fetch/wallonie.js.map +1 -1
- package/out/build/adapters.d.ts.map +1 -1
- package/out/build/adapters.js +2 -1
- package/out/build/adapters.js.map +1 -1
- package/out/build/align.d.ts +3 -2
- package/out/build/align.d.ts.map +1 -1
- package/out/build/align.js +2 -2
- package/out/build/align.js.map +1 -1
- package/out/build/checkpoint.d.ts +1 -1
- package/out/build/checkpoint.d.ts.map +1 -1
- package/out/build/checkpoint.js +4 -2
- package/out/build/checkpoint.js.map +1 -1
- package/out/build/eligibility.d.ts +2 -2
- package/out/build/eligibility.js +3 -3
- package/out/build/eligibility.js.map +1 -1
- package/out/build/types.d.ts +8 -6
- package/out/build/types.d.ts.map +1 -1
- package/out/cz/adapters/cuzk/adapter.d.ts +14 -14
- package/out/cz/adapters/cuzk/adapter.d.ts.map +1 -1
- package/out/cz/adapters/cuzk/adapter.js +38 -35
- package/out/cz/adapters/cuzk/adapter.js.map +1 -1
- package/out/cz/tools/fetch/cuzk.d.ts +31 -22
- package/out/cz/tools/fetch/cuzk.d.ts.map +1 -1
- package/out/cz/tools/fetch/cuzk.js +21 -19
- package/out/cz/tools/fetch/cuzk.js.map +1 -1
- package/out/de/recipes/locale.js +1 -1
- package/out/de/recipes/locale.js.map +1 -1
- package/out/dk/adapters/inspire/adapter.d.ts +32 -33
- package/out/dk/adapters/inspire/adapter.d.ts.map +1 -1
- package/out/dk/adapters/inspire/adapter.js +38 -38
- package/out/dk/adapters/inspire/adapter.js.map +1 -1
- package/out/dk/tools/fetch/inspire.d.ts +6 -5
- package/out/dk/tools/fetch/inspire.d.ts.map +1 -1
- package/out/dk/tools/fetch/inspire.js +15 -13
- package/out/dk/tools/fetch/inspire.js.map +1 -1
- package/out/ee/adapters/ads/adapter.d.ts +19 -26
- package/out/ee/adapters/ads/adapter.d.ts.map +1 -1
- package/out/ee/adapters/ads/adapter.js +22 -28
- package/out/ee/adapters/ads/adapter.js.map +1 -1
- package/out/ee/tools/fetch/ads.d.ts +3 -3
- package/out/ee/tools/fetch/ads.d.ts.map +1 -1
- package/out/ee/tools/fetch/ads.js +10 -8
- package/out/ee/tools/fetch/ads.js.map +1 -1
- package/out/es/adapters/bizkaia/adapter.d.ts +28 -28
- package/out/es/adapters/bizkaia/adapter.d.ts.map +1 -1
- package/out/es/adapters/bizkaia/adapter.js +43 -43
- package/out/es/adapters/bizkaia/adapter.js.map +1 -1
- package/out/es/adapters/catastro/adapter.d.ts +22 -23
- package/out/es/adapters/catastro/adapter.d.ts.map +1 -1
- package/out/es/adapters/catastro/adapter.js +35 -33
- package/out/es/adapters/catastro/adapter.js.map +1 -1
- package/out/es/adapters/gipuzkoa/adapter.d.ts +31 -38
- package/out/es/adapters/gipuzkoa/adapter.d.ts.map +1 -1
- package/out/es/adapters/gipuzkoa/adapter.js +40 -47
- package/out/es/adapters/gipuzkoa/adapter.js.map +1 -1
- package/out/es/adapters/navarra/adapter.d.ts +20 -19
- package/out/es/adapters/navarra/adapter.d.ts.map +1 -1
- package/out/es/adapters/navarra/adapter.js +23 -22
- package/out/es/adapters/navarra/adapter.js.map +1 -1
- package/out/es/cadastre.d.ts +21 -20
- package/out/es/cadastre.d.ts.map +1 -1
- package/out/es/cadastre.js +19 -21
- package/out/es/cadastre.js.map +1 -1
- package/out/es/tools/fetch/bizkaia.d.ts +28 -25
- package/out/es/tools/fetch/bizkaia.d.ts.map +1 -1
- package/out/es/tools/fetch/bizkaia.js +25 -24
- package/out/es/tools/fetch/bizkaia.js.map +1 -1
- package/out/es/tools/fetch/catastro.d.ts +28 -20
- package/out/es/tools/fetch/catastro.d.ts.map +1 -1
- package/out/es/tools/fetch/catastro.js +36 -31
- package/out/es/tools/fetch/catastro.js.map +1 -1
- package/out/es/tools/fetch/gipuzkoa.d.ts +11 -9
- package/out/es/tools/fetch/gipuzkoa.d.ts.map +1 -1
- package/out/es/tools/fetch/gipuzkoa.js +9 -8
- package/out/es/tools/fetch/gipuzkoa.js.map +1 -1
- package/out/es/tools/fetch/navarra.d.ts +20 -15
- package/out/es/tools/fetch/navarra.d.ts.map +1 -1
- package/out/es/tools/fetch/navarra.js +21 -16
- package/out/es/tools/fetch/navarra.js.map +1 -1
- package/out/fi/adapters/ryhti/adapter.d.ts +16 -20
- package/out/fi/adapters/ryhti/adapter.d.ts.map +1 -1
- package/out/fi/adapters/ryhti/adapter.js +21 -25
- package/out/fi/adapters/ryhti/adapter.js.map +1 -1
- package/out/fi/tools/fetch/ryhti.d.ts +24 -24
- package/out/fi/tools/fetch/ryhti.d.ts.map +1 -1
- package/out/fi/tools/fetch/ryhti.js +21 -24
- package/out/fi/tools/fetch/ryhti.js.map +1 -1
- package/out/fr/adapters/annuaire-education/adapter.d.ts +8 -8
- package/out/fr/adapters/annuaire-education/adapter.d.ts.map +1 -1
- package/out/fr/adapters/annuaire-education/adapter.js +13 -11
- package/out/fr/adapters/annuaire-education/adapter.js.map +1 -1
- package/out/fr/adapters/ban/adapter.d.ts +4 -4
- package/out/fr/adapters/ban/adapter.js +6 -6
- package/out/fr/adapters/ban/adapter.js.map +1 -1
- package/out/fr/adapters/finess/adapter.d.ts +12 -11
- package/out/fr/adapters/finess/adapter.d.ts.map +1 -1
- package/out/fr/adapters/finess/adapter.js +16 -15
- package/out/fr/adapters/finess/adapter.js.map +1 -1
- package/out/fr/adapters/finess/voie-type.d.ts +2 -2
- package/out/fr/adapters/finess/voie-type.d.ts.map +1 -1
- package/out/fr/adapters/finess/voie-type.js +4 -3
- package/out/fr/adapters/finess/voie-type.js.map +1 -1
- package/out/fr/insee-country.d.ts +2 -2
- package/out/fr/insee-country.js +2 -2
- package/out/fr/recipes/lieudit.d.ts.map +1 -1
- package/out/fr/recipes/lieudit.js +5 -4
- package/out/fr/recipes/lieudit.js.map +1 -1
- package/out/fr/tools/fetch/annuaire-education.d.ts +7 -4
- package/out/fr/tools/fetch/annuaire-education.d.ts.map +1 -1
- package/out/fr/tools/fetch/annuaire-education.js +9 -7
- package/out/fr/tools/fetch/annuaire-education.js.map +1 -1
- package/out/fr/tools/fetch/ban.d.ts +1 -1
- package/out/fr/tools/fetch/ban.d.ts.map +1 -1
- package/out/fr/tools/fetch/ban.js +3 -2
- package/out/fr/tools/fetch/ban.js.map +1 -1
- package/out/fr/tools/fetch/finess.d.ts +5 -5
- package/out/fr/tools/fetch/finess.d.ts.map +1 -1
- package/out/fr/tools/fetch/finess.js +13 -12
- package/out/fr/tools/fetch/finess.js.map +1 -1
- package/out/inspire/address.d.ts +62 -52
- package/out/inspire/address.d.ts.map +1 -1
- package/out/inspire/address.js +71 -60
- package/out/inspire/address.js.map +1 -1
- package/out/inspire/errors.d.ts +9 -8
- package/out/inspire/errors.d.ts.map +1 -1
- package/out/inspire/errors.js +7 -6
- package/out/inspire/errors.js.map +1 -1
- package/out/inspire/stream.d.ts +25 -22
- package/out/inspire/stream.d.ts.map +1 -1
- package/out/inspire/stream.js +10 -12
- package/out/inspire/stream.js.map +1 -1
- package/out/international/recipes/locale.d.ts +2 -2
- package/out/international/recipes/locale.d.ts.map +1 -1
- package/out/international/recipes/locale.js +11 -7
- package/out/international/recipes/locale.js.map +1 -1
- package/out/it/adapters/anac/adapter.d.ts +45 -43
- package/out/it/adapters/anac/adapter.d.ts.map +1 -1
- package/out/it/adapters/anac/adapter.js +48 -43
- package/out/it/adapters/anac/adapter.js.map +1 -1
- package/out/it/tools/fetch/anac.d.ts +16 -19
- package/out/it/tools/fetch/anac.d.ts.map +1 -1
- package/out/it/tools/fetch/anac.js +20 -23
- package/out/it/tools/fetch/anac.js.map +1 -1
- package/out/jp/adapters/wof-admin/adapter.d.ts.map +1 -1
- package/out/jp/adapters/wof-admin/adapter.js.map +1 -1
- package/out/jp/tools/fetch/houjin.js +2 -2
- package/out/jp/tools/fetch/houjin.js.map +1 -1
- package/out/kr/adapters/localdata/permit-rows.js +1 -1
- package/out/kr/adapters/localdata/permit-rows.js.map +1 -1
- package/out/kr/tools/fetch/juso.d.ts +1 -1
- package/out/kr/tools/fetch/localdata.d.ts +1 -1
- package/out/kr/tools/fetch/localdata.js +1 -1
- package/out/kr/tools/fetch/localdata.js.map +1 -1
- package/out/lu/adapters/bd-adresses/adapter.d.ts +9 -9
- package/out/lu/adapters/bd-adresses/adapter.js +10 -10
- package/out/lu/tools/fetch/bd-adresses.d.ts +11 -9
- package/out/lu/tools/fetch/bd-adresses.d.ts.map +1 -1
- package/out/lu/tools/fetch/bd-adresses.js +11 -11
- package/out/lu/tools/fetch/bd-adresses.js.map +1 -1
- package/out/lv/adapters/varis/adapter.d.ts +24 -23
- package/out/lv/adapters/varis/adapter.d.ts.map +1 -1
- package/out/lv/adapters/varis/adapter.js +24 -23
- package/out/lv/adapters/varis/adapter.js.map +1 -1
- package/out/lv/tools/fetch/varis.d.ts +2 -1
- package/out/lv/tools/fetch/varis.d.ts.map +1 -1
- package/out/lv/tools/fetch/varis.js +1 -1
- package/out/lv/tools/fetch/varis.js.map +1 -1
- package/out/nl/adapters/kadaster/adapter.d.ts +12 -12
- package/out/nl/adapters/kadaster/adapter.d.ts.map +1 -1
- package/out/nl/adapters/kadaster/adapter.js +22 -23
- package/out/nl/adapters/kadaster/adapter.js.map +1 -1
- package/out/nl/tools/fetch/kadaster.d.ts +14 -10
- package/out/nl/tools/fetch/kadaster.d.ts.map +1 -1
- package/out/nl/tools/fetch/kadaster.js +12 -9
- package/out/nl/tools/fetch/kadaster.js.map +1 -1
- package/out/no/adapters/matrikkelen/adapter.d.ts +1 -1
- package/out/no/adapters/matrikkelen/adapter.d.ts.map +1 -1
- package/out/no/adapters/matrikkelen/adapter.js +3 -3
- package/out/no/adapters/matrikkelen/adapter.js.map +1 -1
- package/out/no/tools/fetch/matrikkelen.d.ts +50 -38
- package/out/no/tools/fetch/matrikkelen.d.ts.map +1 -1
- package/out/no/tools/fetch/matrikkelen.js +44 -36
- package/out/no/tools/fetch/matrikkelen.js.map +1 -1
- package/out/parquet/duckdb.d.ts +7 -4
- package/out/parquet/duckdb.d.ts.map +1 -1
- package/out/parquet/duckdb.js +2 -1
- package/out/parquet/duckdb.js.map +1 -1
- package/out/parquet/readers.js +3 -3
- package/out/parquet/readers.js.map +1 -1
- package/out/parquet/schema.js +1 -1
- package/out/parquet/schema.js.map +1 -1
- package/out/parquet/writers.d.ts +1 -1
- package/out/parquet/writers.d.ts.map +1 -1
- package/out/parquet/writers.js +2 -1
- package/out/parquet/writers.js.map +1 -1
- package/out/pl/adapters/emuia/adapter.d.ts +8 -8
- package/out/pl/adapters/emuia/adapter.js +12 -12
- package/out/pl/adapters/emuia/adapter.js.map +1 -1
- package/out/pl/tools/fetch/emuia.d.ts +5 -4
- package/out/pl/tools/fetch/emuia.d.ts.map +1 -1
- package/out/pl/tools/fetch/emuia.js +10 -9
- package/out/pl/tools/fetch/emuia.js.map +1 -1
- package/out/recipes/bare/postcode.js +1 -1
- package/out/recipes/bare/postcode.js.map +1 -1
- package/out/recipes/boundary-stress.js +1 -1
- package/out/recipes/boundary-stress.js.map +1 -1
- package/out/recipes/house-venue.d.ts.map +1 -1
- package/out/recipes/house-venue.js +6 -3
- package/out/recipes/house-venue.js.map +1 -1
- package/out/recipes/intersection.js +2 -2
- package/out/recipes/intersection.js.map +1 -1
- package/out/recipes/po/box/cedex/recipe.js +2 -1
- package/out/recipes/po/box/cedex/recipe.js.map +1 -1
- package/out/recipes/po/box/cedex/sources.d.ts +8 -2
- package/out/recipes/po/box/cedex/sources.d.ts.map +1 -1
- package/out/recipes/po/box/cedex/sources.js +1 -1
- package/out/recipes/po/box/cedex/sources.js.map +1 -1
- package/out/recipes/scaffold.d.ts +28 -19
- package/out/recipes/scaffold.d.ts.map +1 -1
- package/out/recipes/scaffold.js +3 -2
- package/out/recipes/scaffold.js.map +1 -1
- package/out/recipes/sources.d.ts +1 -1
- package/out/recipes/sources.d.ts.map +1 -1
- package/out/recipes/sources.js +15 -2
- package/out/recipes/sources.js.map +1 -1
- package/out/recipes/street/bare.js +2 -2
- package/out/recipes/street/bare.js.map +1 -1
- package/out/recipes/street.d.ts.map +1 -1
- package/out/recipes/street.js +3 -1
- package/out/recipes/street.js.map +1 -1
- package/out/recipes/sub/venue/context.d.ts.map +1 -1
- package/out/recipes/sub/venue/context.js +2 -0
- package/out/recipes/sub/venue/context.js.map +1 -1
- package/out/recipes/sub/venue/render.js +1 -1
- package/out/recipes/sub/venue/render.js.map +1 -1
- package/out/recipes/sub/venue/sources.d.ts +6 -3
- package/out/recipes/sub/venue/sources.d.ts.map +1 -1
- package/out/recipes/sub/venue/sources.js +16 -20
- package/out/recipes/sub/venue/sources.js.map +1 -1
- package/out/recipes/sub/venue.d.ts +2 -5
- package/out/recipes/sub/venue.d.ts.map +1 -1
- package/out/recipes/sub/venue.js +10 -14
- package/out/recipes/sub/venue.js.map +1 -1
- package/out/recipes/trailing-region.d.ts.map +1 -1
- package/out/recipes/trailing-region.js +6 -1
- package/out/recipes/trailing-region.js.map +1 -1
- package/out/recipes/unit.js +2 -2
- package/out/recipes/unit.js.map +1 -1
- package/out/recipes/venue.d.ts +119 -0
- package/out/recipes/venue.d.ts.map +1 -0
- package/out/recipes/venue.js +245 -0
- package/out/recipes/venue.js.map +1 -0
- package/out/recipes.d.ts +1 -1
- package/out/recipes.d.ts.map +1 -1
- package/out/recipes.js +3 -1
- package/out/recipes.js.map +1 -1
- package/out/registers.d.ts +8 -6
- package/out/registers.d.ts.map +1 -1
- package/out/registers.js +8 -6
- package/out/registers.js.map +1 -1
- package/out/ro/adapters/retea-scolara/adapter.d.ts +5 -5
- package/out/ro/adapters/retea-scolara/adapter.js +5 -5
- package/out/ro/tools/fetch/retea-scolara.js +1 -1
- package/out/ro/tools/fetch/retea-scolara.js.map +1 -1
- package/out/runner.d.ts +3 -2
- package/out/runner.d.ts.map +1 -1
- package/out/runner.js +1 -1
- package/out/runner.js.map +1 -1
- package/out/sg/recipes/register.js +1 -1
- package/out/sg/recipes/register.js.map +1 -1
- package/out/sg/tools/fetch/acra.js +2 -2
- package/out/sg/tools/fetch/acra.js.map +1 -1
- package/out/sk/adapters/inspire/adapter.d.ts +5 -5
- package/out/sk/adapters/inspire/adapter.d.ts.map +1 -1
- package/out/sk/adapters/inspire/adapter.js +18 -18
- package/out/sk/adapters/inspire/adapter.js.map +1 -1
- package/out/sk/tools/fetch/inspire.d.ts +11 -10
- package/out/sk/tools/fetch/inspire.d.ts.map +1 -1
- package/out/sk/tools/fetch/inspire.js +15 -14
- package/out/sk/tools/fetch/inspire.js.map +1 -1
- package/out/source-register/effective-manifest.js +3 -3
- package/out/source-register/effective-manifest.js.map +1 -1
- package/out/source-register/register.d.ts +2 -2
- package/out/source-register/register.d.ts.map +1 -1
- package/out/source-register/register.js +2 -2
- package/out/source-register/register.js.map +1 -1
- package/out/source-register/training-manifest.d.ts +1 -1
- package/out/source-register/types.d.ts +12 -13
- package/out/source-register/types.d.ts.map +1 -1
- package/out/source-register/types.js +2 -2
- package/out/source-register/types.js.map +1 -1
- package/out/subvenue/promotions.d.ts +1 -1
- package/out/subvenue/promotions.js +1 -1
- package/out/subvenue/table.d.ts +4 -4
- package/out/subvenue/table.js +3 -3
- package/out/surfaces/locale.d.ts.map +1 -1
- package/out/surfaces/locale.js +2 -0
- package/out/surfaces/locale.js.map +1 -1
- package/out/synthesizers/anchor-absorption.d.ts +2 -1
- package/out/synthesizers/anchor-absorption.d.ts.map +1 -1
- package/out/synthesizers/anchor-absorption.js.map +1 -1
- package/out/synthesizers/boundary-stress.d.ts +1 -1
- package/out/synthesizers/boundary-stress.d.ts.map +1 -1
- package/out/synthesizers/boundary-stress.js +20 -23
- package/out/synthesizers/boundary-stress.js.map +1 -1
- package/out/synthesizers/house-venue.d.ts +3 -2
- package/out/synthesizers/house-venue.d.ts.map +1 -1
- package/out/synthesizers/house-venue.js +24 -26
- package/out/synthesizers/house-venue.js.map +1 -1
- package/out/synthesizers/no-street.d.ts.map +1 -1
- package/out/synthesizers/no-street.js.map +1 -1
- package/out/synthesizers/po-box.d.ts +4 -2
- package/out/synthesizers/po-box.d.ts.map +1 -1
- package/out/synthesizers/po-box.js.map +1 -1
- package/out/synthesizers/tail.d.ts +36 -0
- package/out/synthesizers/tail.d.ts.map +1 -0
- package/out/synthesizers/tail.js +32 -0
- package/out/synthesizers/tail.js.map +1 -0
- package/out/synthesizers/utils.d.ts +2 -1
- package/out/synthesizers/utils.d.ts.map +1 -1
- package/out/synthesizers/utils.js +17 -1
- package/out/synthesizers/utils.js.map +1 -1
- package/out/test-kit.js +2 -2
- package/out/test-kit.js.map +1 -1
- package/out/tools/audit.d.ts +2 -1
- package/out/tools/audit.d.ts.map +1 -1
- package/out/tools/audit.js +4 -3
- package/out/tools/audit.js.map +1 -1
- package/out/tools/corpus-stats.js +1 -1
- package/out/tools/corpus-stats.js.map +1 -1
- package/out/tools/fetch/atom.d.ts +8 -8
- package/out/tools/fetch/atom.d.ts.map +1 -1
- package/out/tools/fetch/atom.js +7 -8
- package/out/tools/fetch/atom.js.map +1 -1
- package/out/tools/fetch/cordis.d.ts +4 -3
- package/out/tools/fetch/cordis.d.ts.map +1 -1
- package/out/tools/fetch/cordis.js +9 -7
- package/out/tools/fetch/cordis.js.map +1 -1
- package/out/tools/fetch/download/manifest.d.ts.map +1 -1
- package/out/tools/fetch/download/manifest.js +2 -1
- package/out/tools/fetch/download/manifest.js.map +1 -1
- package/out/tools/fetch/download/network.d.ts +4 -4
- package/out/tools/fetch/download/retry.js +4 -4
- package/out/tools/fetch/download/retry.js.map +1 -1
- package/out/tools/fetch/geonames/dump.d.ts +3 -2
- package/out/tools/fetch/geonames/dump.d.ts.map +1 -1
- package/out/tools/fetch/geonames/dump.js +2 -1
- package/out/tools/fetch/geonames/dump.js.map +1 -1
- package/out/tools/fetch/geonames/postal.d.ts +2 -2
- package/out/tools/fetch/gleif.d.ts +3 -2
- package/out/tools/fetch/gleif.d.ts.map +1 -1
- package/out/tools/fetch/gleif.js +6 -4
- package/out/tools/fetch/gleif.js.map +1 -1
- package/out/tools/fetch/header.d.ts +7 -5
- package/out/tools/fetch/header.d.ts.map +1 -1
- package/out/tools/fetch/header.js +8 -6
- package/out/tools/fetch/header.js.map +1 -1
- package/out/tools/fetch/inspire-addresses.d.ts +32 -27
- package/out/tools/fetch/inspire-addresses.d.ts.map +1 -1
- package/out/tools/fetch/inspire-addresses.js +25 -24
- package/out/tools/fetch/inspire-addresses.js.map +1 -1
- package/out/tools/fetch/openaddresses.js +1 -1
- package/out/tools/fetch/openaddresses.js.map +1 -1
- package/out/tools/fetch/vlaanderen-ad.d.ts +5 -5
- package/out/tools/fetch/vlaanderen-ad.d.ts.map +1 -1
- package/out/tools/fetch/vlaanderen-ad.js +16 -16
- package/out/tools/fetch/vlaanderen-ad.js.map +1 -1
- package/out/tools/fetch/wfs-harvest.d.ts +26 -16
- package/out/tools/fetch/wfs-harvest.d.ts.map +1 -1
- package/out/tools/fetch/wfs-harvest.js +21 -18
- package/out/tools/fetch/wfs-harvest.js.map +1 -1
- package/out/tools/fetch.d.ts +0 -41
- package/out/tools/fetch.d.ts.map +1 -1
- package/out/tools/fetch.js +0 -41
- package/out/tools/fetch.js.map +1 -1
- package/out/tools/golden/expand.d.ts +7 -7
- package/out/tools/golden/expand.js +1 -1
- package/out/tools/golden/expand.js.map +1 -1
- package/out/tools/golden/promote.d.ts +2 -2
- package/out/tools/golden/promote.d.ts.map +1 -1
- package/out/tools/golden/promote.js +9 -6
- package/out/tools/golden/promote.js.map +1 -1
- package/out/tools/golden/relabel-street/directory.d.ts +4 -4
- package/out/tools/golden/relabel-street/directory.d.ts.map +1 -1
- package/out/tools/golden/relabel-street/directory.js +3 -2
- package/out/tools/golden/relabel-street/directory.js.map +1 -1
- package/out/tools/golden/relabel-street/row.d.ts +4 -3
- package/out/tools/golden/relabel-street/row.d.ts.map +1 -1
- package/out/tools/golden/relabel-street/row.js +3 -3
- package/out/tools/golden/relabel-street/row.js.map +1 -1
- package/out/tools/ingest-csv.js +3 -3
- package/out/tools/ingest-csv.js.map +1 -1
- package/out/tools/jsonl-to-parquet.d.ts +1 -1
- package/out/tools/lint/recipe-output/vocab.d.ts +10 -5
- package/out/tools/lint/recipe-output/vocab.d.ts.map +1 -1
- package/out/tools/lint/recipe-output/vocab.js.map +1 -1
- package/out/tools/lint/recipe-output.d.ts +8 -8
- package/out/tools/lint/recipe-output.d.ts.map +1 -1
- package/out/tools/lint/recipe-output.js +17 -0
- package/out/tools/lint/recipe-output.js.map +1 -1
- package/out/tools/overlay/kryptonite.d.ts +2 -2
- package/out/tools/overlay/kryptonite.d.ts.map +1 -1
- package/out/tools/overlay/kryptonite.js +2 -1
- package/out/tools/overlay/kryptonite.js.map +1 -1
- package/out/tools/overlay/manifest.d.ts +2 -1
- package/out/tools/overlay/manifest.d.ts.map +1 -1
- package/out/tools/overlay/manifest.js +2 -1
- package/out/tools/overlay/manifest.js.map +1 -1
- package/out/tools/overlay/merge-source.d.ts +2 -1
- package/out/tools/overlay/merge-source.d.ts.map +1 -1
- package/out/tools/overlay/merge-source.js.map +1 -1
- package/out/tools/overlay/split-slice.d.ts +1 -1
- package/out/tools/overlay/split-slice.js +1 -1
- package/out/tools/overlay/split-slice.js.map +1 -1
- package/out/tools/overlay/translit.d.ts +4 -3
- package/out/tools/overlay/translit.d.ts.map +1 -1
- package/out/tools/overlay/translit.js +2 -1
- package/out/tools/overlay/translit.js.map +1 -1
- package/out/tools/overture-subvenue.d.ts +1 -1
- package/out/tools/overture-subvenue.d.ts.map +1 -1
- package/out/tools/postcode-triples.d.ts +1 -1
- package/out/tools/postcode-triples.d.ts.map +1 -1
- package/out/tools/postcode-triples.js +4 -3
- package/out/tools/postcode-triples.js.map +1 -1
- package/out/tools/source-register/build.d.ts +10 -8
- package/out/tools/source-register/build.d.ts.map +1 -1
- package/out/tools/source-register/build.js +10 -8
- package/out/tools/source-register/build.js.map +1 -1
- package/out/tools/sub/venue/lexicon.d.ts +2 -6
- package/out/tools/sub/venue/lexicon.d.ts.map +1 -1
- package/out/tools/sub/venue/lexicon.js +2 -6
- package/out/tools/sub/venue/lexicon.js.map +1 -1
- package/out/tw/tools/fetch/gcis.js +3 -3
- package/out/tw/tools/fetch/gcis.js.map +1 -1
- package/out/types.d.ts +4 -3
- package/out/types.d.ts.map +1 -1
- package/out/types.js.map +1 -1
- package/out/us/adapters/state/hi-schools/workbook.d.ts +1 -1
- package/out/us/adapters/state/hi-schools/workbook.d.ts.map +1 -1
- package/out/us/adapters/state/hi-schools/workbook.js.map +1 -1
- package/out/us/adapters/usgov/nad/adapter.js +6 -6
- package/out/us/adapters/usgov/nad/adapter.js.map +1 -1
- package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.js +2 -2
- package/out/us/adapters/usgov/samhsa-treatment-locator/adapter.js.map +1 -1
- package/out/us/fips-state.d.ts +2 -2
- package/out/us/fips-state.d.ts.map +1 -1
- package/out/us/fips-state.js.map +1 -1
- package/out/us/synthesizers/intersection.d.ts.map +1 -0
- package/out/{synthesizers → us/synthesizers}/intersection.js +13 -9
- package/out/us/synthesizers/intersection.js.map +1 -0
- package/out/{synthesizers → us/synthesizers}/street.d.ts +3 -2
- package/out/us/synthesizers/street.d.ts.map +1 -0
- package/out/{synthesizers → us/synthesizers}/street.js +12 -12
- package/out/us/synthesizers/street.js.map +1 -0
- package/out/us/tools/fetch/imls-pls.js +1 -1
- package/out/us/tools/fetch/imls-pls.js.map +1 -1
- package/out/us/tools/fetch/nad.d.ts +6 -6
- package/out/us/tools/fetch/nad.js +1 -1
- package/out/us/tools/fetch/nad.js.map +1 -1
- package/out/us/tools/fetch/nppes.js +3 -3
- package/out/us/tools/fetch/nppes.js.map +1 -1
- package/out/us/tools/fetch/state/hi-schools.d.ts +2 -1
- package/out/us/tools/fetch/state/hi-schools.d.ts.map +1 -1
- package/out/us/tools/fetch/state/hi-schools.js +1 -1
- package/out/us/tools/fetch/state/hi-schools.js.map +1 -1
- package/out/us/tools/fetch/tiger-full.js +1 -1
- package/out/us/tools/fetch/tiger-full.js.map +1 -1
- package/out/utils/align.d.ts +5 -3
- package/out/utils/align.d.ts.map +1 -1
- package/out/utils/align.js +5 -5
- package/out/utils/align.js.map +1 -1
- package/out/utils/golden.js +2 -2
- package/out/utils/golden.js.map +1 -1
- package/out/utils/license.d.ts +3 -3
- package/out/utils/license.d.ts.map +1 -1
- package/out/utils/license.js.map +1 -1
- package/out/utils/split.d.ts +1 -1
- package/out/utils/split.d.ts.map +1 -1
- package/out/utils/split.js +18 -14
- package/out/utils/split.js.map +1 -1
- package/out/utils/tokenize.d.ts +3 -20
- package/out/utils/tokenize.d.ts.map +1 -1
- package/out/utils/tokenize.js.map +1 -1
- package/out/utils/wof-json.js +3 -3
- package/out/utils/wof-json.js.map +1 -1
- package/package.json +18 -27
- package/lib/tools.ts +0 -31
- package/out/synthesizers/intersection.d.ts.map +0 -1
- package/out/synthesizers/intersection.js.map +0 -1
- package/out/synthesizers/street.d.ts.map +0 -1
- package/out/synthesizers/street.js.map +0 -1
- package/out/tools.d.ts +0 -31
- package/out/tools.d.ts.map +0 -1
- package/out/tools.js +0 -31
- package/out/tools.js.map +0 -1
- /package/out/{synthesizers → us/synthesizers}/intersection.d.ts +0 -0
package/out/inspire/address.d.ts
CHANGED
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* without regard to case, and accept either form of a coded value.
|
|
28
28
|
*
|
|
29
29
|
* So this module exposes the primitives and leaves composition to each adapter. A configuration
|
|
30
|
-
* object describing those
|
|
31
|
-
*
|
|
30
|
+
* object describing those axes would state claims about files no one has read. These small
|
|
31
|
+
* functions state none.
|
|
32
32
|
*
|
|
33
33
|
* The reference form is the exception, because its shapes are enumerable and measured:
|
|
34
34
|
* {@linkcode componentJoinKey} reads all four.
|
|
@@ -42,33 +42,34 @@ import type { MarkupElement } from "@mailwoman/core/html/elements";
|
|
|
42
42
|
*
|
|
43
43
|
* The Dirección General del Catastro and the Gobierno de Navarra bind the same
|
|
44
44
|
* two namespaces to `AD:` and `GN:`.
|
|
45
|
-
*
|
|
46
|
-
* nor a postcode in either Spanish file.
|
|
45
|
+
* An exact comparison finds neither a locator, a street nor a postcode in either Spanish file.
|
|
47
46
|
*
|
|
48
|
-
* That reads as an address
|
|
47
|
+
* That reads as an address with none of those rather than as an unfamiliar prefix.
|
|
49
48
|
*
|
|
50
|
-
* The prefix is still compared, because it
|
|
49
|
+
* The prefix is still compared, because it identifies the namespace and the namespace holds the meaning.
|
|
51
50
|
* The Service public de Wallonie writes three `gml:name` elements inside each
|
|
52
51
|
* `ad:ThoroughfareName`, ahead of the `ad:name` that holds the street.
|
|
53
52
|
*
|
|
54
|
-
* A reader that dropped the prefix and matched on `name`
|
|
55
|
-
*
|
|
53
|
+
* A reader that dropped the prefix and matched only on `name` read the first of those three,
|
|
54
|
+
* so it found no street on any of Wallonia's 58,591 thoroughfare features.
|
|
56
55
|
*/
|
|
57
56
|
export declare function inspireNameIs(name: string, wanted: string): boolean;
|
|
58
57
|
/**
|
|
59
|
-
* The first child of `element`
|
|
58
|
+
* The first child of `element` whose name matches `name`, ignoring case.
|
|
60
59
|
*
|
|
61
|
-
* `name`
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
60
|
+
* Write `name` with the prefix the INSPIRE guideline uses.
|
|
61
|
+
* Eight of the nine publishers use it.
|
|
62
|
+
*
|
|
63
|
+
* The case-insensitive sibling of `childElement` from `@mailwoman/core/html/elements`.
|
|
64
|
+
* That
|
|
65
|
+
* function compares the name exactly, as a general markup reader must.
|
|
65
66
|
*/
|
|
66
|
-
export declare function inspireChild(element: MarkupElement, name: string): MarkupElement |
|
|
67
|
+
export declare function inspireChild(element: MarkupElement, name: string): MarkupElement | null;
|
|
67
68
|
/**
|
|
68
|
-
* Every child of `element`
|
|
69
|
+
* Every child of `element` whose name matches `name`, in document order, ignoring case.
|
|
69
70
|
*
|
|
70
71
|
* The case-insensitive sibling of `childElements` from `@mailwoman/core/html/elements`,
|
|
71
|
-
* for the same reason {@linkcode inspireChild}
|
|
72
|
+
* for the same reason {@linkcode inspireChild} exists.
|
|
72
73
|
*/
|
|
73
74
|
export declare function inspireChildren(element: MarkupElement, name: string): readonly MarkupElement[];
|
|
74
75
|
/**
|
|
@@ -78,50 +79,55 @@ export declare function inspireChildren(element: MarkupElement, name: string): r
|
|
|
78
79
|
* An INSPIRE value sits five or six elements down, so the path form reads better than
|
|
79
80
|
* a chain of {@linkcode inspireChild} calls and reports the same absence.
|
|
80
81
|
*/
|
|
81
|
-
export declare function inspireElementAt(element: MarkupElement, ...path: readonly string[]): MarkupElement |
|
|
82
|
+
export declare function inspireElementAt(element: MarkupElement, ...path: readonly string[]): MarkupElement | null;
|
|
82
83
|
/**
|
|
83
|
-
* The final segment of an INSPIRE codelist URI
|
|
84
|
+
* The final segment of an INSPIRE codelist URI.
|
|
85
|
+
* That segment is the value's name.
|
|
84
86
|
*
|
|
85
87
|
* `http://inspire.ec.europa.eu/codelist/LocatorDesignatorTypeValue/buildingIdentifier`
|
|
86
88
|
* reads `buildingIdentifier`.
|
|
87
89
|
* A `#` fragment is dropped first, because Flanders appends one to a `vocab.belgif.be`
|
|
88
90
|
* reference and Czechia folds it into `base:localId`.
|
|
89
91
|
*/
|
|
90
|
-
export declare function codelistValue(uri: string | undefined): string |
|
|
92
|
+
export declare function codelistValue(uri: string | null | undefined): string | null;
|
|
91
93
|
/**
|
|
92
94
|
* Whether a publisher marked this element void.
|
|
93
95
|
*
|
|
94
96
|
* INSPIRE writes `xsi:nil="true"` and usually a `nilReason`.
|
|
95
97
|
* Brussels writes the nil marker and no reason on all 232,003 of its void `ad:validFrom`
|
|
96
|
-
* elements, and Czechia writes four `gn:pronunciation` elements nil with no reason
|
|
97
|
-
*
|
|
98
|
+
* elements, and Czechia writes four `gn:pronunciation` elements nil with no reason.
|
|
99
|
+
*
|
|
100
|
+
* A reader that keys only on `nilReason` mistakes a void value for a populated one.
|
|
98
101
|
*
|
|
99
102
|
* An absent element answers false, so a caller distinguishes a void value from a missing one.
|
|
100
103
|
*/
|
|
101
|
-
export declare function isVoid(element: MarkupElement |
|
|
104
|
+
export declare function isVoid(element: MarkupElement | null): boolean;
|
|
102
105
|
/**
|
|
103
106
|
* The reason a publisher gave for a void element, as a codelist value such as `Unpopulated`.
|
|
104
107
|
*
|
|
105
|
-
* Returns
|
|
106
|
-
* schema permits and
|
|
107
|
-
*
|
|
108
|
-
*
|
|
108
|
+
* Returns null when the element is void and states no reason.
|
|
109
|
+
* The schema permits that form, and Brussels uses it throughout.
|
|
110
|
+
*
|
|
111
|
+
* A caller that needs to separate a void with a reason from a void with none
|
|
112
|
+
* reads this together with {@linkcode isVoid}.
|
|
109
113
|
*/
|
|
110
|
-
export declare function voidReason(element: MarkupElement |
|
|
114
|
+
export declare function voidReason(element: MarkupElement | null): string | null;
|
|
111
115
|
/**
|
|
112
116
|
* Every locator designator on an address, keyed by its INSPIRE type name.
|
|
113
117
|
*
|
|
114
|
-
* One `ad:AddressLocator`
|
|
115
|
-
*
|
|
118
|
+
* One `ad:AddressLocator` holds a designator per part of the number, each in its own
|
|
119
|
+
* `ad:LocatorDesignator` beside an `ad:type` that states what it is.
|
|
116
120
|
* Czechia writes two, `č.ev.` typed `buildingIdentifierPrefix` and `502` typed `buildingIdentifier`.
|
|
117
121
|
*
|
|
118
122
|
* The Netherlands writes four, including an empty `LocatorDesignatorTypeValue/addressNumberExtension`
|
|
119
123
|
* and the postcode as `LocatorDesignatorTypeValue/postalDeliveryIdentifier`.
|
|
120
124
|
*
|
|
121
125
|
* A type may repeat, so each key holds a list in document order.
|
|
122
|
-
* A designator the publisher wrote empty contributes an empty string
|
|
123
|
-
*
|
|
124
|
-
*
|
|
126
|
+
* A designator the publisher wrote empty contributes an empty string.
|
|
127
|
+
*
|
|
128
|
+
* That string is a value the publisher stated rather than one it omitted.
|
|
129
|
+
* The Netherlands writes `<ad:designator/>` 198,118 times over 108,708 features to
|
|
130
|
+
* mean "no extension", and that condition differs from void.
|
|
125
131
|
*
|
|
126
132
|
* A designator whose `ad:type` is absent or void is skipped, because its value cannot be placed.
|
|
127
133
|
*/
|
|
@@ -142,19 +148,21 @@ export declare function designatorsByType(address: MarkupElement): ReadonlyMap<s
|
|
|
142
148
|
* value has to be reported rather than turned into an absence.
|
|
143
149
|
*
|
|
144
150
|
* A caller reads this when the difference changes what it does.
|
|
145
|
-
* An adapter that refuses a row
|
|
151
|
+
* An adapter that refuses a row with no house number should report a void `buildingIdentifier` as
|
|
146
152
|
* a value it could not read, and an absent one as an address the publisher states has no number.
|
|
147
153
|
*/
|
|
148
154
|
export declare function voidDesignatorTypes(address: MarkupElement): ReadonlySet<string>;
|
|
149
|
-
export declare function designator(byType: ReadonlyMap<string, readonly string[]>, ...types: readonly string[]): string |
|
|
155
|
+
export declare function designator(byType: ReadonlyMap<string, readonly string[]>, ...types: readonly string[]): string | null;
|
|
150
156
|
/**
|
|
151
157
|
* Every `ad:component` reference on an address, as written.
|
|
152
158
|
*
|
|
153
159
|
* The href is returned verbatim, and {@linkcode componentJoinKey} turns it into a join key.
|
|
154
160
|
* A component whose href is absent or empty is skipped.
|
|
155
161
|
*
|
|
156
|
-
* Brussels writes `<ad:component xlink:href=""/>` on 9 addresses
|
|
157
|
-
*
|
|
162
|
+
* Brussels writes `<ad:component xlink:href=""/>` on 9 addresses.
|
|
163
|
+
* Those 9 hold no postal zone.
|
|
164
|
+
*
|
|
165
|
+
* A caller must report that rather than read a resolved component.
|
|
158
166
|
*/
|
|
159
167
|
export declare function componentHrefs(address: MarkupElement): readonly string[];
|
|
160
168
|
/**
|
|
@@ -166,9 +174,9 @@ export interface ComponentLink {
|
|
|
166
174
|
*/
|
|
167
175
|
readonly href: string;
|
|
168
176
|
/**
|
|
169
|
-
* The `xlink:title`, or
|
|
177
|
+
* The `xlink:title`, or null where the reference has no title.
|
|
170
178
|
*/
|
|
171
|
-
readonly title
|
|
179
|
+
readonly title: string | null;
|
|
172
180
|
}
|
|
173
181
|
/**
|
|
174
182
|
* Every `ad:component` reference on an address, with its title.
|
|
@@ -181,7 +189,7 @@ export interface ComponentLink {
|
|
|
181
189
|
* and an administrative-unit reference addresses a CartoCiudad stored query.
|
|
182
190
|
*
|
|
183
191
|
* The title is the only statement of the street name, the postcode and the place names
|
|
184
|
-
*
|
|
192
|
+
* in its own file, so its adapter reads titles and resolves no reference.
|
|
185
193
|
*
|
|
186
194
|
* A component whose href is absent or empty is skipped, as in {@linkcode componentHrefs}.
|
|
187
195
|
*/
|
|
@@ -199,20 +207,22 @@ export declare function componentLinks(address: MarkupElement): readonly Compone
|
|
|
199
207
|
* | Slovakia | `…ad/ows?…&id=AdminUnitName.15345` | `AdminUnitName.15345` |
|
|
200
208
|
* | Flanders | `https://data.vlaanderen.be/id/straatnaam/6301` | the URI itself |
|
|
201
209
|
*
|
|
202
|
-
* A URI with no id parameter is its own key
|
|
203
|
-
*
|
|
210
|
+
* A URI with no id parameter is its own key.
|
|
211
|
+
* Flanders publishes that form on both sides of the join.
|
|
212
|
+
*
|
|
213
|
+
* Its fragment is dropped, because a reference may hold one where the identifier does not:
|
|
204
214
|
* `http://vocab.belgif.be/auth/refnis1995/1000#id` addresses the same term as that URI without it.
|
|
205
215
|
*
|
|
206
216
|
* Whether a key joins is not a property of its spelling, so this reads a key
|
|
207
217
|
* and the caller decides joinability against the features the publisher actually served.
|
|
208
|
-
*
|
|
209
|
-
*
|
|
218
|
+
* A check based on the URL's shape once reported 15 of Flanders' 20 references as belonging
|
|
219
|
+
* to another register, when every one of them addressed a feature of the same service.
|
|
210
220
|
*
|
|
211
|
-
* @returns The key, or
|
|
221
|
+
* @returns The key, or null when the href is neither a fragment nor a URL.
|
|
212
222
|
*/
|
|
213
|
-
export declare function componentJoinKey(href: string): string |
|
|
223
|
+
export declare function componentJoinKey(href: string): string | null;
|
|
214
224
|
/**
|
|
215
|
-
* The spelling a `gn:GeographicalName`
|
|
225
|
+
* The spelling a `gn:GeographicalName` holds, reached from a feature that has one.
|
|
216
226
|
*
|
|
217
227
|
* Every name-bearing INSPIRE feature nests the text at
|
|
218
228
|
* `…/gn:GeographicalName/gn:spelling/gn:SpellingOfName/gn:text`, under a per-feature
|
|
@@ -220,17 +230,17 @@ export declare function componentJoinKey(href: string): string | undefined;
|
|
|
220
230
|
* while an `ad:AdminUnitName` and an `ad:AddressAreaName` add only `ad:name`.
|
|
221
231
|
* The caller gives the prefix.
|
|
222
232
|
*
|
|
223
|
-
* @returns The text, or
|
|
233
|
+
* @returns The text, or null when any step is absent or the name is void.
|
|
224
234
|
*/
|
|
225
|
-
export declare function geographicalNameText(feature: MarkupElement, ...prefix: readonly string[]): string |
|
|
235
|
+
export declare function geographicalNameText(feature: MarkupElement, ...prefix: readonly string[]): string | null;
|
|
226
236
|
/**
|
|
227
237
|
* The street name an `ad:ThoroughfareName` feature states.
|
|
228
238
|
*/
|
|
229
|
-
export declare function thoroughfareName(feature: MarkupElement): string |
|
|
239
|
+
export declare function thoroughfareName(feature: MarkupElement): string | null;
|
|
230
240
|
/**
|
|
231
241
|
* The place name an `ad:AdminUnitName` or `ad:AddressAreaName` feature states.
|
|
232
242
|
*/
|
|
233
|
-
export declare function placeName(feature: MarkupElement): string |
|
|
243
|
+
export declare function placeName(feature: MarkupElement): string | null;
|
|
234
244
|
/**
|
|
235
245
|
* The postcode an `ad:PostalDescriptor` feature states.
|
|
236
246
|
*
|
|
@@ -238,7 +248,7 @@ export declare function placeName(feature: MarkupElement): string | undefined;
|
|
|
238
248
|
* Left-padding belongs to the caller that knows the jurisdiction's width,
|
|
239
249
|
* because this reader returns what the publisher wrote.
|
|
240
250
|
*/
|
|
241
|
-
export declare function postalDescriptorCode(feature: MarkupElement): string |
|
|
251
|
+
export declare function postalDescriptorCode(feature: MarkupElement): string | null;
|
|
242
252
|
/**
|
|
243
253
|
* The administrative level an `ad:AdminUnitName` states, as a codelist value such as `4thOrder`.
|
|
244
254
|
*
|
|
@@ -247,5 +257,5 @@ export declare function postalDescriptorCode(feature: MarkupElement): string | u
|
|
|
247
257
|
* publishes exactly one `ad:AdminUnitName` feature, the country.
|
|
248
258
|
* A caller picks the finest level it wants by this value rather than by the order the references appear.
|
|
249
259
|
*/
|
|
250
|
-
export declare function adminUnitLevel(feature: MarkupElement): string |
|
|
260
|
+
export declare function adminUnitLevel(feature: MarkupElement): string | null;
|
|
251
261
|
//# sourceMappingURL=address.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../lib/inspire/address.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAElE
|
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../lib/inspire/address.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAElE;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAEnE;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAEvF;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,aAAa,EAAE,CAE9F;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,IAAI,EAAE,SAAS,MAAM,EAAE,GAAG,aAAa,GAAG,IAAI,CAUzG;AAED;;;;;;;;GAQG;AACH,wB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,oBAAoB,CAAC,OAAO,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAexG;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAEtE;AAED;;GAEG;AACH,wBAAgB,SAAS,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAE/D;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAQ1E;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,GAAG,IAAI,CAMpE"}
|
package/out/inspire/address.js
CHANGED
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
* without regard to case, and accept either form of a coded value.
|
|
28
28
|
*
|
|
29
29
|
* So this module exposes the primitives and leaves composition to each adapter. A configuration
|
|
30
|
-
* object describing those
|
|
31
|
-
*
|
|
30
|
+
* object describing those axes would state claims about files no one has read. These small
|
|
31
|
+
* functions state none.
|
|
32
32
|
*
|
|
33
33
|
* The reference form is the exception, because its shapes are enumerable and measured:
|
|
34
34
|
* {@linkcode componentJoinKey} reads all four.
|
|
@@ -41,37 +41,38 @@
|
|
|
41
41
|
*
|
|
42
42
|
* The Dirección General del Catastro and the Gobierno de Navarra bind the same
|
|
43
43
|
* two namespaces to `AD:` and `GN:`.
|
|
44
|
-
*
|
|
45
|
-
* nor a postcode in either Spanish file.
|
|
44
|
+
* An exact comparison finds neither a locator, a street nor a postcode in either Spanish file.
|
|
46
45
|
*
|
|
47
|
-
* That reads as an address
|
|
46
|
+
* That reads as an address with none of those rather than as an unfamiliar prefix.
|
|
48
47
|
*
|
|
49
|
-
* The prefix is still compared, because it
|
|
48
|
+
* The prefix is still compared, because it identifies the namespace and the namespace holds the meaning.
|
|
50
49
|
* The Service public de Wallonie writes three `gml:name` elements inside each
|
|
51
50
|
* `ad:ThoroughfareName`, ahead of the `ad:name` that holds the street.
|
|
52
51
|
*
|
|
53
|
-
* A reader that dropped the prefix and matched on `name`
|
|
54
|
-
*
|
|
52
|
+
* A reader that dropped the prefix and matched only on `name` read the first of those three,
|
|
53
|
+
* so it found no street on any of Wallonia's 58,591 thoroughfare features.
|
|
55
54
|
*/
|
|
56
55
|
export function inspireNameIs(name, wanted) {
|
|
57
56
|
return name.toLowerCase() === wanted.toLowerCase();
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
|
-
* The first child of `element`
|
|
59
|
+
* The first child of `element` whose name matches `name`, ignoring case.
|
|
61
60
|
*
|
|
62
|
-
* `name`
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
61
|
+
* Write `name` with the prefix the INSPIRE guideline uses.
|
|
62
|
+
* Eight of the nine publishers use it.
|
|
63
|
+
*
|
|
64
|
+
* The case-insensitive sibling of `childElement` from `@mailwoman/core/html/elements`.
|
|
65
|
+
* That
|
|
66
|
+
* function compares the name exactly, as a general markup reader must.
|
|
66
67
|
*/
|
|
67
68
|
export function inspireChild(element, name) {
|
|
68
|
-
return element.children.find((child) => inspireNameIs(child.name, name));
|
|
69
|
+
return element.children.find((child) => inspireNameIs(child.name, name)) ?? null;
|
|
69
70
|
}
|
|
70
71
|
/**
|
|
71
|
-
* Every child of `element`
|
|
72
|
+
* Every child of `element` whose name matches `name`, in document order, ignoring case.
|
|
72
73
|
*
|
|
73
74
|
* The case-insensitive sibling of `childElements` from `@mailwoman/core/html/elements`,
|
|
74
|
-
* for the same reason {@linkcode inspireChild}
|
|
75
|
+
* for the same reason {@linkcode inspireChild} exists.
|
|
75
76
|
*/
|
|
76
77
|
export function inspireChildren(element, name) {
|
|
77
78
|
return element.children.filter((child) => inspireNameIs(child.name, name));
|
|
@@ -87,13 +88,14 @@ export function inspireElementAt(element, ...path) {
|
|
|
87
88
|
let current = element;
|
|
88
89
|
for (const step of path) {
|
|
89
90
|
if (!current)
|
|
90
|
-
return
|
|
91
|
+
return null;
|
|
91
92
|
current = inspireChild(current, step);
|
|
92
93
|
}
|
|
93
94
|
return current;
|
|
94
95
|
}
|
|
95
96
|
/**
|
|
96
|
-
* The final segment of an INSPIRE codelist URI
|
|
97
|
+
* The final segment of an INSPIRE codelist URI.
|
|
98
|
+
* That segment is the value's name.
|
|
97
99
|
*
|
|
98
100
|
* `http://inspire.ec.europa.eu/codelist/LocatorDesignatorTypeValue/buildingIdentifier`
|
|
99
101
|
* reads `buildingIdentifier`.
|
|
@@ -102,18 +104,19 @@ export function inspireElementAt(element, ...path) {
|
|
|
102
104
|
*/
|
|
103
105
|
export function codelistValue(uri) {
|
|
104
106
|
if (!uri)
|
|
105
|
-
return
|
|
107
|
+
return null;
|
|
106
108
|
const withoutFragment = uri.split("#")[0];
|
|
107
109
|
const segment = withoutFragment.split("/").pop();
|
|
108
|
-
return segment ||
|
|
110
|
+
return segment || null;
|
|
109
111
|
}
|
|
110
112
|
/**
|
|
111
113
|
* Whether a publisher marked this element void.
|
|
112
114
|
*
|
|
113
115
|
* INSPIRE writes `xsi:nil="true"` and usually a `nilReason`.
|
|
114
116
|
* Brussels writes the nil marker and no reason on all 232,003 of its void `ad:validFrom`
|
|
115
|
-
* elements, and Czechia writes four `gn:pronunciation` elements nil with no reason
|
|
116
|
-
*
|
|
117
|
+
* elements, and Czechia writes four `gn:pronunciation` elements nil with no reason.
|
|
118
|
+
*
|
|
119
|
+
* A reader that keys only on `nilReason` mistakes a void value for a populated one.
|
|
117
120
|
*
|
|
118
121
|
* An absent element answers false, so a caller distinguishes a void value from a missing one.
|
|
119
122
|
*/
|
|
@@ -123,30 +126,33 @@ export function isVoid(element) {
|
|
|
123
126
|
/**
|
|
124
127
|
* The reason a publisher gave for a void element, as a codelist value such as `Unpopulated`.
|
|
125
128
|
*
|
|
126
|
-
* Returns
|
|
127
|
-
* schema permits and
|
|
128
|
-
*
|
|
129
|
-
*
|
|
129
|
+
* Returns null when the element is void and states no reason.
|
|
130
|
+
* The schema permits that form, and Brussels uses it throughout.
|
|
131
|
+
*
|
|
132
|
+
* A caller that needs to separate a void with a reason from a void with none
|
|
133
|
+
* reads this together with {@linkcode isVoid}.
|
|
130
134
|
*/
|
|
131
135
|
export function voidReason(element) {
|
|
132
136
|
if (!isVoid(element))
|
|
133
|
-
return
|
|
137
|
+
return null;
|
|
134
138
|
return codelistValue(element?.attributes.nilReason);
|
|
135
139
|
}
|
|
136
140
|
/**
|
|
137
141
|
* Every locator designator on an address, keyed by its INSPIRE type name.
|
|
138
142
|
*
|
|
139
|
-
* One `ad:AddressLocator`
|
|
140
|
-
*
|
|
143
|
+
* One `ad:AddressLocator` holds a designator per part of the number, each in its own
|
|
144
|
+
* `ad:LocatorDesignator` beside an `ad:type` that states what it is.
|
|
141
145
|
* Czechia writes two, `č.ev.` typed `buildingIdentifierPrefix` and `502` typed `buildingIdentifier`.
|
|
142
146
|
*
|
|
143
147
|
* The Netherlands writes four, including an empty `LocatorDesignatorTypeValue/addressNumberExtension`
|
|
144
148
|
* and the postcode as `LocatorDesignatorTypeValue/postalDeliveryIdentifier`.
|
|
145
149
|
*
|
|
146
150
|
* A type may repeat, so each key holds a list in document order.
|
|
147
|
-
* A designator the publisher wrote empty contributes an empty string
|
|
148
|
-
*
|
|
149
|
-
*
|
|
151
|
+
* A designator the publisher wrote empty contributes an empty string.
|
|
152
|
+
*
|
|
153
|
+
* That string is a value the publisher stated rather than one it omitted.
|
|
154
|
+
* The Netherlands writes `<ad:designator/>` 198,118 times over 108,708 features to
|
|
155
|
+
* mean "no extension", and that condition differs from void.
|
|
150
156
|
*
|
|
151
157
|
* A designator whose `ad:type` is absent or void is skipped, because its value cannot be placed.
|
|
152
158
|
*/
|
|
@@ -196,7 +202,7 @@ export function designatorsByType(address) {
|
|
|
196
202
|
* value has to be reported rather than turned into an absence.
|
|
197
203
|
*
|
|
198
204
|
* A caller reads this when the difference changes what it does.
|
|
199
|
-
* An adapter that refuses a row
|
|
205
|
+
* An adapter that refuses a row with no house number should report a void `buildingIdentifier` as
|
|
200
206
|
* a value it could not read, and an absent one as an address the publisher states has no number.
|
|
201
207
|
*/
|
|
202
208
|
export function voidDesignatorTypes(address) {
|
|
@@ -212,9 +218,10 @@ export function voidDesignatorTypes(address) {
|
|
|
212
218
|
if (!value || !isVoid(value))
|
|
213
219
|
continue;
|
|
214
220
|
const type = inspireChild(locatorDesignator, "ad:type");
|
|
215
|
-
const name = type && !isVoid(type) ? (codelistValue(type.attributes["xlink:href"]) ?? type.text) :
|
|
216
|
-
// A void value whose own type is void or absent cannot be placed,
|
|
217
|
-
//
|
|
221
|
+
const name = type && !isVoid(type) ? (codelistValue(type.attributes["xlink:href"]) ?? type.text) : null;
|
|
222
|
+
// A void value whose own type is void or absent cannot be placed,
|
|
223
|
+
// so it is reported under the empty name.
|
|
224
|
+
// That keeps the address's unreadable parts countable.
|
|
218
225
|
voided.add(name || "");
|
|
219
226
|
}
|
|
220
227
|
return voided;
|
|
@@ -227,7 +234,7 @@ export function designator(byType, ...types) {
|
|
|
227
234
|
return trimmed;
|
|
228
235
|
}
|
|
229
236
|
}
|
|
230
|
-
return
|
|
237
|
+
return null;
|
|
231
238
|
}
|
|
232
239
|
/**
|
|
233
240
|
* Every `ad:component` reference on an address, as written.
|
|
@@ -235,8 +242,10 @@ export function designator(byType, ...types) {
|
|
|
235
242
|
* The href is returned verbatim, and {@linkcode componentJoinKey} turns it into a join key.
|
|
236
243
|
* A component whose href is absent or empty is skipped.
|
|
237
244
|
*
|
|
238
|
-
* Brussels writes `<ad:component xlink:href=""/>` on 9 addresses
|
|
239
|
-
*
|
|
245
|
+
* Brussels writes `<ad:component xlink:href=""/>` on 9 addresses.
|
|
246
|
+
* Those 9 hold no postal zone.
|
|
247
|
+
*
|
|
248
|
+
* A caller must report that rather than read a resolved component.
|
|
240
249
|
*/
|
|
241
250
|
export function componentHrefs(address) {
|
|
242
251
|
return componentLinks(address).map((link) => link.href);
|
|
@@ -252,7 +261,7 @@ export function componentHrefs(address) {
|
|
|
252
261
|
* and an administrative-unit reference addresses a CartoCiudad stored query.
|
|
253
262
|
*
|
|
254
263
|
* The title is the only statement of the street name, the postcode and the place names
|
|
255
|
-
*
|
|
264
|
+
* in its own file, so its adapter reads titles and resolves no reference.
|
|
256
265
|
*
|
|
257
266
|
* A component whose href is absent or empty is skipped, as in {@linkcode componentHrefs}.
|
|
258
267
|
*/
|
|
@@ -263,15 +272,15 @@ export function componentLinks(address) {
|
|
|
263
272
|
if (!href)
|
|
264
273
|
continue;
|
|
265
274
|
const title = component.attributes["xlink:title"]?.trim();
|
|
266
|
-
links.push(
|
|
275
|
+
links.push({ href, title: title || null });
|
|
267
276
|
}
|
|
268
277
|
return links;
|
|
269
278
|
}
|
|
270
279
|
/**
|
|
271
|
-
* The query parameters a WFS stored-query reference
|
|
280
|
+
* The query parameters that hold a WFS stored-query reference's feature id.
|
|
272
281
|
*
|
|
273
|
-
* Each publisher picked a spelling, and the match below ignores case,
|
|
274
|
-
* and Slovakia's `id` both resolve
|
|
282
|
+
* Each publisher picked a spelling, and the match below ignores case,
|
|
283
|
+
* so Czechia's `Id` and Slovakia's `id` both resolve.
|
|
275
284
|
* A reader that knew only `id` returned Czechia's whole URL as the key, and no `gml:id`
|
|
276
285
|
* equals a URL, so all 5,460 of one municipality's references read as unjoinable.
|
|
277
286
|
*/
|
|
@@ -289,29 +298,31 @@ const REFERENCE_ID_PARAMETERS = new Set(["id", "featureid", "resourceid"]);
|
|
|
289
298
|
* | Slovakia | `…ad/ows?…&id=AdminUnitName.15345` | `AdminUnitName.15345` |
|
|
290
299
|
* | Flanders | `https://data.vlaanderen.be/id/straatnaam/6301` | the URI itself |
|
|
291
300
|
*
|
|
292
|
-
* A URI with no id parameter is its own key
|
|
293
|
-
*
|
|
301
|
+
* A URI with no id parameter is its own key.
|
|
302
|
+
* Flanders publishes that form on both sides of the join.
|
|
303
|
+
*
|
|
304
|
+
* Its fragment is dropped, because a reference may hold one where the identifier does not:
|
|
294
305
|
* `http://vocab.belgif.be/auth/refnis1995/1000#id` addresses the same term as that URI without it.
|
|
295
306
|
*
|
|
296
307
|
* Whether a key joins is not a property of its spelling, so this reads a key
|
|
297
308
|
* and the caller decides joinability against the features the publisher actually served.
|
|
298
|
-
*
|
|
299
|
-
*
|
|
309
|
+
* A check based on the URL's shape once reported 15 of Flanders' 20 references as belonging
|
|
310
|
+
* to another register, when every one of them addressed a feature of the same service.
|
|
300
311
|
*
|
|
301
|
-
* @returns The key, or
|
|
312
|
+
* @returns The key, or null when the href is neither a fragment nor a URL.
|
|
302
313
|
*/
|
|
303
314
|
export function componentJoinKey(href) {
|
|
304
315
|
const trimmed = href.trim();
|
|
305
316
|
if (!trimmed)
|
|
306
|
-
return
|
|
317
|
+
return null;
|
|
307
318
|
if (trimmed.startsWith("#"))
|
|
308
|
-
return trimmed.slice(1) ||
|
|
319
|
+
return trimmed.slice(1) || null;
|
|
309
320
|
let url;
|
|
310
321
|
try {
|
|
311
322
|
url = new URL(trimmed);
|
|
312
323
|
}
|
|
313
324
|
catch {
|
|
314
|
-
return
|
|
325
|
+
return null;
|
|
315
326
|
}
|
|
316
327
|
for (const [parameter, value] of url.searchParams) {
|
|
317
328
|
if (!REFERENCE_ID_PARAMETERS.has(parameter.toLowerCase()))
|
|
@@ -324,7 +335,7 @@ export function componentJoinKey(href) {
|
|
|
324
335
|
return url.toString();
|
|
325
336
|
}
|
|
326
337
|
/**
|
|
327
|
-
* The spelling a `gn:GeographicalName`
|
|
338
|
+
* The spelling a `gn:GeographicalName` holds, reached from a feature that has one.
|
|
328
339
|
*
|
|
329
340
|
* Every name-bearing INSPIRE feature nests the text at
|
|
330
341
|
* `…/gn:GeographicalName/gn:spelling/gn:SpellingOfName/gn:text`, under a per-feature
|
|
@@ -332,14 +343,14 @@ export function componentJoinKey(href) {
|
|
|
332
343
|
* while an `ad:AdminUnitName` and an `ad:AddressAreaName` add only `ad:name`.
|
|
333
344
|
* The caller gives the prefix.
|
|
334
345
|
*
|
|
335
|
-
* @returns The text, or
|
|
346
|
+
* @returns The text, or null when any step is absent or the name is void.
|
|
336
347
|
*/
|
|
337
348
|
export function geographicalNameText(feature, ...prefix) {
|
|
338
349
|
const name = inspireElementAt(feature, ...prefix, "gn:GeographicalName", "gn:spelling", "gn:SpellingOfName", "gn:text");
|
|
339
350
|
if (!name || isVoid(name))
|
|
340
|
-
return
|
|
351
|
+
return null;
|
|
341
352
|
const text = name.text.trim();
|
|
342
|
-
return text ||
|
|
353
|
+
return text || null;
|
|
343
354
|
}
|
|
344
355
|
/**
|
|
345
356
|
* The street name an `ad:ThoroughfareName` feature states.
|
|
@@ -363,9 +374,9 @@ export function placeName(feature) {
|
|
|
363
374
|
export function postalDescriptorCode(feature) {
|
|
364
375
|
const code = inspireChild(feature, "ad:postCode");
|
|
365
376
|
if (!code || isVoid(code))
|
|
366
|
-
return
|
|
377
|
+
return null;
|
|
367
378
|
const text = code.text.trim();
|
|
368
|
-
return text ||
|
|
379
|
+
return text || null;
|
|
369
380
|
}
|
|
370
381
|
/**
|
|
371
382
|
* The administrative level an `ad:AdminUnitName` states, as a codelist value such as `4thOrder`.
|
|
@@ -378,7 +389,7 @@ export function postalDescriptorCode(feature) {
|
|
|
378
389
|
export function adminUnitLevel(feature) {
|
|
379
390
|
const level = inspireChild(feature, "ad:level");
|
|
380
391
|
if (!level || isVoid(level))
|
|
381
|
-
return
|
|
382
|
-
return codelistValue(level.attributes["xlink:href"]) ?? (level.text.trim() ||
|
|
392
|
+
return null;
|
|
393
|
+
return codelistValue(level.attributes["xlink:href"]) ?? (level.text.trim() || null);
|
|
383
394
|
}
|
|
384
395
|
//# sourceMappingURL=address.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../lib/inspire/address.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAIH
|
|
1
|
+
{"version":3,"file":"address.js","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