User:Jaszczur666/Maperitive Rules/Hiking

From OpenStreetMap Wiki
Jump to navigation Jump to search
features
	adresik: node[addr:housenumber] area[addr:housenumber]
	cmentarz : area[landuse=cemetery]
	contour major : contour[@isMulti(elevation, 50)]
	contour minor : contour[@isMulti(elevation, 10) and not @isMulti(elevation, 50)]
	zamek: node[historic=castle] area[historic=castle] 

	areas
		budynek : building=yes
		water : natural=water OR waterway=riverbank or landuse=reservoir
		forest : landuse=forest OR natural=wood OR leisure=park
		farm : landuse=farm
		fell : natural=fell
		national park : boundary=national_park
		residential area : landuse=residential
		Zoo : tourism=zoo 
		bagno: natural=wetland
		krzaczory: natural=scrub
		pieszechody: highway=pedestrian
		leisure garden: leisure=garden
		kamieniolom: landuse=quarry
		cmentarz : area[landuse=cemetery]
	lines
		coastline : natural=coastline
//		wal:embankment=yes
		river : waterway=river OR  waterway=canal
		strumyk : waterway=stream or waterway=drain
		railway : railway=rail
		tramway : railway=tram
		plot : barrier=fence or barrier=wall
		road niemoje : access=no OR access=private
		road green : relation[(route=foot OR route=hiking) AND (symbol=green OR color="#00FF00" OR colour="#00FF00" OR kct_green=major)]
		road black : relation[(route=foot OR route=hiking) AND (symbol=black OR color="#000000")]
		road red : relation[(route=foot OR route=hiking) AND (symbol=red OR color="#FF0000" OR kct_red=major OR colour="#FF0000")]
		road blue : relation[(route=foot OR route=hiking) AND ((symbol=blue OR color="#0000FF") OR kct_blue=major)]
		road yellow : relation[(route=foot OR route=hiking) AND ((symbol=yellow OR color="#FFFF00") OR kct_yellow=major)]
		road rower : relation [route=bicycle AND (network=ncn or network=rcn)]
		road motorway : highway=motorway
		road motorway link : highway=motorway_link
		road motorway construction: construction=motorway
		road trunk : highway=trunk
		road trunk construction : construction=trunk
		road primary : highway=primary or highway=primary_link
		road primary construction:construction=primary
		road secondary : highway=secondary
		road secondary construction:construction=secondary
		road tertiary : highway=tertiary
		road unclassified : highway=unclassified or highway=service
		road residential : highway=residential OR highway=road or highway=living_street
		road track : highway=track or higway=unsurfaced
		road konska: highway=bridleway
		road footway : highway=footway
		road cycleway : highway=cycleway
		road path : highway=path
//		road bridge: bridge=yes or bridge=true
		road pieszo: highway=pedestrian
		road schody : highway=steps
		historic citywalls : historic=citywalls OR historic=city_wall
		boundary country : boundary=administrative AND (admin_level=2 )

		boundary province : boundary=administrative AND (admin_level=6 OR admin_level=4)
		boundary municipal : boundary=administrative AND (admin_level=8 OR admin_level=10)
		gps tracks : gpstrack[]
		gps routes : gpsroute[]

	points
		atm : amenity=atm
		atrakcja: tourism=attraction or tourism=yes 
		skala:natural=stone
		lawka:amenity=bench
		bakery : shop=bakery
//		przelecz:mountain_pass=yes
		bank : amenity=bank
		bus stop : highway=bus_stop
		cafe : amenity=cafe
		church : amenity=place_of_worship AND religion=christian
		convenience : shop=convenience
		diy : shop=doityourself
		drinking water : amenity=drinking_water
		fast food : amenity=fast_food
		fire station : amenity=fire_station
		hair dresser : shop=hairdresser
		hospital : amenity=hospital
		hotel : tourism=hotel
		jaskinia : natural=cave_entrance
		library : amenity=library
		memorial : historic=memorial
		paliwo: amenity=fuel
		parking : amenity=parking
		peak : natural=peak	
		pharmacy : amenity=pharmacy
		piknik : tourism=picnic_site
		place city : place=city
		place hamlet : place=hamlet
