-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e2282a
commit 8b0d0c4
Showing
4 changed files
with
77 additions
and
0 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
39 changes: 39 additions & 0 deletions
39
internal/ogc/features/testdata/config_features_bag_long_description.yaml
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
--- | ||
version: 1.0.2 | ||
title: OGC API Features | ||
abstract: Contains a slimmed-down/example version of the BAG-dataset | ||
baseUrl: http://localhost:8080 | ||
serviceIdentifier: Feats | ||
license: | ||
name: CC0 | ||
url: https://www.tldrlegal.com/license/creative-commons-cc0-1-0-universal | ||
ogcApi: | ||
features: | ||
datasources: | ||
defaultWGS84: | ||
geopackage: | ||
local: | ||
file: ./internal/ogc/features/datasources/geopackage/testdata/bag.gpkg | ||
fid: feature_id | ||
queryTimeout: 15m # pretty high to allow debugging | ||
collections: | ||
- id: foo | ||
tableName: ligplaatsen | ||
filters: | ||
properties: | ||
- name: straatnaam | ||
- name: postcode | ||
metadata: | ||
title: Foooo | ||
description: >- | ||
This description of collection Foooo is short. | ||
- id: bar | ||
tableName: ligplaatsen | ||
metadata: | ||
title: Barrr | ||
description: >- | ||
This description of collection Barrr is quite long, and as such would distract the user from the rest of the content on overview pages. | ||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec accumsan lectus id ipsum condimentum pretium. Aenean cursus et diam aliquam | ||
vestibulum. Cras at est risus. Suspendisse venenatis dignissim aliquet. Maecenas rhoncus mi vulputate mi ullamcorper tincidunt. | ||
Aliquam aliquet risus ut convallis finibus. Curabitur ut ultrices erat. Suspendisse et vehicula arcu, a lacinia ligula. Orci posuere. | ||
tableName: ligplaatsen |
6 changes: 6 additions & 0 deletions
6
internal/ogc/features/testdata/expected_bar_collection_snippet.html
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<div class="card-body"> | ||
|
||
<p>This description of collection Barrr is quite long, and as such would distract the user from the rest of the content on overview pages. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec accumsan lectus id ipsum condimentum pretium. Aenean cursus et diam aliquam vestibulum. Cras at est risus. Suspendisse venenatis dignissim aliquet. Maecenas rhoncus mi vulputate mi ullamcorper…</p> | ||
|
||
|
||
</div> |