diff --git a/bano/dictionnaires/abrev_type_voie.txt b/bano/dictionnaires/abrev_type_voie.txt index 73d554b..784eef4 100644 --- a/bano/dictionnaires/abrev_type_voie.txt +++ b/bano/dictionnaires/abrev_type_voie.txt @@ -96,6 +96,7 @@ PETITE AVENUE PAE PETITE ROUTE PRT PETITE RUE PTR ROND POINT RPT +RTE ROUTE RTE RUE ALEZ ALEZ RUE HENT HENT RUE STRAED STRAED diff --git a/cron_bano.sh b/cron_bano.sh index 1daa9da..6bd1d93 100755 --- a/cron_bano.sh +++ b/cron_bano.sh @@ -34,7 +34,7 @@ then else bano update_insee_lists cat insee_locales.csv | parallel -j 4 export LANG=fr_FR.UTF-8\; bano process_commune BAL --code_insee {1} - cat insee_osm.txt | parallel -j 4 export LANG=fr_FR.UTF-8\; bano process_commune BAN --code_insee {1} + cat insee_osm.csv | parallel -j 4 export LANG=fr_FR.UTF-8\; bano process_commune BAN --code_insee {1} cat insee_osm.csv | parallel -j 4 export LANG=fr_FR.UTF-8\; bano process_commune OSM --code_insee {1} cat deplist.txt | parallel -j 4 export LANG=fr_FR.UTF-8\; bano process_commune_lieux-dits --depts {1} fi @@ -63,4 +63,4 @@ bano publish_aggregate psql -d cadastre -U cadastre -c "VACUUM cumul_adresses;" psql -d cadastre -U cadastre -c "VACUUM cumul_voies;" psql -d cadastre -U cadastre -c "VACUUM cumul_places;" -psql -d cadastre -U cadastre -c "GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO PUBLIC"; \ No newline at end of file +psql -d cadastre -U cadastre -c "GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO PUBLIC"; diff --git a/load_fantoir.sh b/load_fantoir.sh index 17fd538..e68c215 100755 --- a/load_fantoir.sh +++ b/load_fantoir.sh @@ -5,7 +5,7 @@ cd $DATA_DIR mkdir -p fantoir cd fantoir rm -rf FANTOIR* && rm *.zip -wget https://data.economie.gouv.fr/api/datasets/1.0/fichier-fantoir-des-voies-et-lieux-dits/attachments/fichier_national_fantoir_situation_avril_2022_zip/ -O fantoir.zip +wget https://data.economie.gouv.fr/api/datasets/1.0/fichier-fantoir-des-voies-et-lieux-dits/attachments/fichier_national_fantoir_situation_juillet_2022_zip/ -O fantoir.zip unzip fantoir.zip mv FANTOIR* fantoir.txt psql -d osm -U cadastre -f $BANO_DIR/sql/load_fantoir.sql