//		place suburb : place=suburb
		place town : place=town
		place uni: amenity=university
		place village : place=village
		place wodopoj: amenity=pub
		police station : amenity=police
		postbox : amenity=post_box
		postoffice : amenity=post_office
		puffin : crossing_ref=puffin
		recycling : amenity=recycling
		restaurant : amenity=restaurant
		school : amenity=school
		schron:amenity=shelter
		schronisko: tourism=alpine_hut or tourism=chalet
		stacyjka: railway=station or railway=halt
		supermarket : shop=supermarket
		telephone : amenity=telephone
		toilets : amenity=toilets
		kosz:amenity=waste_basket
		tree : natural=tree
		widok:tourism=viewpoint
		informacja:tourism=information and (information=board or information=map)
		drogowskaz:tourism=information and information=guidepost
		gps waypoints : gpswaypoint[]
		gps trackpoints: gpstrack[].gpspoint[]
		gps routepoints: gpsroute[].gpspoint[]
		
		
properties
	map-background-color	: #F1EEE8
	map-background-opacity	: 1
	map-sea-color : #B5D0D0
	font-weight : bold
//	fill-opacity:0.75
	font-size:10
	font-family : Verdana
	text-max-width : 7
	text-halo-width : 25%
	text-halo-opacity : 0.75
	text-align-horizontal : center
	text-align-vertical : center
	font-stretch : 0.9
	text: @any([[name:pl]], name)

	

rules


	target: gps tracks
		define
			line-color : red
			line-opacity : 1
			min-zoom : 5
			line-width : 3
		draw : line

	target: gps routes
		define
			line-color : blue
			line-opacity : 0.75
			line-style : dash
			min-zoom : 5
			line-width : 5
		draw : line

	target : gps waypoints
		define
			shape : circle
			shape-size : 8
			line-color : green
			fill-opacity : 0
		draw : shape

	target : gps trackpoints
		define
			min-zoom : 17
			shape : square
			shape-size : 10
			line-color : green
			line-width : 1
			fill-opacity : 0
		draw : shape


	target : gps routepoints
		define
			min-zoom : 12
			shape : diamond
			shape-size : 10
			line-color : green
			line-width : 1
			fill-opacity : 0
		draw : shape
	target : $featuretype(area)
		define
			line-style : none
			line-width : 1
		if : forest
			define
				min-zoom : 9
				fill-color : #8DC56C white 60%
				fill-texture : http://svn.openstreetmap.org/applications/rendering/mapnik-german/symbols/forest.png
		elseif : farm
			define
				min-zoom : 9
				fill-color : #E9D8BD
		elseif : fell
			define
				fill-color : #C5FF5B black 10%
		elseif : water
			define
				fill-color : #B5D0D0
		elseif : residential area
			define
				fill-color : #DCDCDC
		elseif : grass
			define
				fill-color : #CFECA8
		elseif : allotments
			define
				fill-color : #C8B084
		elseif : meadow
			define
				fill-color : #CFECA8
		elseif : nature reserve
			define
				fill-color : #ABDE96
		elseif : car park
			define
				fill-color : #F6EEB7
		elseif : park
			define
				fill-color : #C0F6B0
		elseif : leisure garden
			define
				fill-color : #CFECA8
		elseif : cmentarz
			define
				fill-color : #A9CAAE
				border-style:solid
				shape:custom
				shape-def: f:none;p:black;m:-3,-1;l:-3,1;l:-1,1;l:-1,3;l:1,3;l:1,1;l:3,1;l:3,-1;l:1,-1;l:1,-7;l:-1,-7;l:-1,-1;z
				shape-size:12:10;15:60;18:100
			draw:text
			draw:shape
		elseif : budynek
			define
				fill-color : #BCA9A9
		elseif : leisure pitch
			define
				fill-color : #89D2AE
		elseif : leisure stadium
			define
				fill-color : #33CC99
		elseif : track
			define
				fill-color : #74DCBA
		elseif : village green
			define
				fill-color : #CFECA8
		elseif : landuse retail
			define
				fill-color : #F0D9D9
				line-color : #F4A19E
			draw : line
		elseif : landuse industrial
			define
				fill-color : #DFD1D6
		elseif : commercial area
			define
				fill-color : #EFC8C8
		elseif : military
			define
				fill-color : #FE9898
		elseif : krzaczory
			define
				fill-color : #8FEA8F
		elseif : bagno
			define
				fill-color : #67F2F3
		elseif : kamieniolom
			define
				fill-color : #676767
		elseif : zoo
			define
				fill-color : #2FDF7D
		elseif : pieszechody
			define
				fill-color : #C5C5C5
		elseif : aeroway*
			define
				fill-color : #E9D1FE
		elseif : glacier
			define
				fill-color : #DDECEC
				line-style : dash
				line-color : #DDECEC black 10%
		else
			stop
		draw : fill
		define
			min-zoom : 14
			text-offset-vertical:20
		draw : text

	target : adresik 
		define
			font-size : 16:8;20:16
			text: [[addr:housenumber]]
			min-zoom : 16
		draw:text
	target : piknik
		define
			icon-image:http://svn.openstreetmap.org/applications/share/map-icons/classic.small/leisure/picnic.png
			min-zoom:16
		draw:icon
	target : paliwo
		define
			icon-image:http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/fuel.p.16.png
			icon-width : 16
			min-zoom : 12
		draw:icon
		define
			font-size : 16:10;20:20
			text: operator
			text-offset-vertical:2
			min-zoom:16
		draw:text

	target:strumyk
		define
			line-width:3
			line-color:#B5D0D0
		draw:line

	target : railway
		define
			min-zoom : 13
			line-color : gray
