# Norwegian SOSI Standard

Driver short name

SOSI

Build dependencies

FYBA library

This driver requires the FYBA library.

## Open options

Open options can be specified in command-line tools using the syntax `-oo <NAME>=<VALUE>` or by providing the appropriate arguments to `GDALOpenEx()` (C) or `gdal.OpenEx` (Python). Starting with GDAL 3.1, the following open options can be specified:

- appendFieldsMap=value: (GDAL >= 3.1) Defaults to `<empty>`. Default is that all rows for equal field names will be appended in a feature, but with this parameter you select what field this should be valid for.

### Examples

- This example will convert a sosi file to a shape a file where all duplicate fields in a feature will be appended with a comma between.

      ogr2ogr -t_srs EPSG:4258 test_poly.shp test_duplicate_fields.sos polygons

- This example will convert a sosi file to a shape a file where only duplicates for BEITEBRUKERID and OPPHAV will appended with a comma between.

      ogr2ogr -t_srs EPSG:4258  test_poly.shp test_duplicate_fields.sos polygons -oo appendFieldsMap="BEITEBRUKERID&OPPHAV"

- This example will convert a sosi file to a shape a file where for BEITEBRUKERID and OPPHAV will be appended with a semicolon and comma between

      ogr2ogr -t_srs EPSG:4258  test_poly.shp test_duplicate_fields.sos polygons -oo appendFieldsMap="BEITEBRUKERID:;&OPPHAV:,"