Publication Date: 2017-06-30

Approval Date: 2017-06-29

Posted Date: 2016-11-27

Reference number of this document: OGC 16-144

Reference URL for this document: http://www.opengis.net/doc/PER/t12-A033

Category: User Guide

Editor: Stephane Fellah

Title: [big]#2D Test Dataset Symbols and Styles User Guide


COPYRIGHT

Copyright Ā© 2017 Open Geospatial Consortium. To obtain additional rights of use, visit http://www.opengeospatial.org/

Important

Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. The Open Geospatial Consortium shall not be held responsible for identifying any or all such patent rights. Recipients of this document are requested to submit, with their comments, notification of any relevant patent claims or other intellectual property rights of which they may be aware that might be infringed by any implementation of the standard set forth in this document, and to provide supporting documentation.

Note

This document is a user guide created as a deliverable in the OGC Innovation Program (formerly OGC Interoperability Program) as a user guide to the work of that initiative and is not an official position of the OGC membership. There may be additional valid approaches beyond what is described in this user guide.


POINTS OF CONTACT

Name

Organization

Stephane Fellah (Editor)

Image Matters LLC


1. Introduction

This User Guide describes the 2D Datasets Symbols and Styles associated with the OpenStreet Map (OSM) Dataset produced for the OGC Testbed 12 as defined in Testbed-12 2D Test Dataset Implementation with Documentation (OGC 16-136). The datasets are composed of 11 features types. Two style sets were produced to present these feature types:

  • OpenStreetMap Style Set: This Style set is based on the style used by the OSM web site that uses the Mapnik CSS styles.

  • LTDS Style Set: This style set is based on on the symbologies defined for the Local Topographic Data Store (LTDS).

The style sets were encoded using the standard Style Layer Description (SLD) specification. One SLD file was produced per feature type. Each FeatureType Style defines rules to portray a given feature type with different symbolizers. The following sections describes each style set in details.

2. References

The following documents are referenced in this document. For dated references, subsequent amendments to, or revisions of, any of these publications do not apply. For undated references, the latest edition of the normative document referred to applies.

  • OGC 16-136, Testbed-12 2D Test Dataset Implementation with Documentation

  • OGC 05-078r4, OpenGIS Styled Layer Descriptor Profile of the Web Map Service Implementation Specification, Version 1.1.0, 2006

  • OGC 05-077r4, OpenGISĀ® Symbology Encoding Implementation Specification, Version 1.1.0, 2006.

3. OpenStreetMap Style Set

3.1. Overview

The OpenStreetMap (OSM) Style Set is based the symbology defined by Mapnik at https://github.com/openstreetmap/mapnik-stylesheets/tree/master/symbols. It provides ten SLD documents for the following OSM feature types and styles.

Feature Type Style SLD Filename

osm:Aeroway

  • Aerodromes

  • Airports

  • Helipad

  • Terminal

  • Apron

AerowayOSM.xml

osm:Building

  • General Building

BuildingOSM.xml

osm:Emergeny

  • Operation Area and Shelters

EmergencyOSM.xml

osm:Highway

  • Motorway and Trunks

  • Motorway Links

  • Trunk/Trunk Links

  • Residential and Unclassified Highways

  • Traffic Signals

  • Bus Stops

  • Highway Services and Rest Areas

  • Secondary Roads and Secondary Links

HighwayOSM.xml

osm:Landuse

  • Military

  • Quarries

  • Vineyards

  • Orchards

  • Industrial Zones

  • Reservoirs

  • Cemeteries and Graveyards

  • Residentials Zones

  • Meadows/Grass

  • Allotments

  • Forest

  • Farmyards

  • Farms and Farmlands

  • Recreation Grounds and Conservations

  • Retail

  • Commercial

  • Village Green

  • Landfills and Construction Areas

  • Wood

  • Basin

  • Water

LanduseOSM.xml

osm:Leisure

  • Playgrounds

  • Sports Centre and Stadium

  • Swimming Pools

  • Gardens

  • Golf Courses

  • Nature Reserves

  • National Parks

  • Park and Recreation Grounds

LeisureOSM.xml

osm:Military

  • Barracks

  • Danger Areas

MilitaryOSM.xml

osm:Power

  • Power Station and Generators

  • Power Substations

PowerOSM.xml

osm:Railway

  • Rails

  • Trams, light rails, subway, narrow gauges, and funiculars

  • Unused Railroads

  • Subways

PowerOSM.xml

osm:Waterway

  • Dock, Drains, Canals

  • Lakes, Water Areas, Reservoirs, Riverbanks, and Bays

  • Dans

WaterwayOSM.xml

The following section describes the specification of the styles associated for each feature type.

3.2. Features

3.2.1. Aeroway Feature Styles

The Aeroway Feature Styles are defined in the file AerowayOSM.xml

Layer

AerowayLayer

FeatureType Name

osm:Aeroway

Definition

Feature used to mark airports and all that goes with it.

Depiction

