Geometry
A shape, as a GeoJSON geometry (RFC 7946): a point, a line, an area, or several of one kind. The first and last positions of a polygon ring are the same. GeoJSON has no curves, surfaces or solids: a shape that has them keeps its original.
https://opendevelopmentstandards.org/schema/1.0.0-rc.2/core/Geometry.json
Fields
typeRequiredOne ofPointMultiPointLineStringMultiLineStringPolygonMultiPolygonThe kind of shape.
coordinatesRequiredList ofvaluesThe positions, nested as the type needs.
crspositioningHow the positions of the shape were obtained and how accurate they are.
originalThe dataset that the shape was converted from, and what the conversion changed.
propertiesobject with any keysFree-form data about the shape.
- When
typeisPoint. - When
typeisMultiPoint. - When
typeisLineString. - When
typeisMultiLineString. - When
typeisPolygon. - When
typeisMultiPolygon.
Position
x, y, and an optional z.
Line
Two positions or more.
Ring
A closed ring: four positions or more, the last the same as the first.
Polygon
The outer ring, then any holes.
Links
Held by Records that embed this one, with their field that holds it.
- ConditionEntitygeometryA state of the surroundings over an area and a time, such as the ambient sound, the terrain, the weather or the water. Its properties come from a quantities vocabulary; which list holds it (ambient, terrain, weather or hydrology) says what sort it is.
- FeatureEntitygeometryA natural or built object with a place and properties, such as a wellsite, a dwelling or a road. As in ISO 19101. A feature where a framework judges effects is a receptor and has a receptor class.
- GroupPartgeometryFeatures that a project evaluates together as one unit, such as wellsites close to each other. A group has no sources of its own: its members carry them.
- JurisdictionEntitygeometryAn area under one legal authority, such as a country, a province or a municipality. It decides which frameworks apply to the features in it.
- PathPartgeometryA route from one place to another, with its line and the ordered events along it, such as a sound path from a source to a receptor or a plume's trajectory.
- ProjectEntitygeometryA piece of work on one or more features, with its activities and groups. It refers to its features by id; the features themselves live in context.
- PropertyPartgeometryOne fact about a record, such as a source's rotational speed, a terrain's ground type or the air temperature of a weather condition. Its
typecomes from a quantities vocabulary, which gives the unit and the valid range. - SourcePartgeometryA part of a feature that emits, such as a compressor, an engine, a stack or an outfall. As in ISO 14224:2016, levels 6 to 8. A source can hold smaller sources, such as a compressor's engine and cooler.
- StructurePartgeometryA built form, such as a building, a wall or a barrier. As in IFC (ISO 16739).
Examples
An id that another example defines opens that record.
Example 3
{
"type": "Polygon",
"coordinates": [
[
[
-113.8157,
52.2676
],
[
-113.8143,
52.2676
],
[
-113.8143,
52.2684
],
[
-113.8157,
52.2684
],
[
-113.8157,
52.2676
]
]
],
"positioning": {
"method": "surveyed",
"horizontalAccuracy": 0.05,
"confidenceLevel": 95
},
"original": {
"file": "file-site-plan",
"layer": "lease_boundary",
"feature": "17",
"geometryType": "CurvePolygon",
"crs": {
"code": "EPSG:3402"
},
"changes": [
{
"type": "curves_linearized",
"tolerance": 0.01
},
{
"type": "reprojected"
}
]
}
}Show 2 more examplesHide the other examples
Example 1
{
"type": "Polygon",
"coordinates": [
[
[
-114.08,
51.04
],
[
-114.06,
51.04
],
[
-114.06,
51.05
],
[
-114.08,
51.04
]
]
]
}Example 2
{
"type": "LineString",
"coordinates": [
[
-114.08,
51.04
],
[
-114.06,
51.05
]
],
"crs": {
"epsgCode": 4326
}
}Changes and file
Changes
- 0.1.0 First version.
Schema file
Show the JSON SchemaHide the JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://opendevelopmentstandards.org/schema/1.0.0-rc.2/core/Geometry.json",
"title": "Geometry",
"description": "A shape, as a GeoJSON geometry (RFC 7946): a point, a line, an area, or several of one kind. The first and last positions of a polygon ring are the same. GeoJSON has no curves, surfaces or solids: a shape that has them keeps its original.",
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon"
],
"description": "The kind of shape."
},
"coordinates": {
"type": "array",
"description": "The positions, nested as the type needs."
},
"crs": {
"$ref": "Crs.json"
},
"positioning": {
"$ref": "Positioning.json",
"description": "How the positions of the shape were obtained and how accurate they are."
},
"original": {
"$ref": "Original.json",
"description": "The dataset that the shape was converted from, and what the conversion changed."
},
"properties": {
"type": "object",
"x-ods-open": true,
"description": "Free-form data about the shape."
}
},
"required": [
"type",
"coordinates"
],
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "Point"
}
}
},
"then": {
"properties": {
"coordinates": {
"$ref": "#/$defs/Position"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "MultiPoint"
}
}
},
"then": {
"properties": {
"coordinates": {
"type": "array",
"items": {
"$ref": "#/$defs/Position"
}
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "LineString"
}
}
},
"then": {
"properties": {
"coordinates": {
"$ref": "#/$defs/Line"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "MultiLineString"
}
}
},
"then": {
"properties": {
"coordinates": {
"type": "array",
"items": {
"$ref": "#/$defs/Line"
}
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "Polygon"
}
}
},
"then": {
"properties": {
"coordinates": {
"$ref": "#/$defs/Polygon"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "MultiPolygon"
}
}
},
"then": {
"properties": {
"coordinates": {
"type": "array",
"items": {
"$ref": "#/$defs/Polygon"
}
}
}
}
}
],
"patternProperties": {
"^x-": {}
},
"unevaluatedProperties": false,
"$defs": {
"Position": {
"type": "array",
"minItems": 2,
"maxItems": 3,
"items": {
"type": "number"
},
"description": "x, y, and an optional z."
},
"Line": {
"type": "array",
"minItems": 2,
"items": {
"$ref": "#/$defs/Position"
},
"description": "Two positions or more."
},
"Ring": {
"type": "array",
"minItems": 4,
"items": {
"$ref": "#/$defs/Position"
},
"description": "A closed ring: four positions or more, the last the same as the first."
},
"Polygon": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/Ring"
},
"description": "The outer ring, then any holes."
}
},
"examples": [
{
"type": "Polygon",
"coordinates": [
[
[
-114.08,
51.04
],
[
-114.06,
51.04
],
[
-114.06,
51.05
],
[
-114.08,
51.04
]
]
]
},
{
"type": "LineString",
"coordinates": [
[
-114.08,
51.04
],
[
-114.06,
51.05
]
],
"crs": {
"epsgCode": 4326
}
},
{
"type": "Polygon",
"coordinates": [
[
[
-113.8157,
52.2676
],
[
-113.8143,
52.2676
],
[
-113.8143,
52.2684
],
[
-113.8157,
52.2684
],
[
-113.8157,
52.2676
]
]
],
"positioning": {
"method": "surveyed",
"horizontalAccuracy": 0.05,
"confidenceLevel": 95
},
"original": {
"file": "file-site-plan",
"layer": "lease_boundary",
"feature": "17",
"geometryType": "CurvePolygon",
"crs": {
"code": "EPSG:3402"
},
"changes": [
{
"type": "curves_linearized",
"tolerance": 0.01
},
{
"type": "reprojected"
}
]
}
}
],
"x-ods-status": "draft",
"x-ods-kind": "datatype",
"x-ods-module": "core",
"x-ods-changes": {
"0.1.0": "First version."
}
}