Skip to content

Commit

Permalink
Merge pull request #428 from BaseAdresseNationale/vsagniez/chgt-buffer
Browse files Browse the repository at this point in the history
Changement Buffer Cadastre et ffth
  • Loading branch information
vinsag authored Jun 11, 2024
2 parents 3bb1f51 + d81220e commit b834c5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/compose/sources/cadastre.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function extractLieuxDits(adressesCommune) {
async function prepareData(adressesCommune, {codeCommune}) {
const context = {adresses: adressesCommune, codeCommune}

await filterOutOfCommune(context, 0.6)
await filterOutOfCommune(context, 0.05)

await updateCommunes(context.adresses)
await recomputeCodesVoies(context.adresses)
Expand Down
2 changes: 1 addition & 1 deletion lib/compose/sources/ftth.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const filterOutOfCommune = require('../processors/filter-out-of-commune.cjs')
async function prepareData(adressesCommune, {codeCommune}) {
const context = {adresses: adressesCommune, codeCommune}

await filterOutOfCommune(context, 0.2)
await filterOutOfCommune(context, 0.05)

const filteredAdresses = context.adresses.filter(a => {
// Suppression des pseudo-numéros, approche grossière pour commencer.
Expand Down

0 comments on commit b834c5f

Please sign in to comment.