//		for:tunnel=yes
//			define
//				line-color:red
			line-width : 2
			curved : false
		draw : line
		define
			min-zoom : 13
			line-style : dashlong
			line-color : white
			line-width : 2
			border-style : solid
			border-color : gray
			border-width : 25%
			curved : false
		draw : line
		define
			min-zoom : 6
			max-zoom : 13
			line-color : white black 30%
			line-width : 6:1;8:1;12:2
			curved : true
		draw : line
	target : tramway
		define
			min-zoom : 13
			line-color : gray
			line-width : 2
			curved : false
		draw : line
		define
			min-zoom : 13
			line-style : dashlong
			line-color : white
			line-width : 2
			border-style : solid
			border-color : gray
			border-width : 25%
			curved : false
		draw : line
		define
			min-zoom : 6
			max-zoom : 13
			line-color : white black 30%
			line-width : 6:1;8:1;12:2
			curved : true
		draw : line
	target : plot
		define
			min-zoom : 16
			line-color : black
			line-width : 1
			curved : false
		draw : line
	target : wal
		define
			min-zoom : 12
			line-color : black
			line-width : 2
			shape : custom
			shape-def : 0,-60;0,-20;60,-20;60,-40;60,-20;120,-20
			shape-size : 60
			shape-spacing: -0.5
			shape-aspect : 0.95
			curved:true
		draw : shape 
		define
			min-zoom : 12
			line-color : black
			line-width : 2
			shape : custom
			shape-def : 0,60;0,20;60,20;60,40;60,20;120,20
			shape-size : 60
			shape-spacing: -0.5
			shape-aspect : 0.95
		draw : shape 
	target : peak
		define
			shape : triangle
			shape-size : 7
			fill-color : #D08F55
			line-style : none
			min-zoom : 11
		draw : shape
		define
			text-color : #ae4242
			min-zoom : 11
//			text: name:pl;name
			font-size : 10
			text-max-width : 10
			text-offset-vertical : 1
			text-align-vertical : near
		draw : text	
		define
			text-color : #ae4242
			min-zoom : 11
			font-size : 10
			text-max-width : 10
			text:ele
			text-offset-vertical : -2
			text-align-vertical : far
		draw : text	
	target : road*
		define
			font-size : 15:7;18:10
			font-weight : bold
		for : oneway=yes or oneway=1 or oneway=true
			define 
				min-zoom : 15
				shape : custom
				shape-def : 60,0;20,-40;20,-15;-60,-15;-60,15;20,15;20,40;60,0;z
				shape-size : 12
				shape-aspect : 0.5
				shape-spacing : 6
				fill-color : #6C70D4
				line-style : none
			for : oneway=-1
				define
					angle : 180
			draw : shape 

		for: bridge=yes or bridge=true or bridge=1
			define
				border-color:black
				border-style:solid
