Skip to content

Commit

Permalink
Documentation for bounding box update after WFS-T
Browse files Browse the repository at this point in the history
  • Loading branch information
index-git committed May 3, 2021
1 parent 1af46d5 commit 441e5f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Rename filesystem directory containing workspaces from `users` to `workspaces`
### Changes
- [#159] (https://github.com/jirik/layman/issues/159) Bounding box is send explicitly to GeoServer for every layer.
- [#159] (https://github.com/jirik/layman/issues/159) Bounding box is updated after WFS-T request. More info in [documentation](doc/endpoints.md#web-feature-service).
- Filesystem directory containing workspaces was renamed from `users` to `workspaces`

## v1.12.0
Expand Down
4 changes: 3 additions & 1 deletion doc/endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ WMS respects [publication access rights](security.md#publication-access-rights).

The authentication proxy behaves in the same way as in case of [WMS](#web-map-service).

The WFS proxy automatically creates missing attributes in DB table before redirecting WFS-T request to GeoServer. Each missing attribute is created as `VARCHAR(1024)`. Also if QML style is used, attribute is automatically added to QGS project file. Works for WFS-T 1.0, 1.1 and 2.0 on actions Insert, Update and Replace. If creating attribute fails for any reason, warning is logged and request is forwarded to GeoServer nevertheless.
Layman parse request and adapts in few ways for WFS-T 1.0, 1.1 and 2.0:
- The WFS proxy automatically creates missing attributes in DB table before redirecting WFS-T request to GeoServer. Each missing attribute is created as `VARCHAR(1024)`. Also if QML style is used, attribute is automatically added to QGS project file on actions Insert, Update and Replace. If creating attribute fails for any reason, warning is logged and request is forwarded to GeoServer nevertheless.
- Bounding box is updated in asynchronous task after WFS-T request on actions Insert, Update and Delete.

WFS respects [publication access rights](security.md#publication-access-rights). If user asks for type (layer) he has not read access to by DescribeFeatureType or GetFeature request, GeoServer returns standard ExceptionReport (code InvalidParameterValue, locator typeName or typeNames). To perform WFS-T requests, write access is needed.

Expand Down

0 comments on commit 441e5f4

Please sign in to comment.