meta
{
	title: "Surface - Data Entry";
	description: "This styling is intended for data entry of road surface tags from aerial imagery.  The style not only shows the status and value of the surface tag, but also refrains from drawing directly on the road allowing a clear view of the road surface in the imagery to allow for easier editing/checking of the surface values.";
	author: "AndrewBuck";
	version: "1.0.9_2018-03-24";
	link: "https://josm.openstreetmap.de/wiki/Styles/Surface-DataEntry";
}

/* General things. */
canvas
{
	fill-color: #000;
	default-lines: true;
	default-points: false;
}

way::*
{
	width: 2;
	major-z-index: 3.0;
	linejoin: miter;
	linecap: none;
}

area:closed
{
	fill-opacity: 0.5;
}


*::*
{
	text-halo-color: white;
	text-anchor-horizontal: center;
	text-anchor-vertical: center;
}




/* High zoom. */
node|z16-
{
	symbol-shape: circle;
	symbol-size: 4;

	symbol-fill-color: turquoise;
	symbol-fill-opacity: 0.75;

	symbol-stroke-color: black;
}

node|z16-:connection
{
	symbol-shape: circle;
	symbol-size: 7;

	symbol-fill-color: yellow;
	symbol-fill-opacity: 1.0;

	symbol-stroke-color: black;
}

way|z16-["highway"]
{
	width: 0.1;
	major-z-index: 3.5;

	left-casing-width: 2;
	right-casing-width: 2;

	left-casing-offset: 4;
	right-casing-offset: 4;
}

way|z16-[highway][!surface]
{
	left-casing-color: yellow;
	right-casing-color: yellow;

	left-casing-dashes: 8, 24;
	right-casing-dashes: 8, 24;
}

way|z16-[highway][surface=~/paved|asphalt|cobblestone|cobblestone:flattened|concrete|concrete:lanes|concrete:plates|paving_stones|paving_stones:.*/]
{
	left-casing-color: lime;
	right-casing-color: lime;
}

way|z16-[highway][surface=~/unpaved|artificial_turf|clay|compacted|dirt|earth|fine_gravel|grass|grass_paver|gravel|ground|metal|mud|pebblestone|sand|wood/]
{
	left-casing-color: lime;
	right-casing-color: lime;

	left-casing-dashes: 5, 15;
	right-casing-dashes: 5, 15;
}






/* Low zoom. */
way|z-15[highway]
{
	width: 2;
	major-z-index: 3.5;
}

way|z-15[highway][!surface]
{
	color: yellow;
}

way|z-15[highway][surface=~/paved|asphalt|cobblestone|cobblestone:flattened|concrete|concrete:lanes|concrete:plates|paving_stones|paving_stones:.*/]
{
	color: lime;
}

way|z-15[highway][surface=~/unpaved|artificial_turf|clay|compacted|dirt|earth|fine_gravel|grass|grass_paver|gravel|ground|metal|mud|pebblestone|sand|wood/]
{
	color: lime;
	dashes: 5, 15;
}

