Skip to content

Commit

Permalink
Fix spatialRepresentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblcc committed Mar 15, 2017
1 parent 27ce48c commit 1833df8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
11 changes: 7 additions & 4 deletions examples/spatialRepresentation.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[{
"type": "grid",
"gridRepresentation": {
"dimension": [{
"dimensionType": "dimensionType",
Expand All @@ -13,7 +12,6 @@
"transformationParameterAvailable": true
}
}, {
"type": "vector",
"vectorRepresentation": {
"topologyLevel": "topologyLevel",
"vectorObject": [{
Expand All @@ -22,9 +20,15 @@
}]
}
}, {
"type": "georectified",
"georectifiedRepresentation": {
"gridRepresentation": {
"dimension": [{
"dimensionType": "dimensionType",
"dimensionSize": 9
}, {
"dimensionType": "dimensionType",
"dimensionSize": 9
}],
"numberOfDimensions": 9,
"cellGeometry": "cellGeometry",
"transformationParameterAvailable": true
Expand All @@ -39,7 +43,6 @@
"pointInPixel": "pointInPixel"
}
}, {
"type": "georeferenceable",
"georeferenceableRepresentation": {
"gridRepresentation": {
"dimension": [{
Expand Down
8 changes: 2 additions & 6 deletions schema/spatialRepresentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"required": ["vectorRepresentation"],
"additionalProperties": true,
"properties": {
"gridRepresentation": {
"vectorRepresentation": {
"$ref": "./vectorRepresentation.json#"
}
}
Expand All @@ -38,7 +38,7 @@
"required": ["georectifiedRepresentation"],
"additionalProperties": true,
"properties": {
"gridRepresentation": {
"georectifiedRepresentation": {
"$ref": "./georectifiedRepresentation.json#"
}
}
Expand All @@ -50,10 +50,6 @@
"required": ["georeferenceableRepresentation"],
"additionalProperties": true,
"properties": {
"type": {
"type": "string",
"enum": ["georeferenceable"]
},
"georeferenceableRepresentation": {
"$ref": "./georeferenceableRepresentation.json#"
}
Expand Down

0 comments on commit 1833df8

Please sign in to comment.