Skip to content

Commit

Permalink
fix code postal 75116
Browse files Browse the repository at this point in the history
  • Loading branch information
vdct committed Jul 31, 2019
1 parent a203887 commit 4377c8f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions opendata/00_osm_postal_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ ogr2ogr -f PostgreSQL PG:dbname=cadastre postal_code.shp -overwrite -nlt GEOMETR
# suppression colonne inutile et création index sur le code INSEE
psql cadastre -c "alter table postal_code drop column ogc_fid; create index postal_code_insee on postal_code (insee);"
psql cadastre -c "grant select on table postal_code to public;"

# mise à jour code INSEE Paris 16ème
psql cadastre -c "UPDATE postal_code SET insee='75116' WHERE insee='75056' and postal_cod like '%16';"

0 comments on commit 4377c8f

Please sign in to comment.