Skip to content

Add the support of the non-spatial dataset #11795

@subashtiwari1010

Description

@subashtiwari1010

Description

Improve the functionality of the feature grid toolbar so that it supports the non-geospatial dataset too. It restricts some tools that uses map functionality like adding geometry, syncing with map, snapping, filtering with current viewport.

Improve editing for non-spatial dataset

  • For the feature grid, expose a new selector (hasNoGeometry) if there is no geometry field at all in the dataset
  • hasSupportedGeometry - used for the restrictions in adding new feature in web/client/components/data/featuregrid/toolbars/Toolbar.jsx - need to pass the hasNoGeometry so the visibility logic for the Add/Edit feature can be updated
  • Use the same selector:
    • to show/hide only the necessary fields like we may need to hide the column where no geometry present is displayed
    • to restrict some functionality like draw feature/geometry, sync map with filter, activate snapping, filter data by viewport, delete geometry
    • only display Quit edit mode, Add new feature, Delete selected feature

Other useful information

Metadata

Metadata

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions