Configuration file |
Will be read the scale of a created map, the table of matching of codes and semantics, format (code page) of DBF tables, necessity of using the mechanism Prefix-postfix. (Ini file window)
Configuration files have the extension .SHI or .SIO and are created automatically by clicking the «Save Settings» button. The .SHI format is the deprecated one. XML-code is used to store data of .SIO format. For example,
<? xml version = "1.0" encoding = "UTF-8"?> <shptomapoptions> <options> <attr name="isbl" value="0"/> // Initial coordinates - BL or XY <attr name="scale" value="200000"/> // Scale <attr name="isadd" value="0"/> // Objects are added to the map? <attr name="code" value ="2"/> //Format of recording a code of object - numeric or character <attr name="charset" value="1"/> // DBF code page <attr name="rscname" value="D:\DATA\shp\map500.rsc"/> // Classifier file name <attr name="prefix" value=""/> // Common part in source files name <attr name="postfix" value=""/> <attr name="isfolder" value="0"/> // Sign of forming map sheets according to folders <attr name="maptype" value=""/> // Output map format - map, mpt </options> <attributes> // Writing a table of correspondence of field names and codes <attr name="ТИП_РЕКЛАМ" code="4999"/> <attr name="КОНТРАГЕНТ" code="5000"/> <attr name="НОМЕР_ДОЗВ" code="5001"/> <attr name="АДРЕСА" code="231"/>ок <attr name="ПЛОЩА" code="5003"/> <attr name="ЗОНА" code="5004"/> </attributes> <service> // Recording service's field names <line type="dbcode" check="1" name="*"/>// <line type="dblabel" check="1" name=""/>// <line type="dbnumber" check="1" name=""/>// <line type="dbangle" check="1" name=""/>// </service> <objects> // Recording of conformity of files names and objects codes <obj name="БИГ-БОРД" key="50000001"/> </objects> </shptomapoptions>
|