Query Aspects Properties

From Geoikia-english

Jump to: navigation, search

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

In the Geodie Viewer, you can search a map after search entries are configured in the Geoide Author. In Geoide Service layers you can choose 'simpel' and 'advanced search'. In WFS layer, a default 'simple' search is available.

Image: sterretje.png Required fields are marked with a red asterisk.

Image: tip.png Changes are not stored on the server unless you click on Save at the bottom screen of the Geoide Author.


Contents

Query Aspect Properties

Image: new_search_properties.png
  • Name: Name of the search input. This name is used for identification on the server and therefore has to be unique.
  • Owner: the login name is automatically entered as "owner" of the new search entry. You cannot change this.
  • Language and title: Enter the title of the search entry. This title is used in the dialog box for searching the map and in the tree of the Geoide Author.
  • Server: Service that performs the search. Searching items is only possible in Geoide Service layers and in a WFS.
  • Layer: Name of the map layer (or Feature Type for WFS) on which the search is performed.

Extra fields for Geoide Service Layer

If you are searching in a Geoide Service layer, then the following additional fields are available:
  • Search Type: Here you can choose between ‘simple’ or 'advanced' search.
  • ’Simple’: By 'simple' search each search field is automatically followed with the next search field in the Geoide Viewer, until all the search fields are filled. There can only be sought with the operand "=".
  • 'Advanced': 'Advanced' search allows the user to fill multiple search fields in the Geoide Viewer simultaneously. You can use the operator "greater than", "=" or "less than". The user of the Geoide Viewer does not need to fill all the available search fields for the search to start. Available operantors can be found in the properties of the search columns (see below).
  • Actions: Specifies the actions in the Geoide Viewer that should be performed on the found objects. The actions appear as buttons in the search entry window.
  • Zoom: zooming in to the found objects.
  • Filter and Zoom: Only the objects found on the map are filtered and you can zoom to the found objects.
  • Select and Zoom: the found objects are selected. Selected objects appear with a different color and you can zoom to the selected objects.
  • Select: The found objects are selected.
  • Filter: Only the objects found on the map are filtered.
  • Clear Selection: undoing the selection.
  • Clear Filter: undoing the filter.

Query Aspect Properties (continued)

  • Search columns: Columns are used to create a search expression. On the left you can use the search columns, on the right are the available search columns. By clicking on the arrows you can add or remove columns from the list. For each column you can use the following fields: Image: Tip.png Knowledge about the structure of the database is relevant here:
  • Datasource: Specifies whether an allocated table must be used on the search column. If the search column is in the main table, you can use for this column the same name as specified at Layer. A search entry for the WFS should be provided with an Alternative Fetaure Type (datasource). An Alternative Fetaure Type (datasource) in a Geoide Service layer is not necessary, but it can speed up the search.
  • Values: The 'value' of the Alternative Feature Type must match with the value in the Search Column.
  • Labels: Choose the label so the label appears in the drop-down menu in the search. This gives sensible names and identification to data with vague values (eg only an identification key).
  • Component: Specify if the search entry is a text field, or if a combo-box is used.
  • Format: Example Format for a text field. The sample input appears in the Geoide Viewer in the appropriate text field. The entry of user in the Geoide Viewer is however not tested to comply with this format.
  • Language, Title: This title appears for the search field. Dutch, English or German title are displayed, depending on the language setting of your browser.

Extra fields for Geoide Service layer

In "advanced" search, you can use the following operators:
=: Search for exactly the same value (or name, or type, etc.)
<: Search for anything less than the specified value.
>: Seacrh for anything greater than the specified value.
<=: Search for anything less than and equal to the specified value.
>=: Search for anything greater than and equal to the specified value.
Like: search for a similar proportion (eg part of the name must be identical).
Null: search for empty fields in the table.
Between: search for values between two values.
In: a list is displayed where searched items can be checked by the user.

Query Aspect Properties (continued 2)

  • Extra info: Here you can find additional information about this record entry. This information is only for users of the Author. Image: tip.png Tip: You can use this field as 'Notepad'.

Examples

Search in WFS

In this example a Search Dialogue Window is build up, for searching addresses in the province of Limburg.

The imput of the search input properties is as follows:

Image: new_search_properties.png

In the search column ‘Woonplaats’ (residence), the Datasource ‘app: acn_Woonplaats' is chosen. This will prevent that the combobox of the Geoide Viewer is filled by all records containing the item ‘woonplaats’ (residence). This list would be unmanageably long, because each address occurs with 'Woonplaats' (residence). By choosing the alternative datasorce a table is referred to where the residence occurs only once.

The result in the Geoide Vieweris:

Image: voorbeeldzoekingangwfs.png

Search Geoide Service layer

In this example, a search is done on the basis of 'advanced' search.

The result in the Geoide Viewer is:

The user can choose the order of search. In this example, first choose "id" and search on ">", then "description" ...

.... and finally "Geometry".



> Main Page > Configuring the Geoide Viewer with the Geoide Author > Creating Search Entries (Query Aspects) > Query Aspects properties

Personal tools