Diagram
Aerodromes
Portrayal Rule 1

FeatureType Name

osm:Aeroway

Condition

aeroway ='aerodrome'

minScaleDenonimator

40000

maxScaleDenominator

750000

Definition

An aerodrome other than heliport

Feature Depiction

Diagram

Symbol depiction

aerodrome.p.16

Symbolizer specification

icon

/symbols/aerodrome.p.16.png

SLD Encoding

<se:PointSymbolizer>
	<se:Graphic>
		<se:ExternalGraphic>
			<se:OnlineResource xlink:href="/symbols/aerodrome.p.16.png" xlink:type="simple"/>
			<se:Format>image/png</se:Format>
		</se:ExternalGraphic>
	</se:Graphic>
</se:PointSymbolizer>
Portrayal Rule 2

FeatureType Name

osm:Aeroway

Condition

aeroway ='aerodrome'

minScaleDenonimator

0

maxScaleDenominator

20000

Definition

An aerodrome other than heliport

Feature Depiction

Diagram

Symbol depiction

Symbolizer specification

fill-opacity

0.2

fill

#cccccc

stroke-width

0.2

stroke

#555555

SLD Encoding

<se:PolygonSymbolizer>
	<se:Fill>
		<se:SvgParameter name="fill-opacity">0.2</se:SvgParameter>
		<se:SvgParameter name="fill">#cccccc</se:SvgParameter>
	</se:Fill>
</se:PolygonSymbolizer>
<se:LineSymbolizer>
	<se:Stroke>
		<se:SvgParameter name="stroke-width">0.2</se:SvgParameter>
		<se:SvgParameter name="stroke">#555555</se:SvgParameter>
	</se:Stroke>
</se:LineSymbolizer>
Airports
Portrayal Rule 1

FeatureType Name

osm:Aeroway

Condition

aeroway ='aerodrome'

minScaleDenonimator

40000

maxScaleDenominator

750000

Definition

An aerodrome other than heliport

Feature Depiction

Diagram

Symbol depiction

airport.p.16

Symbolizer specification

icon

/symbols/airport.p.16.png

SLD Encoding

<se:PointSymbolizer>
	<se:Graphic>
		<se:ExternalGraphic>
			<se:OnlineResource xlink:href="/symbols/airport.p.16.png" xlink:type="simple"/>
			<se:Format>image/png</se:Format>
		</se:ExternalGraphic>
	</se:Graphic>
</se:PointSymbolizer>
Helipad

FeatureType Name

osm:Aeroway

Condition

aeroway ='helipad'

minScaleDenonimator

5000

maxScaleDenominator

750000

Definition

A place where helicopters can land.

Feature Depiction

Diagram

Symbol depiction

helipad.p.16

Symbolizer specification

icon

/symbols/helipad.p.16.png

SLD Encoding

<se:PointSymbolizer>
	<se:Graphic>
		<se:ExternalGraphic>
			<se:OnlineResource xlink:href="/symbols/helipad.p.16.png" xlink:type="simple"/>
			<se:Format>image/png</se:Format>
		</se:ExternalGraphic>
	</se:Graphic>
</se:PointSymbolizer>
Terminal
Portrayal Rule 1

FeatureType Name

osm:Aeroway

Condition

aeroway ='terminal'

maxScaleDenominator

200000

Definition

A place where helicopters can land.

Feature Depiction

Diagram

Symbol depiction

Symbolizer specification

Fill

#cc99ff

SLD Encoding

<se:PolygonSymbolizer>
	<se:Fill>
		<se:SvgParameter name="fill">#cc99ff</se:SvgParameter>
	</se:Fill>
</se:PolygonSymbolizer>
Portrayal Rule 2

FeatureType Name

osm:Aeroway

Condition

aeroway ='terminal'

maxScaleDenominator

100000

Definition

A place where helicopters can land.

Feature Depiction

Diagram

Symbol depiction

Symbolizer specification

stroke-width

0.2

stroke

#330066

SLD Encoding

<se:LineSymbolizer>
	<se:Stroke>
		<se:SvgParameter name="stroke-width">0.2</se:SvgParameter>
		<se:SvgParameter name="stroke">#330066</se:SvgParameter>
	</se:Stroke>
</se:LineSymbolizer>
Apron

FeatureType Name

osm:Aeroway

Condition

aeroway ='apron'

maxScaleDenominator

200000

Definition

A surfaced part of an airport where planes park.

Feature Depiction

Diagram

Symbol depiction

Symbolizer specification

fill

#e9d1ff

SLD Encoding

<se:PolygonSymbolizer>
	<se:Fill>
		<se:SvgParameter name="fill">#e9d1ff</se:SvgParameter>
	</se:Fill>
</se:PolygonSymbolizer>

3.2.2. Building Feature Styles

General Buildings

FeatureType Name

osm:Building

Condition

building ='yes'

maxScaleDenominator

25000

Definition

A surfaced part of an airport where planes park.

Feature Depiction