//				border-width: 400%
				line-width:10:3;19:20
		
			draw:line
		define
			line-join : round
			line-start-cap : round
			line-end-cap : round
			line-style:solid
			curved : true
		if : *motorway*
			if :*link
				define
					line-width : 7:1;12:3;13:4;16:5;18:6
					border-style : solid
			elseif: *construction
				define
					line-width : 7:1;12:3;13:4;16:5;18:6
					line-style : dashlong
					line-color : #FF9BBD
					border-style: none
			else
				define
					line-width : 7:1;9:2;12:5;13:7;16:10;18:12
					border-style : solid
			define
				min-zoom : 12
				line-color : #849BBD
				border-color : #849BBD black 20%
				border-width : 15%
			draw : line
			define
				min-zoom : 7
				max-zoom : 12
				border-style : none
			draw : line
		elseif : road rower
			define	
//				topmost-layer: true
				min-zoom : 9
				line-color : #CDF0AC
				line-width : 6
				line-style : dash
				border-style : solid
				border-color : white
				border-width : 100%
				border-opacity : 0.3
				curved : false
			draw : line

		elseif : road green
			define	
				min-zoom : 9
				line-offset : 12.9:2;13:3
				line-offset-sides : left
				line-color : #00FF00
				line-width : 3
				line-style : dash
				border-style : solid
				border-color : white
				border-width : 0%
				border-opacity : 0.3
				curved : false
			draw : line
		elseif : road black
			define	
				min-zoom : 9
				line-color : #000000
				line-width : 3
				line-style : dash
				border-style : solid
				border-color : white
				border-width : 0%
				border-opacity : 0.3
				curved : false
			draw : line
		elseif : road red
			define	
				min-zoom : 9
				line-color : #FF0000
				line-width : 3
				line-style : dash
				line-offset : 11:2;13:3
				line-offset-sides : left
				border-style : solid
				border-color : white
				border-width : 0%
				border-opacity : 0
				curved : false
			draw : line
		elseif : road blue
			define	
				min-zoom : 9
				line-color : #0000FF
				line-width : 3
				line-style : dash
				line-offset : 12.9:4;13:5
				line-offset-sides : right
				border-style : solid
				border-color : white
				border-width : 0%
				border-opacity : 0
				curved : false
			draw : line
		elseif : road yellow
			define	
				min-zoom : 9
				line-color : #DFDF00
				line-width : 3
				line-style : dash
				line-offset : 12.9:1;13:2
				line-offset-sides : right
				border-style : solid
				border-color : white
				border-width : 0%
				border-opacity : 0
				curved : false
			draw : line
		elseif : road niemoje
			define	
				min-zoom : 9
				line-color : #F6D4D4
				line-width : 3
				line-style : dash
				border-style : solid
				border-color : white
				border-width : 100%
				border-opacity : 0.3
				curved : false
			draw : line
		elseif : *trunk*
			if : *link
				define
					line-width : 7:1;12:3;13:4;16:5;18:6
					border-style : solid
					border-color : #96D296 black 20%
					border-width : 15%
			elseif: *construction
				define
					line-width : 7:1;12:3;13:4;16:5;18:6
					line-style:dashlong
			else
				define
					line-width : 7:1;12:4;13:6;16:8;18:10
					border-style : solid
					border-color : #96D296 black 20%
					border-width : 15%
			define
				min-zoom : 12
				line-color : #96D296
			draw : line
			define
				min-zoom : 7
				max-zoom : 12
				border-style : none
			draw : line
		elseif : *primary*
			if : *construction
				define
					line-width : 7:1;9:1.5;10:2;12:5;13:7;16:10;18:12
					line-style:dashlong
					line-color : #ECA2A3
				draw:line
			elseif: *
				define
					min-zoom : 11
					line-color : #ECA2A3
					line-width : 7:1;9:1.5;10:2;12:5;13:7;16:10;18:12
					border-style : solid
					line-style:solid
					font-size : 10:12;18:20
					border-color : #ECA2A3 black 20%
					border-width : 15%
				draw : line
				draw : text
			define
				min-zoom : 7
