This Plugin / Repo is being maintained by a community of developers. There is no warranty given or bug fixing guarantee; especially not by Programmfabrik GmbH. Please use the GitHub issue tracking to report bugs and self organize bug fixing. Feel free to directly contact the committing developers.
This plugin adds the new data type "NFIS Geometry" to a Fylr instance. The data type makes it possible to work with geometries via a Geoserver WFS and a Masterportal instance.
- Clone repository
- Create server configuration file
cp serverConfiguration.json.template serverConfiguration.json
- Fill in credentials of Geoserver account with write permissions in serverConfiguration.json
- Build plugin:
make
- Add path to plugin in fylr.yml
- Masterportal URL: The base URL of the Masterportal instance to be used by the plugin
- Geoserver: User name: The name of the Geoserver account that is used to access the WFS in read-only mode
- Geoserver: Password: The password of the Geoserver account that is used to access the WFS in read-only mode
- Object types:
- Object type name: The name of the object type
- Geometry fields: The geometry fields to be configured
- Field name (including path): The path to the geometry field (e. g. "_nested:object__event.geometry")
- Style object UUID: The UUID of the style object to be used for this geometry field
- WFS URL for map display: The base URL of the WFS to be used for displaying data on the map provided by the plugin. It has to be a WFS provided by the configured Geoserver instance. No data is changed via this WFS.
- WFS feature type for map display: The feature type to use when displaying data on the map
- WFS ID in Masterportal: The ID of the layer used for displaying the WFS data in Masterportal. This ID can be found in the services configuration file of the Masterportal instance.
- Data transfer to geoserver: If activated, field data is transferred from the Fylr object to the Geoserver (via the configured WFS).
- WFS URL for data transfer: The base URL of the WFS to be used for transferring data to the Geoserver. It has to be a WFS-T provided by the configured Geoserver instance.
- WFS feature type for data transfer: The feature type to use when writing data to the WFS
- Field data to be transferred: Mappings of a source field (Fylr) to a target field (WFS). For each geometry field defined, entered field data is added to the corresponding geometry via a WFS provided by the configured Geoserver instance
- Name of field in Fylr object: The source field that contains the data to be transferred
- Name of WFS target field: The target field of the WFS to which the data is transferred
- WFS target field for pool name The field of the WFS where the name of the pool that the Fylr object belongs to should be stored
- Allowed pool names for data transfer: Data is only transferred if the Fylr object belongs to a pool with one of the specified pool names
- Multi selection: If toggled, multiple geometries can be added to the geometry field. All geometries are shown on a single map. Geometries can be selected on the map to edit or remove them.