Skip to content

Commit

Permalink
Change spatial fields into subfields
Browse files Browse the repository at this point in the history
As decided by the data provider telephone conference the extended
spatial fields should become subfields of the spatial field.

Signed-off-by: Konrad Reiche <[email protected]>
  • Loading branch information
Konrad Reiche committed Dec 6, 2013
1 parent e4f1b2a commit 361b861
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
27 changes: 15 additions & 12 deletions OGPD_JSON_Schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,21 @@
"type": "number"
}
}
},
"ags": {
"description": "Geographische Abdeckung durch den Amtlichen Gemeindeschlüssel (AGS)",
"type": "string",
"pattern": "^[0-9 ]*$"
},
"nuts": {
"description": "Geographische Abdeckung durch NUTS-Code",
"type": "string",
"pattern": "^[A-Z]{2}[0-9A-Z]{0,3}$"
},
"uri": {
"description": "Linked Data Ressource die per URI identifiziert ist und der geographischen Abdeckung entspricht.",
"type": "string",
"format": "uri"
}
}
},
Expand All @@ -256,18 +271,6 @@
"description": "Abdeckung als Text: Abgedecktes Gebiets, wenn möglich der Amtliche Gemeindeschlüssel. Wird später für eine geographische Suche verwendet.",
"type": "string"
},
"spatial-code": {
"required": false,
"description": "Abdeckung als Codierung: Abgedecktes Gebiet durch NUTS-Code und optionalem Amtlichen Gemeindeschlüssel getrennt durch einen Schrägstrich.",
"type": "string",
"pattern": "^[A-Z]{2}[0-9A-Z]{0,3}(/.*)?$"
},
"spatial-uri": {
"required": false,
"description": "Linked Data Ressource die per URI identifiziert ist und der geographischen Abdeckung entspricht.",
"type": "string",
"format": "uri"
},
"geographical_granularity": {
"required": false,
"description": "Räumliche Auflösung: Die geographische Granularität des Datensatzes, eines Dokuments, einer App. Wird später zum Filtern verwendet.",
Expand Down
7 changes: 4 additions & 3 deletions beispiele/beispiel1.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,12 @@
15.02,
47.16
]
]
],
"ags": "12064",
"nuts": "DE413",
"uri": "https://dbpedia.org/resource/Landkreis_M%C3%A4rkisch-Oderland"
},
"spatial-text": "Märkisch-Oderland 12 0 64",
"spatial-code": "DE413/12064",
"spatial-uri": "https://dbpedia.org/resource/Landkreis_M%C3%A4rkisch-Oderland",
"geographically_granularity": "land",
"temporal_coverage_from" : "2013-02-25T20:56:16",
"temporal_coverage_to" : "2013-05-25T00:00:00",
Expand Down

0 comments on commit 361b861

Please sign in to comment.