-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #322 from pvretano/master
Update templated links to support both aware and unaware clients.
- Loading branch information
Showing
25 changed files
with
688 additions
and
614 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,23 @@ | ||
{ | ||
"id": "example-collection", | ||
"title": "Dataset and Imagery Record examples", | ||
"description": "This Collection links down to several examples of crawlable record collections of different types", | ||
"extent": | ||
"id": "example-collection", | ||
"title": "Dataset and Imagery Record examples", | ||
"description": "This Collection links down to several examples of crawlable record collections of different types", | ||
"extent": { | ||
"spatial": { | ||
"bbox": [ | ||
[ -180, -90, 180, 90 ] | ||
] | ||
} | ||
}, | ||
"itemType": "feature", | ||
"links": [ | ||
{ | ||
"spatial": | ||
{ | ||
"bbox": | ||
[ | ||
[ | ||
-180, | ||
-90, | ||
180, | ||
90 | ||
] | ||
] | ||
} | ||
"rel": "item", | ||
"href": "imagery_example/collection.json" | ||
}, | ||
"itemType": "feature", | ||
"links": | ||
[ | ||
{ | ||
"rel": "item", | ||
"href": "imagery_example/collection.json" | ||
}, | ||
{ | ||
"rel": "item", | ||
"href": "dataset_example/collection.json" | ||
} | ||
] | ||
} | ||
{ | ||
"rel": "item", | ||
"href": "dataset_example/collection.json" | ||
} | ||
] | ||
} |
144 changes: 83 additions & 61 deletions
144
core/examples/json/crawlable_catalogue/dataset_example/nz-buildings-collection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,91 @@ | ||
{ | ||
"id": "101290", | ||
"id": "101290", | ||
"type": "Feature", | ||
"geometry": { | ||
"type": "Polygon", | ||
"coordinates": [ | ||
[ | ||
[ | ||
167.325430204, | ||
-47.001329508 | ||
], | ||
[ | ||
179.413063484, | ||
-47.001329508 | ||
], | ||
[ | ||
179.413063484, | ||
-34.310623441 | ||
], | ||
[ | ||
167.325430204, | ||
-34.310623441 | ||
], | ||
[ | ||
167.325430204, | ||
-47.001329508 | ||
] | ||
] | ||
] | ||
}, | ||
"properties": { | ||
"created": "2021-08-17T00:00:00Z", | ||
"updated": "2021-08-17T00:00:00Z", | ||
"type": "dataset", | ||
"title": "New Zealand Building Outlines", | ||
"description": "This dataset provides current outlines of buildings within mainland New Zealand captured from the latest aerial imagery. A building outline is a 2D representation of the roof outline of a building which has been classified from LINZ aerial imagery using a combination of automated and manual processes to extract and refine a building roof outline. Building outlines observed in aerial imagery larger than or equal to 10 square meters are captured in this dataset, and may include structures such as garages and large sheds. **Data vintage** This dataset shows the most recent set of building outlines extracted from the LINZ aerial imagery available on the LINZ Data Service. Current coverage includes nearly all regions of New Zealand, except parts of rural Auckland, remote parts of Bay of Plenty, Tasman and the Southern Alps, as well as Fiordland, Stewart Island and the Chatham Islands. This dataset will be updated and expanded as new aerial imagery becomes available. Since aerial imagery is flown only every few years in each region of the country, building outlines only reflect those buildings observed at the date of this aerial imagery capture, and may not reflect buildings constructed after this time period. Please refer to the [NZ Building Outlines Data Dictionary](https://nz-buildings.readthedocs.io/en/latest/introduction.html) for detailed metadata and information about this dataset.", | ||
"extent": | ||
{ | ||
"spatial": | ||
{ | ||
"bbox": | ||
[ | ||
[ | ||
167.325430204, | ||
-47.001329508, | ||
179.413063484, | ||
-34.310623441 | ||
] | ||
] | ||
} | ||
}, | ||
"itemType": "feature", | ||
"keywords": | ||
[ | ||
"New Zealand", | ||
"buildings" | ||
"keywords": [ | ||
"New Zealand" | ||
], | ||
"language": "en-NZ", | ||
"publisher": | ||
{ | ||
"organizationName": "LINZ - Land Information New Zealand", | ||
"contactInfo": | ||
{ | ||
"onlineResource": | ||
{ | ||
"href": "https://data.linz.govt.nz/" | ||
}, | ||
"email": "customersupport@linz.govt.nz" | ||
"publisher": { | ||
"organizationName": "LINZ - Land Information New Zealand", | ||
"contactInfo": { | ||
"onlineResource": { | ||
"href": "https://data.linz.govt.nz/" | ||
}, | ||
"roles": [ "producer" ] | ||
"email": "customersupport@linz.govt.nz" | ||
}, | ||
"roles": [ | ||
"producer" | ||
] | ||
}, | ||
"license": "CC-BY-4.0", | ||
"links": | ||
[ | ||
{ | ||
"href": "https://www.linz.govt.nz/data/licensing-and-using-data/attributing-linz-data", | ||
"rel": "license", | ||
"type": "text/html", | ||
"title": "license" | ||
}, | ||
{ | ||
"href": "nz-buildings-record.json", | ||
"rel": "alternate", | ||
"type": "application/geo+json", | ||
"title": "OGC Record JSON of this data" | ||
}, | ||
{ | ||
"href": "https://storage.googleapis.com/open-geodata/linz-examples/nz-building-outlines.gpkg", | ||
"rel": "enclosure", | ||
"type": "application/geopackage+sqlite3", | ||
"length": 1449656320, | ||
"title": "Data as a Geopackage" | ||
}, | ||
{ | ||
"href": "./nz-building-outlines.xml", | ||
"rel": "describedby", | ||
"type": "text/xml", | ||
"title": "ISO 19115/19139 Metadata" | ||
} | ||
] | ||
"formats": [ | ||
"GeoPackage", | ||
"GeoJSONSeq", | ||
"FlatGeobuf" | ||
], | ||
"license": "CC-BY-4.0" | ||
}, | ||
"links": [ | ||
{ | ||
"href": "https://www.linz.govt.nz/data/licensing-and-using-data/attributing-linz-data", | ||
"rel": "license", | ||
"type": "text/html", | ||
"title": "license" | ||
}, | ||
{ | ||
"href": "buildings-collection.json", | ||
"rel": "alternate", | ||
"type": "application/json", | ||
"title": "OGC Collection JSON of this data", | ||
"created": "2013-01-21T00:00:00Z", | ||
"updated": "2020-04-23T00:00:00Z" | ||
}, | ||
{ | ||
"href": "https://storage.googleapis.com/open-geodata/linz-examples/nz-building-outlines.gpkg", | ||
"rel": "enclosure", | ||
"type": "application/geopackage+sqlite3", | ||
"length": 1449656320, | ||
"title": "Data as a Geopackage", | ||
"created": "2013-01-21T00:00:00Z", | ||
"updated": "2020-04-23T00:00:00Z" | ||
}, | ||
{ | ||
"href": "./nz-building-outlines.xml", | ||
"rel": "describedby", | ||
"type": "text/xml", | ||
"title": "ISO 19115/19139 Metadata" | ||
} | ||
] | ||
} |
Oops, something went wrong.