append housenumber and boxnumber to result
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Julien Fastré 2022-09-02 16:54:13 +02:00
parent d6afe383c7
commit 54f0d0a6a2
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -13,7 +13,7 @@ steps:
- name: convert - name: convert
image: osgeo/gdal:alpine-normal-3.6.3 image: osgeo/gdal:alpine-normal-3.6.3
environment: environment:
SELECT: SELECT shape AS geom, id, best_id, coalesce(streetname_fr, streetname_nl, streetname_de) AS streetname, postal_info_objectid, municipality_objectid, COALESCE(municipality_fr, municipality_nl, municipality_de) AS municipality SELECT: SELECT shape AS geom, id, best_id, coalesce(streetname_fr, streetname_nl, streetname_de) AS streetname, postal_info_objectid, municipality_objectid, COALESCE(municipality_fr, municipality_nl, municipality_de) AS municipality, housenumber, boxnumber
commands: commands:
- unzip -o bestaddresses.zip - unzip -o bestaddresses.zip
- ogrinfo ca0fd5c0-8146-11e9-9012-482ae30f98d9_geopackage+sqlite3_3812.gpkg -sql "CREATE INDEX idx_postal_code ON addresses_complete (postal_info_objectid) WHERE status NOT LIKE 'retired'" - ogrinfo ca0fd5c0-8146-11e9-9012-482ae30f98d9_geopackage+sqlite3_3812.gpkg -sql "CREATE INDEX idx_postal_code ON addresses_complete (postal_info_objectid) WHERE status NOT LIKE 'retired'"