//				max-zoom : 11
				border-style : none
			draw : line
		elseif : *secondary
			if : *construction
				define
					line-width : 7:1;9:1.5;10:2;12:5;13:7;16:10;18:12
					line-style:dashlong
					line-color : #FDCC8B
				draw:line
			elseif :*
				define
					min-zoom : 12
					line-color : #FDCC8B
					line-width : 7:1;9:1.5;10:2;12:4;13:5;16:8;18:10
					font-size : 10:12;18:20
					border-style : solid
					border-color : #FDCC8B black 20%
					border-width : 15%
			draw : line
			draw : text
			define
				min-zoom : 8.5
				max-zoom : 12
				border-style : none
			draw : line
		elseif : *tertiary
			define
				min-zoom : 9
				line-color : #FEFEB2
				line-width : 7:1;12:1.5;13:5;16:8;18:10
				border-style : solid
				font-size : 10:12;18:20
				border-color : #FEFEB2 black 20%
				border-width : 15%
			draw : line
			draw : text
		elseif : $regex("(.*residential)|(.*unclassified)")
			define
				min-zoom : 13
				line-color : white
				line-width : 11:1;13:2;15:10;18:12
				border-style : solid
				border-color : white black 50%
				border-width : 20%
				curved:false
			draw : line
			define
				min-zoom : 10
				max-zoom : 13
				border-style : none
				line-color : white black 35%
			draw : line
			define
				min-zoom : 10
				max-zoom : 20
				font-size : 10:12;18:20
			draw : text
		elseif : *konska
			define
				min-zoom : 12.5
				line-color : #00AA00
				line-width : 1.5
				line-style : dash
				border-style : solid
				border-color : white
				border-width : 100%
				border-opacity : 0.3
			draw : line
		elseif : *track
			define
				min-zoom : 12.5
				line-color : #9D7517
				line-width : 1.5
				line-style : dash
				border-style : solid
				border-color : white
				border-width : 100%
				border-opacity : 0.3
			draw : line
		elseif : *pieszo
			define
				min-zoom : 10
				line-color : #C5C5C5
				line-width : 3
				line-style : solid
				border-style : solid
				border-color : #C5C5C5
				border-width : 100%
				border-opacity : 0.3
				curved:false
			draw : line
		elseif : *schody
			define
				min-zoom : 16
				shape : custom
				shape-def : -5,-1;5,-1;5,1;-5,1;-5,-1;z
				shape-spacing : 0.1
				shape-size : 4
				shape-aspect : 0.05
				angle : 90
				line-color : #F98072
			draw : shape
//			draw : line
		elseif : *footway
			define	
				min-zoom : 13
				line-color : #F68474
				line-width : 1.5
				line-style : dot
				border-style : solid
				border-color : white
				border-width : 100%
				border-opacity : 0.3
				curved : false
			draw : line
		elseif : *cycleway
			define	
				min-zoom : 13
				line-color : #8474F6
				line-width : 1.5
				line-style : dot
				border-style : solid
				border-color : white
				border-width : 100%
				border-opacity : 0.3
				curved : false
			draw : line
		elseif :*path
			define	
				min-zoom : 13
				line-color : #000000
				line-width : 2
				line-style : dot
				border-style : solid
				border-color : white
				border-width : 1%
				border-opacity : 0.3
				curved : false
			draw : line

		else
			stop
	target : historic citywalls
		define
			min-zoom : 13
			line-color : #8D968D
			line-width : 7:0.6;9:1;10:1.2;12:2.5;13:3;16:10
		draw : line
		draw : text
	target : boundary*
		define
			line-color : #9E1A99 
