-
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.
Merge pull request #268 from PDOK/PDOK-17398/null-geometry-3
feat: support null and empty geometries
- Loading branch information
Showing
13 changed files
with
405 additions
and
34 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
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
Empty file.
Binary file added
BIN
+176 KB
internal/ogc/features/datasources/geopackage/testdata/null-empty-geoms.gpkg
Binary file not shown.
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
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
35 changes: 35 additions & 0 deletions
35
internal/ogc/features/testdata/config_features_geom_null_empty.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,35 @@ | ||
--- | ||
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/null-empty-geoms.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: Foooo | ||
- id: bar | ||
tableName: ligplaatsen | ||
metadata: | ||
title: Barrr | ||
description: Barrr | ||
tableName: ligplaatsen | ||
- id: baz |
Oops, something went wrong.