//-----------------------coord systems: //const FLAT = 0x00; //-----------------------layer_group and layer options: const VISIBLE = 0x01; //default, если не указана секция "options = ...;" //-----------------------layer::files options: const FULLDRAW = 0x01; //рисовать все мелкие детали независимо от масштаба //-----------------------font::weight: const FW_DONTCARE = 0; const FW_THIN = 100; const FW_EXTRALIGHT = 200; const FW_ULTRALIGHT = 200; const FW_LIGHT = 300; const FW_NORMAL = 400; const FW_REGULAR = 400; const FW_MEDIUM = 500; const FW_SEMIBOLD = 600; const FW_DEMIBOLD = 600; const FW_BOLD = 700; const FW_EXTRABOLD = 800; const FW_ULTRABOLD = 800; const FW_HEAVY = 900; const FW_BLACK = 900; //-----------------------font::family: const FF_DONTCARE = (0<<4); //Don't care or don't know. const FF_ROMAN = (1<<4); //Fonts with variable stroke width and with serifs. const FF_SWISS = (2<<4); //Fonts with variable stroke width and without serifs. //MS Sans Serif is an example const FF_MODERN = (3<<4); //Fonts with constant stroke width, with or without serifs. //Pica, Elite, and Courier NewR are examples. //MSR Serif is an example. const FF_SCRIPT = (4<<4); //Fonts designed to look like handwriting. //Script and Cursive are examples. const FF_DECORATIVE = (5<<4); //Novelty fonts. Old English is an example. map { //-----------------------sublayer options:----------------------- id = 0; name = "Муром"; coord_system { //type = FLAT; map_size_x = 2000 * 8; map_size_y = 2000 * 12; user_units = "м"; user_scale = .5; //в одном пикселе карты .5 user_units (метров) } //------------------------------------------------------------- /* font { id = 0; weight = ; is_italic = ; family = ; face_name = ; } */ font { id = 0; family = FF_SWISS; face_name = "Arial"; } font { id = 1; family = FF_ROMAN; face_name = "Times New Roman"; } font { id = 2; family = FF_ROMAN; face_name = "Times New Roman"; } font { id = 3; is_italic = 1; family = FF_ROMAN; face_name = "Times New Roman"; } font { id = 4; family = FF_SWISS; face_name = "Arial"; weight = FW_BOLD; } //------------------------------------------------------------- print_scale { name = "1:2000"; scale = 2000.0; } print_scale { name = "1:5000"; scale = 5000.0; } print_scale { name = "1:10000"; scale = 10000.0; } //===================================================================== /* sign_group { name = "Прочие"; file = "ico\\icn.cfg"; id = 2; } */ //===================================================================== colors_file = "murom\\palette.clr"; bg_color = 15; layer { name = "Кварталы"; id = 0; colors { L = 6; F = 14; } files { //max_scale = 0.1; file = "murom\\kvrt.vdb"; } } //----------------------------------------------------- layer_group { name = "Реки и водоемы"; layer { name = "Реки и водоемы"; id = 1; colors { L = 1; F = 9; } files { file = "murom\\riv.vdb"; } } layer { name = "Острова"; id = 2; colors { L = 1; F = 15; } files { file = "murom\\ostv.vdb"; } } } //----------------------------------------------------- layer { name = "Насыпи и овраги"; id = 3; colors { L = 9; F = 9; } files { file = "murom\\kanv.vdb"; } } //----------------------------------------------------- layer { name = "Железные дороги"; options = FULLDRAW; id = 4; colors { L = 8; F = 7; } files { file = "murom\\rw.vdb"; } } //----------------------------------------------------- layer { name = "Парки и леса"; id = 5; colors { L = 2; F = 10; } files { file = "murom\\tree.vdb"; } } //----------------------------------------------------- layer_group { name = "Дорожная сеть"; layer { name = "Дороги"; id = 6; colors { L = 12; F = 12; } files { file = "murom\\str.vdb"; } } layer { name = "Дворовые проезды"; id = 7; colors { L = 13; F = 13; } files { min_scale = 0.14; file = "murom\\dstr.vdb"; } } layer { name = "Названия улиц"; id = 8; draw_level = 1; colors { L = 12; F = 12; } files { min_scale = 0.2; file = "murom\\nstr.vdb"; } } } //----------------------------------------------------- layer { name = "Заборы"; id = 9; colors { L = 12; F = 12; } files { min_scale = 0.1; file = "murom\\zabr.vdb"; } } //----------------------------------------------------- layer_group { name = "Технические объекты"; layer { name = "Промзоны"; options = FULLDRAW; id = 10; colors { L = 0; F = 7; } files { //max_scale = 0.1; file = "murom\\fact.vdb"; } } layer { name = "Провода"; id = 11; draw_level = 1; colors { L = 0; F = 0; } files { min_scale = 0.5; file = "murom\\prov.vdb"; } } } //----------------------------------------------------- layer_group { name = "Дома"; layer { name = "Дома нежилые"; id = 12; colors { L = 7; F = 7; } files { min_scale = 0.1; file = "murom\\dnj.vdb"; } } layer { name = "Дома жилые"; id = 13; colors { L = 8; F = 7; } files { id = 0; min_scale = 0.1; file = "murom\\dom.vdb"; } } layer { name = "ГСК подробные"; id = 14; colors { L = 1; F = 1; } files { min_scale = 0.3; file = "murom\\gsk.vdb"; } } layer { name = "ГСК упрощенные"; id = 15; colors { L = 1; F = 1; } files { max_scale = 0.3; file = "murom\\sgsk.vdb"; } } layer { name = "СТО (частные)"; id = 16; colors { L = 1; F = 1; } files { min_scale = 0.3; file = "murom\\auto.vdb"; } } layer { name = "Торговые предприятия"; id = 17; colors { L = 1; F = 1; } files { min_scale = 0.3; file = "murom\\torg.vdb"; } } layer { name = "ОВО"; id = 18; colors { L = 1; F = 1; } files { min_scale = 0.3; file = "murom\\ovo.vdb"; } } layer { name = "УВД"; id = 19; colors { L = 1; F = 1; } files { min_scale = 0.3; file = "murom\\uvd.vdb"; } } layer { name = "Номера домов"; id = 20; colors { L = 1; F = 1; } files { id = 0; min_scale = 0.5; file = "murom\\ndom.vdb"; } } layer { name = "Спецификация домов"; id = 21; colors { L = 0; F = 0; } files { min_scale = 0.5; file = "murom\\kg.vdb"; } } layer { name = "Наименования"; id = 22; draw_level = 1; colors { L = 0; F = 0; } files { min_scale = 0.5; file = "murom\\nhz.vdb"; } } } //========================================================================= //Слои, зарегистрированные для отладки растровых условных знаков /* layer { name = ; id = ; colors { L = ; F = ; } files { //max_scale = 0.1; file = "murom\\.vdb"; } } layer { name="ГСК"; // options=VISIBLE; sublayer { options=VISIBLE; name="ГСК"; color{L=7;F=3;} datafile { file="murom\uz_gsk.vdb"; //min_mash=0.1; } } } layer { name = ; id = ; colors { L = ; F = ; } files { //max_scale = 0.1; file = "murom\\.vdb"; } } layer { name="Торговые предприятия"; options=VISIBLE; sublayer { options=VISIBLE; name="Ларьки"; color{L=7;F=3;} datafile { file="murom\larki.vdb"; //min_mash=0.1; } } } */ }