LAYER STATUS ON GROUP "default" TYPE POINT PROJECTION "init=epsg:OSM_SRID" END CONNECTIONTYPE postgis CONNECTION "OSM_DB_CONNECTION" #if OSM_FORCE_POSTGIS_EXTENT == 1 EXTENT OSM_EXTENT #endif NAME layername(places,_layer_suffix) MINSCALEDENOM _minscale MAXSCALEDENOM _maxscale DATA _places_data LABELITEM 'name' CLASSITEM 'type' #if _display_capitals == 1 CLASS EXPRESSION ('[capital]'='1') LABEL FONT _capital_font TYPE TRUETYPE SIZE _capital_lbl_size ENCODING "utf-8" COLOR _capital_lbl_clr OUTLINECOLOR _capital_lbl_ol_clr OUTLINEWIDTH _capital_lbl_ol_width WRAP ' ' MAXLENGTH 8 ALIGN CENTER BUFFER 10 PARTIALS FALSE POSITION auto #if _display_capital_symbol == 1 STYLE SIZE _capital_size SYMBOL "citycircle" COLOR _capital_clr OUTLINECOLOR _capital_ol_clr END STYLE SIZE _capital_fg_size SYMBOL "citycircle" COLOR _capital_fg_clr END #endif END END #endif #if _display_continents == 1 CLASS EXPRESSION 'continents' LABEL FONT _continent_font TYPE TRUETYPE ENCODING "utf-8" SIZE _continent_lbl_size COLOR _continent_lbl_clr OUTLINECOLOR _continent_lbl_ol_clr OUTLINEWIDTH _continent_lbl_ol_width BUFFER 4 PARTIALS FALSE POSITION cc END END #endif #if _display_countries == 1 CLASS EXPRESSION 'country' LABEL FONT _country_font TYPE TRUETYPE ENCODING "utf-8" SIZE _country_lbl_size COLOR _country_lbl_clr OUTLINECOLOR _country_lbl_ol_clr OUTLINEWIDTH _country_lbl_ol_width WRAP ' ' MAXLENGTH 8 ALIGN CENTER BUFFER 4 PARTIALS FALSE POSITION cc END END #endif #if _display_cities == 1 CLASS EXPRESSION 'city' LABEL FONT _city_font TYPE TRUETYPE ENCODING "utf-8" SIZE _city_lbl_size COLOR _city_lbl_clr OUTLINECOLOR _city_lbl_ol_clr OUTLINEWIDTH _city_lbl_ol_width WRAP ' ' MAXLENGTH 8 ALIGN CENTER BUFFER 4 PARTIALS FALSE POSITION auto #if _display_city_symbol == 1 STYLE SIZE _city_size SYMBOL "citycircle" COLOR _city_clr OUTLINECOLOR _city_ol_clr END #endif END END #endif #if _display_towns == 1 CLASS EXPRESSION 'town' LABEL FONT _town_font TYPE TRUETYPE ENCODING "utf-8" SIZE _town_lbl_size COLOR _town_lbl_clr OUTLINECOLOR _town_lbl_ol_clr OUTLINEWIDTH _town_lbl_ol_width WRAP ' ' MAXLENGTH 8 ALIGN CENTER PARTIALS FALSE POSITION AUTO BUFFER 4 POSITION auto #if _display_town_symbol == 1 STYLE SIZE _town_size SYMBOL "citycircle" COLOR _town_clr OUTLINECOLOR _town_ol_clr END #endif END END #endif #if _display_suburbs == 1 CLASS EXPRESSION 'suburb' LABEL FONT _suburb_font TYPE TRUETYPE ENCODING "utf-8" SIZE _suburb_lbl_size COLOR _suburb_lbl_clr OUTLINECOLOR _suburb_lbl_ol_clr OUTLINEWIDTH _suburb_lbl_ol_width WRAP ' ' MAXLENGTH 8 ALIGN CENTER BUFFER 4 PARTIALS FALSE POSITION AUTO #if _display_suburb_symbol == 1 STYLE SIZE _suburb_size SYMBOL "citycircle" COLOR _suburb_clr OUTLINECOLOR _suburb_ol_clr END #endif END END #endif #if _display_villages == 1 CLASS EXPRESSION 'village' LABEL FONT _village_font TYPE TRUETYPE ENCODING "utf-8" SIZE _village_lbl_size COLOR _village_lbl_clr OUTLINECOLOR _village_lbl_ol_clr OUTLINEWIDTH _village_lbl_ol_width WRAP ' ' MAXLENGTH 8 ALIGN CENTER PARTIALS FALSE BUFFER 4 POSITION AUTO #if _display_village_symbol == 1 STYLE SYMBOL "citycircle" COLOR _village_clr OUTLINECOLOR _village_ol_clr SIZE _village_size END #endif END END #endif #if _display_hamlets == 1 CLASS EXPRESSION 'hamlet' LABEL FONT _hamlet_font TYPE TRUETYPE ENCODING "utf-8" SIZE _hamlet_lbl_size COLOR _hamlet_lbl_clr OUTLINECOLOR _hamlet_lbl_ol_clr OUTLINEWIDTH _hamlet_lbl_ol_width WRAP ' ' MAXLENGTH 8 ALIGN CENTER BUFFER 4 PARTIALS FALSE POSITION AUTO #if _display_hamlet_symbol == 1 STYLE SIZE _hamlet_size SYMBOL "citycircle" COLOR _hamlet_clr OUTLINECOLOR _hamlet_ol_clr END #endif END END #endif #if _display_localities == 1 CLASS EXPRESSION 'locality' LABEL FONT _locality_font TYPE TRUETYPE ENCODING "utf-8" SIZE _locality_lbl_size COLOR _locality_lbl_clr OUTLINECOLOR _locality_lbl_ol_clr OUTLINEWIDTH _locality_lbl_ol_width WRAP ' ' MAXLENGTH 8 ALIGN CENTER BUFFER 4 PARTIALS FALSE POSITION AUTO #if _display_locality_symbol == 1 STYLE SIZE _locality_size SYMBOL "citycircle" COLOR _locality_clr OUTLINECOLOR _locality_ol_clr END #endif END END #endif END