Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Download Data #218

@stdavis

Description

@stdavis

Allow the user to download individual tiles for a specific product by clicking on the download button in the product result card.

This will be a request to a tiles indexes dataset. Outfields:

  • EXT
  • PATH
  • SIZE
  • TILE
  • TILE_INDEX

Requirements

  • show tiles that intersect the AOI on the map
  • highlight each tile on the map as the user hovers over the tile information in the results list and vice versa.
  • allow the user to click on a feature on the map to show that specific tile's information
    - [ ] add "You may have to right-click..." help text
  • display the Auto-correlated DEM disclaimer text if "Product" == 'Auto-Correlated DEM'
  • Figure out what this is all about:
Image

Tile Results List

  • tile name
  • size
  • link to download

Tile Information Popup

  • provide link to cloud storage
  • show tile name
  • show size

These are product-level data that are only available in some of the product types. They should be shown in the map popup as well as once above the download tiles list.

  • "Title" comes from Description in associate product feature (this seems broken in the current app)
  • "Metadata" link if the associated product feature has a URL-like FTP_Path value and a value for METADATA
  • "Report" link if the associated product feature has a URL-like FTP_Path value and a value for REPORT

Rick checked that we no longer have any ftp:// links in relevant tile indexes so we don't need to migrate this functionality to the new version:

this.PATH = this.PATH.replace('ftp://', 'http://');

Current Implementation

Image Image Image

Auto-Correlated DEM Disclaimer:

Image

Possible Enhancements

#165

  • auto-zoom to the extent of the tiles (for example, when you search by a point it zooms to the extent of the entire dataset but then we you click download, the tile is tiny)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions