rec:MultiPolygon leaf node


URI

https://w3id.org/rec#MultiPolygon

Label

Multi polygon

Superclasses (2)

Targets (1)

Property Constraints (1)

Focus nodes of this shape (rec:MultiPolygon) can have the following properties:

PROPERTY DESCRIPTION MIN MAX VALUE TYPE OTHER CONSTRAINTS
rec:coordinates coordinates
A GeoJSON MultiPolygon coordinate listing. Coordinates may be expressed in two or three dimensions. Ex: [[[[30.0, 20.0], [45.0, 40.0], [10.0, 40.0], [30.0, 20.0]]], [[[15.0, 5.0], [40.0, 10.0], [10.0, 20.0], [5.0, 10.0], [15.0, 5.0]]]].
0 1 https://geojson.org/MultiPolygon

Implementation

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rec: <https://w3id.org/rec#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

rec:MultiPolygon a rdfs:Class,
        sh:NodeShape ;
    rdfs:label "Multi polygon"^^xsd:string ;
    rdfs:subClassOf rec:Geometry ;
    sh:property [ a sh:PropertyShape ;
            sh:datatype <https://geojson.org/MultiPolygon> ;
            sh:description "A GeoJSON MultiPolygon coordinate listing. Coordinates may be expressed in two or three dimensions. Ex: [[[[30.0, 20.0], [45.0, 40.0], [10.0, 40.0], [30.0, 20.0]]], [[[15.0, 5.0], [40.0, 10.0], [10.0, 20.0], [5.0, 10.0], [15.0, 5.0]]]]."^^xsd:string ;
            sh:maxCount 1 ;
            sh:name "coordinates"^^xsd:string ;
            sh:path rec:coordinates ] .