hotosm / old-export-tool

Version 1 of the Export Tool is suspended - please see V3 https://github.com/hotosm/osm-export-tool
16 stars 18 forks source link

format option tickboxes #78

Open harry-wood opened 10 years ago

harry-wood commented 10 years ago

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

dodobas commented 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