Create an editable layer with input for object data (attribute info screen).

From Geoikia-english

Jump to: navigation, search

Image:germanflagthumb.png Deutsch Image:dutchflagthumb.png Nederlands

> Main Page > How can I ...? > Create an editable layer with input for object data (attribute info screen).


Using the Geoide Author you can make Geoide Service layers editable. That is you can add points, lines and/or polygons and associated object information via the Geoide Viewer. Below is explained how to configure an editable layer.

Image: tip.png Knowledge about the structure of the databases is required. For setting up databases, see instructions regarding Oracle and PostGIS.

This workflow assumes that a mutation table with geometry and look-up tables are available. Pay attention to the insert/update/delete rights being granted.

Add mutation and lookup tables

1) Start Open Jump. For background information on Open Jump deegree config tool, see: Config Tool documentation_nl] and Toelichting menuoptie 'Geoide' in Open Jump].

2) Add the mutation table to the Geoide-WFS (add spatial data to WFS - deegree menu). See: Configtool documentation_nl ].

3) Make the mutation table known in Geoide (import style in remote Geoide - geoide menu & add feature layer - geoide menu). Note the granting of insert/update/delete rights. See: Toelichting menuoptie Geoide in Open Jump].

4) Add the lookup tables to the Geoide WFS (add spatial data to WFS- deegree menu). See: Config Tool documentation_nl].

5) Make the lookup tables known in the Geoide (import style in remote Geoide - geoide menu & add feature layer - geoide menu). Since the lookup table has no SLD-file, you have to use a existing SLD-file as dummy file in the step add feature layer (e.g. the SLD of the mutation table). See: menu option 'Geoid' Jump in Open].

6) Close Open Jump.

Configuring Layer

7) Start the Geoide Author

8) Add a new layer to the appropriate context/map. Check in the layer properties window the box editable. Click for help with adding layers.

9) Choose the WFS, that is the Geoide-WFS, where the mutation table is stored.

10) Choose Feature type name as in the name of the mutation table in step 3).

11) Choose the Geometry type, point, line or polygon depending on the type of geometry in the mutation table. If blank, points, lines and polygons are accepted.

12) At Feature Type Properties add the columns for the attribute info screen. This can be free texts/values or predefined values using lookup tables.

Table with free texts/values

* Add the column(s) that may contain the free texts/values.
* Click on the added column. Then you can specify the title of the column in English, German and Dutch by language/title. This title is for the input field displayed on the attribute info screen in the Geodie Viewer. Other fields can be blank.

Table with predefined values using lookup tables.

  • Add the column where the lookup data has to be stored.
  • Add the column that is associated with the lookup table (usually an ID).
  • Click on the added column. Select in the field Lookup Table the table (Feature Type) with the appropriate data.
  • Fill in the field Lookup Field the value from the lookup table that matches the column to search data. This is usually the ID field from the allocated table.
  • Fill in the field Label the column from the lookup table data with the appropriate data.
  • You can then specify the title of the column in English, German and Dutch at language/title. This title is for the input field to be displayed on the attribute info screen in the Geodie Viewer.

13) Save the changes by clicking on Save at the bottom screen of the Geoide Author.

Change Viewer configuration

14) Add the 'Edit-buttons' to the viewer configuration. Go to Steps: Adding buttons to edit the Geoide Viewer .

As a result, you can edit the created layer (points, lines and/or add polygons) in the Geodie Viewer. You can fill attribute info screen (pop-up window) with free texts/values or predefined values (from lookup table).

> Editing An editable layer with input for object data (attribute info screen)

Personal tools