Skip to content

Commit

Permalink
Add Polygon element for geospatial
Browse files Browse the repository at this point in the history
  • Loading branch information
mah0001 committed Jul 9, 2024
1 parent 8ba6652 commit 9324436
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions schemas/geospatial-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,53 @@
"title": "Geographic description identifier",
"_xpath": "gmd:identificationInfo/gmd:MD_DataIdentification/gmd:extent/gmd:EX_Extent/gmd:geographicElement/EX_GeographicDescription/gmd:geographicIdentifier/gmd:MD_Identifier/gmd:code/gco:CharacterString",
"type": "string"
},
"geographicBoundingPolygon": {
"title": "Geographic Bounding Polygon",
"description": "Geographic Bounding Polygon",
"type": "object",
"properties": {
"id":{
"title": "Identifier",
"type": "string"
},
"polygon": {
"title": "Polygon",
"type": "array",
"items": {
"type": "object",
"properties": {

"ring":{
"title": "Ring boundary",
"type": "string",
"enum": ["exterior", "interior"]
},

"type":{
"title": "Type",
"type": "string",
"enum": ["Point", "LineString", "Polygon"]
},
"coordinates": {
"title": "Coordinates",
"type": "array",
"items": {
"type": "array",
"items": {
"type": "number"
}
}
}
}
}
}
}
}




}
}
},
Expand Down

0 comments on commit 9324436

Please sign in to comment.