8.8. Managing Feature table

In NextGIS Web you can manage your geodata directly, without needing to display it on a map. View, filter, create, edit and delete features using Feature table.

You can open the Feature table on a separate page or on a Web Map.

See also

Edit the layer fields used to form the feature table.

8.8.1. Feature table on a separate page

Press the table “Table” icon opposite the resource name or select the Table action for the vector layer in the features pane on the right.

Feature table allows to perform the following operations with the selected entry (see Pic. 8.75.):

  1. Open selected entry

  2. Create new entry (new feature)

  3. Edit entry

  4. Delete entry

  5. Show the total feature count

  6. Search and filter by attribute values

  7. Save as a file (choose between advanced and quick export)

  8. Refresh the table

  9. Select displayed fields in the table settings

../../_images/feature_table_tools_en.png

Pic. 8.75. Feature table tools

Also you can open the Feature table on the Web Map. In this case there are some additional map-related tools.

8.8.2. Feature table on a Web Map

There is another way to open Feature table. map and magnifying glass open a Web Map that has the layer in question added to it.

../../_images/webmap_open_from_group_en.png

Pic. 8.76. Opening a Web Map from the list

A Web Map will be opened with a layer tree (left) and a map (right). To view a feature table select the required layer in layer tree and then select “Feature table” command in the Layer drop down menu at the top of layer tree Pic. 8.77.:

../../_images/map_and_tree_layers_eng_3.png

Pic. 8.77. Opening feature table from the map

All tools of the Feature table are available, as well as some map navigation tools:

../../_images/table_objects2_eng_3.png

Pic. 8.78. Actions for the selected record in feature table

  1. frame with dot Go to (after a click the selected feature will be displayed on the map)

  2. inward arrows Zoom to filtered features

  3. dash frame Filter features by area

8.8.3. Search and filter

Click on the header of any column to sort the table by that attribute’s values.

In the top right corner you’ll find the search bar. Enter any text in it. The table contents are filtered, displaying only the features that have the search text in one of the attributes.

../../_images/feature_text_search_en.png

Pic. 8.79. Text search

You can also create more complicated filters. Click on the funnel icon funnel next to the search bar and add filter conditions. You can use logical operators AND (select “ALL”) and OR (select “ANY”).

For example, there are several roads named “Adams Street” in the Boston area, and we need to filter out the bigger ones (OSM tag “highway=tertiary”) and only inspect the smaller ones. Add two conditions: 1) NAME is Equal to “Adams Street”; 2) HIGHWAY is Not Equal to “tertiary”. Select “ALL” in the top left corner, that means that both conditions should be satisfied.

../../_images/feature_rule_filter_en.png

Pic. 8.80. Filter conditions that must both be satisfied

../../_images/feature_rule_filter_result_en.png

Pic. 8.81. Filtered entries

8.8.4. Filter layer features on the Web Map by area

NextGIS Web has a tool in the Feature table that filters all layer features within a selected area. To choose area limits just draw them on the Web Map.

Open the feature table and click on the funnel button. In the dropdown menu select the geometry of the area:

  • circle (click twice on the map, to choose the center of the circle and its size, the radius length is shown in meters)

  • line (features intersected by the line will be filtered)

  • rectangle (click on diagonally opposite apexes)

  • free-hand drawn polygon (each click creates an apex, the area covered by the polygon is highlighted; to finish the shape, double-click on an apex, the polygon will be completed automatically)

../../_images/ngweb_filter_by_area_geometry_en.png

Pic. 8.82. Selecting filter geometry

Now the feature table only contains the features within the selected area. The tool button will have the current area shape on it. In the dropdown menu you can use one of the following options:

  • Show/Hide the outline and fill of the selected area

  • Zoom to the filtering area

  • Clear filtering geometry

../../_images/ngweb_filter_by_area_actions_en.png

Pic. 8.83. Filter actions

To set the map extent displaying all the filtered features, click inward arrows.

You can use quick export to save the filtered features in a variety of common geodata formats. Click Save as and in the dropdown menu select either quick export with default settings or advanced export to modify the settings.

See feature filtering in action:

Watch on youtube.

8.8.5. View feature entry

You can view any entry of the feature table in a pop-up or on a separate page. Select the entry and click Open.

../../_images/feature_preview_en.png

Pic. 8.84. Viewing feature entry

Click the square with arrow icon next to the Open button to view the entry on a new page.

8.8.6. Create new feature

You can use the Feature table to add a new feature to the layer. Click + Create.

../../_images/feature_create_attr_en.png

Pic. 8.85. Creating new feature: enter attribute values

You can add a custom Description and Attachments on the corresponding tabs. The number of attachments is not limited. For each attached file you can add an indivisual description.

../../_images/feature_create_attach_en.png

Pic. 8.86. Attachments tab

On the Geometry tab you can draw the feature’s geometry:

../../_images/feature_create_geom_en.png

Pic. 8.87. Creating geometry for the new feature

Click Save to finish creating new feature. An entry will be added to the Feature table.

8.8.7. Edit features

Select an entry and click pencil Edit. In the pop-up dialog you can modify the attribute values, description and geometry and manage attachments.

Tabs that have unsaved changes are marked by a blue dot.

../../_images/feature_edit_descr_en.png

Pic. 8.88. Editing feature description

../../_images/feature_edit_geom_en.png

Pic. 8.89. Editing geometry

Click Save to finish editing. All the edits are saved to the layer.

You can also edit features on a Web Map or in the desktop app QGIS via NextGIS Connect plugin.

8.8.8. Delete feature

You can use Feature table to delete features from the layer. Select the entry and click trash can Delete.

Confirm deletion in the pop-up dialog.

../../_images/feature_delete_confirm_en.png

Pic. 8.90. Deleting feature

8.8.9. Export to file

To quickly save the filtered entries to a file, click Save as, then in the dropdown menu select Quick export and choose the file format.

../../_images/feature_table_quick_export_en.png

Pic. 8.91. Quick export

Also you can select Advanced export and customize the settings (more on export settings).

8.8.10. Displaying selected fields and feature edit information

You can select which fields of the feature table to display. Press “Open table settings” button in the right corner and untick the fields you want to hide.

../../_images/feature_table_display_set_en.png

Pic. 8.92. Selecting fields for display

If feature versioning is enabled, at the bottom of the list you’ll find an additional unticked field. It is a virtual “Last changed” field. It contains date and time of the most recent edit made to the feature as well as the username.

The first change logged is the time the versioning is enabled.

../../_images/feature_table_changelog_en.png

Pic. 8.93. Displaying changes in the feature table

8.8.11. Other tools

Click on the # hashtag button to see the current feature count.

Click circular arrow to refresh the table so that it includes the latest changes made elsewhere.