Skip to content

Create new features #6

@steveoh

Description

@steveoh

When a user is logged in and viewing a project they are able to edit, with an editable status, and the project allows features

Tasks

  • Place some UI to allow adding features in the project information panel.

  • The shape and all inputs are required before sending the request to the API. Design cloud native supporting API #19

  • The editor should be allowed to pick from the available feature types

    Feature types currently come from an api call (/api/supporting/filters)
    "featureType": [
       {
           "code": 1,
           "featureType": "Terrestrial Treatment Area",
           "type": "Poly "
       },
       {
           "code": 2,
           "featureType": "Aquatic/Riparian Treatment Area",
           "type": "Poly "
       },
       {
           "code": 3,
           "featureType": "Affected Area",
           "type": "Poly "
       },
       {
           "code": 4,
           "featureType": "Easement/Acquisition",
           "type": "Poly "
       },
       {
           "code": 5,
           "featureType": "Guzzler",
           "type": "Point"
       },
       {
           "code": 8,
           "featureType": "Other point feature",
           "type": "Point"
       },
       {
           "code": 9,
           "featureType": "Fish passage structure",
           "type": "Point"
       },
       {
           "code": 10,
           "featureType": "Fence",
           "type": "Line "
       },
       {
           "code": 11,
           "featureType": "Pipeline",
           "type": "Line "
       },
       {
           "code": 12,
           "featureType": "Dam",
           "type": "Line "
       },
       {
           "code": 13,
           "featureType": "Water development point feature",
           "type": "Point"
       }
  • Aquatic and Terrestrial treatment types (code 1 and 2) are able to add multiple action and treatment combinations and to denote if it is a re-treatment.

  • If a herbicide action is selected, an additional herbicide dropdown choice is required

  • The additional actions are able to be edited and removed

The shape drawing and shapefile uploading are defined in separate issues

Improvements

  • Add a drop down with the following values
    • Cultural Resource Inventory
    • Biological Surveys
    • Engineering
    • Other
  • If other is selected, provide a freeform text input. Use the same max length as the other point feature type.

Prior implementation

Image
Image

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: feature creationFunctionality related to feature creationarea: project panelFunctionality within the project panelsize: small10 hours or less estimated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions