Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support uploading Shapefiles as a single .zip #903

Open
trevorgerhardt opened this issue Oct 26, 2023 · 1 comment · May be fixed by #905
Open

Support uploading Shapefiles as a single .zip #903

trevorgerhardt opened this issue Oct 26, 2023 · 1 comment · May be fixed by #905
Labels

Comments

@trevorgerhardt
Copy link
Member

Users often have Shapefiles in packaged in a zip. If we additionally allow them to upload the zip, that would save them from needing to unzip and multi-select the individual files.

Additionally, we have had a user report that their IT network blocks some of the sidecar files from being uploaded and therefore they are unable to create opportunity datasets.

We should prioritize supporting this there, but also be consistent across the application.

An alternative solution is to add support for GeoJSON (which is desirable anyway), then convert their Shapefile in the browser before uploading.

@abyrd
Copy link
Member

abyrd commented Oct 26, 2023

If possible we'll want to support ZIP on all uploads, because we support single-file formats like GeoJSON and CSV that can benefit heavily from basic compression (see related #747). Ideally we can reuse the code to detect a ZIP file, unpack it in a temporary location, and then return the name/path of the expanded file(s) for processing.

@trevorgerhardt trevorgerhardt linked a pull request Oct 28, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants