EDIGEO

Driver short name

EDIGEO

Driver built-in by default

This driver is built-in by default

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 modeling, 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 definition of IGN SRS must be placed in the directory of PROJ resource files.

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

Driver capabilities

Supports Georeferencing

This driver supports georeferencing

Supports VirtualIO

This driver supports virtual I/O operations (/vsimem/, etc.)

Configuration options

Configuration options can be specified in command-line tools using the syntax --config <NAME>=<VALUE> or using functions such as CPLSetConfigOption() (C) or gdal.config_options (Python). The following configuration options are available:

  • OGR_EDIGEO_FONT_SIZE_FACTOR=value: Defaults to 2. See Labels.

  • OGR_EDIGEO_CREATE_LABEL_LAYERS=[YES​/​NO]: Defaults to YES. See Labels.

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 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.

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