Skip to content

Conversation

@BharatVe
Copy link
Collaborator

The changes were made in order to add the following functionality to the code:

  • Caching the GeoJSON.
  • Generating on a schedule via Django Q.
  • Optionally providing a gzipped version.
  • Listing these downloads on the Data & API page with file size info.

With this we should have a single generate_geojson_files() function in tasks.py that writes two files to disk. Then the “data” page displays them, and users can download them from stable, cached links.
We run into GDAL library issues in Docker, that needs to be fixed separately. The code above should still be valid.

@BharatVe BharatVe closed this Mar 24, 2025
@BharatVe BharatVe deleted the enhancement/Download_all_geometries_and_metadata_as_GeoJSON_61 branch March 24, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants