hotosm / osm-export-tool

Web service to download customised OSM data in various file formats
http://export.hotosm.org/
BSD 3-Clause "New" or "Revised" License
145 stars 45 forks source link

HDX Exports Version 2 #450

Closed kshitijrajsharma closed 1 year ago

kshitijrajsharma commented 2 years ago

This PR Contains feature improvements on visualization , schedule and upgrade for HDX Exports

Adds this new dashboard for admin to better visualize and filter hdx jobs image Intoduces new run stats api which gives output like following : {"periods": [{"start_date": "2022-09-21", "runs_count": 5, "run_types": "on_demand:5", "export_formats": "geojson:5,shp:5,garmin_img:2"}, {"start_date": "2022-09-10", "runs_count": 3, "run_types": "on_demand:3", "export_formats": "geojson:3,shp:2"}, {"start_date": "2022-08-16", "runs_count": 17, "run_types": "on_demand:17", "export_formats": "geojson:17,geopackage:3"}, {"start_date": "2022-06-08", "runs_count": 1, "run_types": "hdx_run:1", "export_formats": "shp:1"}, {"start_date": "2022-06-07", "runs_count": 4, "run_types": "hdx_run:2 on_demand:2", "export_formats": "shp:2,geojson:2,kml:2"}, {"start_date": "2022-06-03", "runs_count": 1, "run_types": "hdx_run:1", "export_formats": "shp:1"}, {"start_date": "2022-06-02", "runs_count": 2, "run_types": "on_demand:2", "export_formats": "geojson:2,shp:1"}, {"start_date": "2022-05-24", "runs_count": 10, "run_types": "on_demand:10", "export_formats": "geojson:10,kml:10"}, {"start_date": "2022-05-23", "runs_count": 40, "run_types": "on_demand:40", "export_formats": "geojson:40,kml:40"}, {"start_date": "2022-05-19", "runs_count": 1, "run_types": "on_demand:1", "export_formats": "shp:1,geojson:1,geopackage:1,kml:1"}, {"start_date": "2022-05-18", "runs_count": 6, "run_types": "on_demand:6", "export_formats": "geojson:6,shp:5,geopackage:4,kml:2"}, {"start_date": "2022-05-17", "runs_count": 40, "run_types": "on_demand:40", "export_formats": "geojson:31,shp:13,geopackage:9,kml:8,garmin_img:7"}]}

kshitijrajsharma commented 2 years ago
image
kshitijrajsharma commented 2 years ago
image
Aadesh-Baral commented 1 year ago

Thank you @kshitijrajsharma for the fantastic additions to export tool.

Will it be possible to populate TM Project Id on search bar using url params? As an example, the URL "https://export-staging.hotosm.org/en/v3/exports/new/describe/?search=12822" loads the project AOI and populates the search bar with the TM project Id, allowing to link users from the TM Project description page directly to the export tool.

kshitijrajsharma commented 1 year ago
image

for #406

kshitijrajsharma commented 1 year ago
image
kshitijrajsharma commented 1 year ago

Thank you @kshitijrajsharma for the fantastic additions to export tool.

Will it be possible to populate TM Project Id on search bar using url params? As an example, the URL "https://export-staging.hotosm.org/en/v3/exports/new/describe/?search=12822" loads the project AOI and populates the search bar with the TM project Id, allowing to link users from the TM Project description page directly to the export tool.

Sure @Aadesh-Baral I will look into it !

kshitijrajsharma commented 1 year ago
image

For admin users now force run mark failed is available , and also they can terminate the job from workers