# EDIGEO

(GDAL/OGR >= 1.9.0)

This driver reads files encoded in the French EDIGEO exchange format, a text based file format aimed at exchanging geographical information between GIS, with powerful description capabilities, topology modelling, etc.

The driver has been developed to read files of the French PCI (Plan Cadastral Informatisé - Digital Cadastral Plan) as produced by the DGI (Direction Générale des Impots - General Tax Office). The driver should also be able to open other EDIGEO based products.

The driver must be provided with the .THF file describing the EDIGEO exchange and it will read the associated .DIC, .GEO, .SCD, .QAL and .VEC files.

In order the SRS of the layers to be correctly built, the IGNF file that contains the defintion of IGN SRS must be placed in the directory of PROJ.4 ressource files.

The whole set of files will be parsed into memory. This may be a limitation if dealing with big EDIGEO exchanges.

### Labels

For EDIGEO PCI files, the labels are contained in the ID_S_OBJ_Z_1_2_2 layer. OGR will export styling following the OGR Feature Style specification.

It will also add the following fields :

- OGR_OBJ_LNK: the id of the object that is linked to this label
- OBJ_OBJ_LNK_LAYER: the name of the layer of the linked object
- OGR_ATR_VAL: the value of the attribute to display (found in the ATR attribute of the OGR_OBJ_LNK object)
- OGR_ANGLE: the rotation angle in degrees (0 = horizontal, counter-clock-wise oriented)
- OGR_FONT_SIZE: the value of the HEI attribute multiplied by the value of the configuration option OGR_EDIGEO_FONT_SIZE_FACTOR that defaults to 2.

Combined with the FON (font family) attributes, they can be used to define the styling in QGIS for example.

By default, OGR will create specific layers (xxx_LABEL) to dispatch into the various labels of the ID_S_OBJ_Z_1_2_2 layer according to the value of xxx=OBJ_OBJ_LNK_LAYER. This can be disabled by setting OGR_EDIGEO_CREATE_LABEL_LAYERS to NO.

### See Also

- Introduction to the EDIGEO standard (in French)
- EDIGEO standard - AFNOR NF Z 52000 (in French)
- Standard d'échange des objets du PCI selon la norme EDIGEO (in French)
- Homepage of the French Digital Cadastral Plan (in French)
- Geotools EDIGEO module description (in English)
- Sample of EDIGEO data