Permalink
Show file tree
Hide file tree
1 comment
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[Feature] Data dependencies between layers
This allows to declare data dependencies between layers. A data dependency occurs when a data modification in a layer, not by direct user manipulation may modify data of other layers. This is the case for instance when geometry of a layer is updated by a database trigger after modification of another layer's geometry.
- Loading branch information
Hugo Mercier
committed
Aug 31, 2016
1 parent
e6fd2e2
commit 1a5a7c5
Showing
15 changed files
with
773 additions
and
198 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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Oops, something went wrong.
1a5a7c5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mhugo , nice feature. I've just tried out, and it seems to fail at one useful scenario: layer dependencies via symbology rendering. See this video for an example of what I mean (https://www.youtube.com/watch?v=UnxP8I3uqhA).
Basically, the "battleship" layer (i.e. the grid with colored blocks) is styled based on spatial intersection with geometries from another layer, called "hits", in which the user inputs points. Right now, the symbology automatically updates via a little hack (by setting the battleship's label mode to "obstacle"). But a proper solution would actually be to declare a dependency between the battleship layer and the hits layer.
Your feature is doing that, it only needs to insure that data added on a layer A triggers a symbology refresh of layer B with a dependency declared to layer A.
(ping @nyalldawson )