Help:P3182
Help page for FANTOIR code (P3182) . This help page will be included in Property talk:P3182. Please be careful editing it not to break the included page.
Format of the property in Wikidata
Code of département and direction (3 digits)
edit- Metropolitan France: INSEE department code (P2586) (2 digits) + 0
- Exceptions:
- Paris: 754, 755, 756, 757, 758
- Bouches-du-Rhône: 131, 132
- Nord: 591, 592
- Hauts-de-Seine: 921, 922
- Exceptions:
- Exemple for Meuse (Q12631) department: 55+0 → 550
- Overseas France: INSEE department code (P2586) (3 digits)
- Guadeloupe: 971
- Martinique: 972
- Guyane: 973
- La Réunion: 974
- Mayotte: 976
Municipality code (3 digits)
editINSEE municipality code (P374) (or of an arrondissement in Paris, Lyon and Marseille) strictly speaking (only the last three digits of the Wikidata property, without the code of the department).
- Exemple for Rennes (Q647): 35238 → 238
RIVOLI code (4 characters)
editThe RIVOLI code strictly speaking consist in only 4 characters.
- First character:
- normal way (public domain): 1 digit
- way in a building complexe (joint ownership property and housing estate, etc.) : A
- place called: B-W
- pseudo ways (canal, ZAC, hospital and metro station, etc.): X
- temporary way: Y, Z
- + 3 digits
Check letter
editOne letter (except I, O and Q).
Comments
edit- The code FANTOIR in Wikidata is not the same as the key
ref:FR:FANTOIR=*
in OpenStreetMap (only 10 characters: INSEE municipality code (5 digits) + RIVOLI code (4 characters) + check letter of the original FANTOIR code). - A way that crosses x different communes or arrondissements (in Paris, Lyon and Marseille) has x different FANTOIR codes. Normally, the RIVOLI code is the same.
- Example: rue Beaubourg (Q14629229) in Paris:
7541030759S
for the 3rd arrondissement (INSEE code: 103) and7541040759M
for the 4th arrondissement (INSEE code: 104).
- Example: rue Beaubourg (Q14629229) in Paris:
Resources
editData
edit- Fichier FANTOIR des voies et lieux-dits on data.gouv.fr
- By departments on collectivites-locales.gouv.fr
- Données FANTOIR découpées par direction by Geonov
- By INSEE code on openstreetmap.fr (their FANTOIR ID is not the same that we use in Wikidata)