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

Shape archive folders: again #7352

Open
landreev opened this issue Oct 23, 2020 · 1 comment
Open

Shape archive folders: again #7352

landreev opened this issue Oct 23, 2020 · 1 comment

Comments

@landreev
Copy link
Contributor

After receiving feedback from the users, another change is needed to how we implemented the handling of folders in uploaded shape archives. The folders need to be preserved in the file metadata entry ONLY, but not in the re-zipped shape archive.
(should be a simple change)

@landreev
Copy link
Contributor Author

An example:
if you upload a shape set zipped as follows:

data/gis/states_wgs.sbn
data/gis/states_wgs.prj
data/gis/states_wgs.dbf
data/gis/states_wgs.sbx
data/gis/states_wgs.shx
data/gis/states_wgs.shp

The folder "data/gis" should be preserved in the metadata, and should appear on the dataset page. But the resulting saved zipped shape set should contain the files WITHOUT the extra folders, like this:

states_wgs.dbf
states_wgs.prj
states_wgs.sbn
states_wgs.sbx
states_wgs.shp
states_wgs.shx

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

No branches or pull requests

1 participant