//			line-color : #FF0000
			line-opacity : 0.5
		if : boundary country
			define
				line-width : 6:1;9:3;10:6
		elseif : boundary province
			define
				min-zoom : 4
				line-width : 4:1;11:3
				line-style : dash
		elseif : boundary municipal
			define
				min-zoom : 12
				line-width : 12:1;14:2
				line-style : dash
		draw : line

	target : river
		define
			line-color : #B5D0D0
			line-width : 7:2;8:4
		draw : line
		
	target: parking
		define
			icon-image : http://wiki.openstreetmap.org/images/9/9a/Parking20.png
			min-zoom : 15
			icon-width : 16
		draw : icon
	target:zamek
		define
			min-zoom : 10
			shape : custom
			shape-def : m:-50,-50;l:50,-50;l:50,0;l:0,0;l:0,50;l:-50,50;l:-50,-50;z
			shape-size : 10:6;18:30
			shape-aspect : 0.7
			font-size:12:13;18:20
			text-offset-vertical:20
		for :ruins=yes
			define	
				shape-def : p:red;m:-50,-50;l:50,-50;l:50,0;l:0,0;l:0,50;l:-50,50;l:-50,-50;z
		draw : shape
		draw: text	

	target: jaskinia
		define
			min-zoom : 15
			shape : custom
			shape-def : p:black;f:none;ps:solid;pw:2;m:-50,-10;l:50,-10;l:40,-0;l:30,7;l:20,13;l:10,17;l:0,19;l:-10,17;l:-20,13;l:-30,7;l:-40,0;l:-50,-10;z
			fill-opacity:1
			fill-color:white
			shape-size : 30
			shape-aspect : 1
			text-offset-vertical:2.3
		draw : shape
		draw: text

	target: atrakcja
		define
			font-size:14:10;20:20
			min-zoom : 14
		draw : text
	target: skala
		define
			font-size:14:10;20:20
			text-offset-vertical:14:15;18:25
			shape :custom
			shape-def : p:black;f:#C1875C;ps:solid;pw:2;m:54,-37;l:-54,-37;l:-40,-30;l:-44,-14;l:-29,-7;l:-24,-18;l:-21,-21;l:-7,-10;l:-4,-2;l:-12,25;l:-13,46;l:1,56;l:18,48;l:21,32;l:28,12;l:36,7;l:37,-8;l:54,-37;z;
//			shape-def: p:black;f:#C1875C;ps:solid;pw:2;m:0,0;l:2,0;l:2,2;l:0,2;l:0,0;a:2,2,4,0;l:5,1
			fill-opacity:1
			fill-color:white
			shape-size : 14:20;18:30
			min-zoom : 16
		draw : text
		draw: shape
	target: lawka
		define
			min-zoom:16
			shape:custom
			shape-def : p:black;f:none;ps:solid;pw:2;m:-50,-50;l:-50,0;m:-70,0;l:70,0;m:50,-50;l:50,0;z
			fill-opacity:1
			fill-color:white
		draw:shape
	target: widok
		define
			icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/view_point.p.16.png
			min-zoom : 9
			icon-width : 16
			text: ele
		draw : icon
	target: schronisko
		define
			font-size:12
			min-zoom:18
			text-offset-horizontal:5
		draw : text
		define
			icon-image :http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/alpinehut.p.16.png
			min-zoom : 13
			icon-width : 16
		draw:icon
	target:schron
		define
			icon-image : http://www.sjjb.co.uk/mapicons/png/accommodation_shelter.glow.32.png
			min-zoom:14
			icon-width:32
		draw:icon
	target: contour*
		define
			line-color : #7f3300
			line-opacity : 0.5
			curved : true
		if : *major
			define
				min-zoom : 9
				line-width : 9:1;10.9:1;11:2
		elseif : *minor
			define
				min-zoom : 11
				line-width : 1
		elseif : *male
			define 
				min-zoom :12
				line-width :1
				line-style : dash
		draw : contour
		
	target: coastline
		define
			line-color : #B5D0D0
			line-width : 2
		draw : line
		draw : icon
		
	target: parking
		define
			icon-image : icons/SJJB/png/transport_parking.n.32.png
			min-zoom : 15
			icon-width : 16
		draw : icon
	target: bus stop
		define
			icon-image : icons/SJJB/png/transport_bus_stop.n.32.png
			min-zoom : 15
			icon-width : 16
		draw : icon
	target: postbox
		define
			icon-image : icons/SJJB/png/amenity_post_box.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
		define
			min-zoom : 17
			text : collection_times
		draw : text

	target: postoffice
		define
			icon-image : icons/SJJB/png/amenity_post_office.p.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: telephone
		define
			icon-image : icons/SJJB/png/amenity_telephone.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon

	target: fire station
		define
			icon-image : icons/SJJB/png/amenity_firestation.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon				
	target: hospital
		define
			icon-image : icons/SJJB/png/health_hospital.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: police station
		define
			icon-image : icons/SJJB/png/amenity_police.n.32
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: cafe
		define
			icon-image : icons/SJJB/png/food_cafe.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: recycling
		define
			icon-image : icons/SJJB/png/amenity_recycling.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: supermarket
		define
			icon-image : icons/SJJB/png/shopping_supermarket.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: diy
		define
			icon-image : icons/SJJB/png/shopping_diy.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: convenience
		define
			icon-image : icons/SJJB/png/shopping_convenience.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon

	target: mini roundabout
		define
			icon-image : icons/SJJB/png/transport_roundabout_anticlockwise.p.32.png
			min-zoom : 16
			icon-width : 9
		draw : icon
	target: church
		define
			icon-image : icons/SJJB/png/place_of_worship_christian3.glow.32.png
			min-zoom : 16
			icon-width : 16
			font-size:16:10;20:15
			text-offset-vertical:16:2;20:4
		draw : text
		draw : icon
	target: drinking water
		define
			icon-image : icons/SJJB/png/food_drinkingtap.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: bank
		define
			icon-image : icons/SJJB/png/money_bank2.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: atm
		define
			icon-image : icons/SJJB/png/money_atm2.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: restaurant
		define
			icon-image : icons/SJJB/png/food_restaurant.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: hair dresser
		define
			icon-image : icons/SJJB/png/shopping_hairdresser.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon

	target: toilets
		define
			icon-image : icons/SJJB/png/amenity_toilets.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: pharmacy
		define
			icon-image : icons/SJJB/png/health_pharmacy.p.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: library
		define
			icon-image : icons/SJJB/png/amenity_library.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: bakery
		define
			icon-image : icons/SJJB/png/shopping_bakery.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: tree
		define
			icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/tree2.png
			min-zoom : 16
			icon-width : 6
		draw : icon
	target: memorial
		define
			icon-image : icons/SJJB/png/tourist_memorial.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
	target: school
		define
			icon-image : icons/SJJB/png/education_school.n.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon
		draw : text
	target : puffin
		define
			icon-image : icons/SJJB/png/transport_traffic_lights.p.32.png
			min-zoom : 16
			icon-width : 16
		draw : icon

	target : gate
		define
			icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/gate2.png
			min-zoom : 16
			icon-width : 7
		draw : icon

	target: stacyjka
		define
			font-size : 12:14;20:20
			text-offset-vertical:5
			min-zoom : 12
			shape : custom
			fill-color:white
			shape-mode:linear
			shape-orientation:flow
			shape-def : p:black;ps:solid;m:-1,1;1,1;1,-1;-1,-1;-1,1;z
			shape-size : 10:6;13:10;18:60
			shape-aspect : 0.3
		draw : shape
		draw:text
	target : place*
		define
			font-weight : bold
	
		if : *city
			define
				font-size : 6:15;14:30
				min-zoom : 6
				max-zoom : 14
		elseif : *town
			define
				font-size : 9:12;20:30
				min-zoom : 9
		elseif : *suburb
			define
				font-size : 13:20;20:30
				min-zoom : 13
				text-color : white black 50%
		elseif : *village
			define
				font-size : 12:12;20:20
				min-zoom : 12
		elseif : *hamlet
			define
				font-size : 14:8;20:16
				min-zoom : 14
		elseif : *uni
			define
				font-size : 17:8;20:12
				min-zoom : 17
