Closed eldk closed 5 years ago
https://stedolan.github.io/jq/
jq ' .. | select( has("nom") )? | select((.nom|length) <=2)' communes-5m.geojson
{
"code": "61349",
"nom": "Ri",
"departement": "61",
"region": "28"
}
{
"code": "28064",
"nom": "Bû",
"departement": "28",
"region": "24"
}
{
"code": "80829",
"nom": "Y",
"departement": "80",
"region": "32"
}
{
"code": "08434",
"nom": "Sy",
"departement": "08",
"region": "44"
}
{
"code": "70282",
"nom": "Gy",
"departement": "70",
"region": "27"
}
{
"code": "76548",
"nom": "Ry",
"departement": "76",
"region": "28"
}
{
"code": "65458",
"nom": "Uz",
"departement": "65",
"region": "76"
}
{
"code": "95625",
"nom": "Us",
"departement": "95",
"region": "11"
}
{
"code": "76255",
"nom": "Eu",
"departement": "76",
"region": "28"
}
{
"code": "25104",
"nom": "By",
"departement": "25",
"region": "27"
}
{
"code": "66155",
"nom": "Py",
"departement": "66",
"region": "76"
}
{
"code": "38289",
"nom": "Oz",
"departement": "38",
"region": "84"
}
{
"code": "31404",
"nom": "Oô",
"departement": "31",
"region": "76"
}
{
"code": "66218",
"nom": "Ur",
"departement": "66",
"region": "76"
}
Bonjour,
Existe t-il quelque part une liste des communes dont le nom compte moins de 3 lettres, < 3 .
Quelques-unes sont sur wikipedia : https://fr.wikipedia.org/wiki/Liste_de_toponymes_courts .
Avoir leur nombre et si possible la liste serait utile pour vérifier les résultats de recherche.
Cordialement,
Eric
https://github.com/etalab/api-geo/issues/52