Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download project data #5

Open
45 tasks
steveoh opened this issue Sep 23, 2024 · 0 comments
Open
45 tasks

Download project data #5

steveoh opened this issue Sep 23, 2024 · 0 comments
Labels
area: gis server Functionality related to the GIS Server area: map interface Functionality within the map UI size: small 10 hours or less estimated

Comments

@steveoh
Copy link
Member

steveoh commented Sep 23, 2024

Allow map viewers and parent application code to download specific projects by id.

Tasks

  • Place a mobile friendly download component on the mapping interface when viewing a specific project
  • Allow a file geodatabase to be created for the project.
  • Create a backend tool to generate downloads (currently a GP tool)

Dependencies

This tool may be used by DTS in other places and should accept multiple project id's. Coordinate with DTS if this has any breaking changes.

File geodatabase fields

For multipoint feature types include

  • ('TypeDescription', 'TEXT', 'NULLABLE', 255)
  • ('FeatureID', 'SHORT', 'NON_NULLABLE')
  • ('FeatureSubTypeDescription', 'TEXT', 'NULLABLE', 255)
  • ('ActionDescription', 'TEXT', 'NULLABLE', 255)
  • ('Description', 'TEXT', 'NULLABLE', 255)
  • 'Project_ID', 'SHORT', 'NON_NULLABLE')
  • ('StatusDescription', 'TEXT', 'NULLABLE', 50)
  • ('Composite_Key', 'TEXT', 'NON_NULLABLE', 255)
  • ('Shape@',)

For polyline feature types include

  • ('TypeDescription', 'TEXT', 'NULLABLE', 255)
  • ('FeatureID', 'SHORT', 'NON_NULLABLE')
  • ('FeatureSubTypeDescription', 'TEXT', 'NULLABLE', 255)
  • ('ActionDescription', 'TEXT', 'NULLABLE', 255)
  • ('Description', 'TEXT', 'NULLABLE', 255)
  • ('Project_ID', 'SHORT', 'NON_NULLABLE')
  • ('StatusDescription', 'TEXT', 'NULLABLE', 50)
  • ('Composite_Key', 'TEXT', 'NON_NULLABLE', 255)
  • ('Shape@',)

For polygon features include

  • ('TypeDescription', 'TEXT', 'NULLABLE', 255)
  • ('FeatureID', 'SHORT', 'NON_NULLABLE')
  • ('Project_ID', 'SHORT', 'NON_NULLABLE')
  • ('StatusDescription', 'TEXT', 'NULLABLE', 50)
  • ('Retreatment', 'TEXT', 'NULLABLE', 1)
  • ('Composite_Key', 'TEXT', 'NON_NULLABLE', 255)
  • ('Shape@',)

Add the following related table for the above 3 types

COUNTY

  • ('County', 'TEXT', 'NULLABLE', 255)
  • ('CountyInfoID', 'SHORT', 'NON_NULLABLE')
  • ('FeatureID', 'SHORT', 'NON_NULLABLE')
  • ('County_ID', 'LONG', 'NON_NULLABLE')
  • ('Intersection', 'FLOAT', 'NULLABLE')
  • ('Composite_Key', 'TEXT', 'NON_NULLABLE', 255)]

For terrestrial and aquatic polygon feature types include the following related tables

AREAACTION

  • ('ActionDescription', 'TEXT', 'NULLABLE', 255)
  • ('AreaActionID', 'SHORT', 'NON_NULLABLE')
  • ('FeatureID', 'SHORT', 'NON_NULLABLE')

AREATREATMENT

  • ('TreatmentTypeDescription', 'TEXT', 'NULLABLE', 255)
  • ('AreaTreatmentID', 'SHORT', 'NON_NULLABLE')
  • ('AreaActionID', 'SHORT', 'NON_NULLABLE')

If the treatment has an herbicide

AREAHERBICIDE

  • ('HerbicideDescription', 'TEXT', 'NULLABLE', 255)
  • ('AreaHerbicideID', 'SHORT', 'NON_NULLABLE')
  • ('AreaTreatmentID', 'SHORT', 'NON_NULLABLE')
  • ('HerbicideID', 'SHORT', 'NULLABLE')

Improvements

  • Add a PROJECT point table with the centroid geometry as well as basic project information e.g. name and description

Previous implementation

image

References

@steveoh steveoh added size: small 10 hours or less estimated area: map interface Functionality within the map UI labels Sep 23, 2024
@steveoh steveoh added the area: gis server Functionality related to the GIS Server label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: gis server Functionality related to the GIS Server area: map interface Functionality within the map UI size: small 10 hours or less estimated
Projects
None yet
Development

No branches or pull requests

1 participant