Open harry-wood opened 10 years ago
current export processor is simple, it will sequentially generate all supported formats (https://github.com/hotosm/hot-exports/blob/master/backend/export_request_processor.pl#L120)
this is probably simple enough for somebody who knows RoR, as we need to change the interface (for create/update job), add specific format flag fields to the database, and modify logic in the Perl script
sometimes, there are issues with SHP files, as they have a 2Gb limit per file, and some exports generate more than 2Gb of data, maybe we should use SpatiaLite format as a standard spatial data container
I'm not sure if it should be part of an export job definition, or an option in relation to each run but...
We should have a set of tickboxes for each of the different format types, allowing people to choose which format/formats they're interested in generating.
I would expect this to reveal that people are interested in generating shapefiles and nothing else 99% of the time. Not generating the other download types will save on disk space