1.. _vector.sxf:
2
3Storage and eXchange Format - SXF
4=================================
5
6.. shortname:: SXF
7
8.. built_in_by_default::
9
10This driver reads SXF files, open format often associated with Russian
11GIS Software Panorama.
12
13The driver is read only, but supports deletion of data source. The
14driver supports SXF binary files version 3.0 and higher.
15
16The SXF layer support the following capabilities:
17
18-  Strings as UTF8
19-  Random Read
20-  Fast Feature Count
21-  Fast Get Extent
22-  Fast Set Next By Index
23
24The driver uses classifiers (RSC files) to map feature from SXF to
25layers. Features that do not belong to any layer are put to the layer
26named "Not_Classified". The layers with zero features are not present in
27data source.
28
29To be used automatically, the RSC file should have the same name as SXF
30file. User can provide RSC file path using config option
31**SXF_RSC_FILENAME**. This config option overrides the use of same name
32RSC.
33
34The RSC file usually stores long and short layer name. The long name is
35usually in Russian, and short in English. The **SXF_LAYER_FULLNAME**
36config option allows choosing which layer names to use. If
37SXF_LAYER_FULLNAME is TRUE - the driver uses long names, if FALSE -
38short.
39
40The attributes are read from SXF file. Maximum number of fields is
41created for the same layer features with different number of attributes.
42If attribute has a code mapped to RSC file, driver adds only the code
43(don't get real value from RSC, as the value type may differ from field
44type).
45
46If config option **SXF_SET_VERTCS** set to ON, the layers spatial
47reference will include vertical coordinate system description if exist.
48
49Since GDAL 3.1 config options can be passed as driver open options.
50
51Driver capabilities
52-------------------
53
54.. supports_georeferencing::
55
56.. supports_virtualio::
57
58See Also
59--------
60
61-  `Panorama web page <http://gisinfo.ru>`__
62-  `SXF binary format description v.4 (rus) -
63   pdf <http://gistoolkit.ru/download/doc/sxf4bin.pdf>`__
64-  `SXF binary format description v.4 (rus) -
65   doc <http://gistoolkit.ru/download/classifiers/formatsxf.zip>`__
66-  `SXF format description v.3
67   (rus) <http://loi.sscc.ru/gis/formats/Format-geo/sxf/sxf3-231.txt>`__
68-  `RSC format description
69   (rus) <http://gistoolkit.ru/download/classifiers/formatrsc.zip>`__
70-  `Test spatial data in SXF format
71   (rus) <http://www.gisinfo.ru/price/price_map.htm>`__
72-  `Some RSC files
73   (rus) <http://www.gisinfo.ru/classifiers/classifiers.htm>`__
74