Architecture overview REST API Overview

Copyright © 2015 Open Geospatial Consortium. 83 information TSV, SPARQL- RESULTS XML and JSON

12.2.3 Endpoint: symbolsets

Description: Returns the collection symbol sets available in the service

12.2.3.1 Request

HTTP Method: Get No parameters are supported by the request.

12.2.3.2 Response

The response returns Linked Data representation of the symbol sets according the Symbology ontology in TTL, RDFXML, N3 and JSON-LD.

12.2.3.3 Example

The following endpoint http:ows.usersmarts.comportrayalapisymbolsets returns all the symbol sets available in the service. In this case two symbol sets are returned HSWG and EMS with references to all the symbols they contain. prefix rdfs: http:www.w3.org200001rdf-schema . prefix symbol: http:www.opengis.netontportrayalsymbol . prefix dct: http:purl.orgdcterms . prefix skos: http:www.w3.org200402skoscore . http:www.opengis.nettestbed11cciemssymbolsEMSSymbolSet a symbol:SymbolSet ; dct:description Standard Canadian Emergency Mapping Symbology EMS SymbolSet version 1.0 ; dct:title Canadian Emergency Mapping Symbology EMS SymbolSet version 1.0 ; symbol:hasSymbol http:www.opengis.nettestbed11cciemssymbolsems.incident.airQual ity-symbol , http:www.opengis.nettestbed11cciemssymbolsems.incident.animalH ealth-symbol , http:www.opengis.nettestbed11cciemssymbolsems.incident.animalH ealth.animalDieOff-symbol ,truncated symbol:specification https:cms.masas- x.ca.s3.amazonaws.comEMS_Symbology_v1.0.pdf . http:www.opengis.nettestbed11ccihswgsymbolsHSWGSymbolSet 84 Copyright © 2015 Open Geospatial Consortium. a symbol:SymbolSet ; dct:description Home Security Working Group HSWG SymbolSet version 1.0 ; dct:title HSWG SymbolSet version 1.0 ; symbol:hasSymbol http:www.opengis.nettestbed11ccihswgsymbolsAirAccidentSymbol, http:www.opengis.nettestbed11ccihswgsymbolsAirHijackingSymbol ,http:www.opengis.nettestbed11ccihswgsymbolsAirIncidentSymbol truncated symbol:specification http:www.fgdc.govHSWGref_pagesIncidents_ref.htm .

12.2.4 Endpoint: symbols

Description: Returns the collection symbols available in the service based on the parameters of the query. The symbols can be filtered by symbol sets or by given a list of symbols URI explicitly. The response is returned as Linked Data according the Symbology ontology.

12.2.4.1 Request

HTTP Method: GET Table 32 summarizes the query parameters for this endpoint. Table 32 Query Parameters of the symbols endpoint Name Definition Type Multiplicity symbolSetURI The URI of the symbol sets from which the symbols are members URI encoded 0..1 uri URI of the symbol to fetch URI encoded 0..n

12.2.4.2 Response

The response returns Linked Data representation of the symbols according the Symbology ontology in TTL, RDFXML, N3 and JSON-LD.

12.2.4.3 Examples

The following endpoint http:ows.usersmarts.comportrayalapisymbols gives the list of all symbols available within the service HSWG and EMS in this testbed. To get the symbols for EMS symbolSet, the request looks like: