Add multiple dataset versions
Add versioning to view multiple versions of a dataset:
-
Backend updates:
- index datasets in elasticsearch with index names
datasetkey-versionanddatasetkey-groups-version - tiles directory structure is changed to contain dataset version as
tiles/datasetkey/version/... - bitmaps directory structure is changed to contain dataset version as
bitmaps/datasetkey/version/...
- index datasets in elasticsearch with index names
-
Frontend updates:
- update dataset model to add
versionsarray andcurrentfor selected version of dataset - Fix routing on angular side, now dataset path is defined as
/map/key/version - Add version dropdown to map dashboard view
- Default version is set as
latestwhich redirects to the latest indexed version of the dataset - Update map history to keep history for dataset key and dataset version
- Add popper.js to scripts before bootstrap to make dropdown work correctly
- update dataset model to add
Edited by Gözükan Hande