//		elseif : *stacyjka
//			define
//				font-size : 12:10;20:12
//				text-offset-vertical:2
//				min-zoom : 12
		elseif : *wodopoj
			define
				font-size : 17:8;20:12
				min-zoom : 17
				icon-image : http://svn.openstreetmap.org/applications/rendering/mapnik/symbols/pub.p.16.png
//				vertical-align: -1
			draw:icon
		draw : text


	target: kosz
		define
			min-zoom:16
			shape:custom
			shape-def : p:black;f:none;ps:solid;pw:2;m:-50,50;l:-30,-50;l:30,-50;l:50,50;z;
			shape-size:16:10;20:30
			fill-opacity:1
			fill-color:white
		draw:shape

	target: informacja
		define
			min-zoom:16
			shape:custom
			shape-def : p:black;f:none;ps:solid;pw:2;m:-1,-1;l:-1,1;l:1,1;l:1,0;l:-1,0;m:1,0;l:1,-1;z;
			shape-size:16:10;20:30
			fill-opacity:1
			fill-color:white
		draw:shape
	target: drogowskaz
		define
			min-zoom:16
			shape:custom
			shape-def : p:black;f:black;ps:solid;pw:2;m:0,-10;l:0,10;l:5,10;l:10,8;l:5,6;l:-5,6;l:-10,8;l:-5,10;l:0,10;z;
			shape-size:16:10;20:30
			fill-opacity:1
			fill-color:white
		draw:shape