-
Notifications
You must be signed in to change notification settings - Fork 31
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
Group Shapefiles in Folder #2572
Labels
Comments
Unblocked as hydroshare/hydroshare#2537 is complete. |
Still seeing the same behavior on beta, it is likely that their update hasn't been deployed yet. |
rajadain
added a commit
that referenced
this issue
Jan 15, 2018
Currently all shapefiles are exported to the root as area-of-interest.shp, .prj, .shx, etc. All these files need to be present in the same folder to open them, so to make it easier to use they should be grouped together rather than in the same space as all the rest. With this update, we'll have: - analyze_land.csv ... - area-of-interest.geojson - area-of-interest/ - shape.shp - shape.shx - shape.prj ... - scenario_current_conditions.gms ... Refs #2572
Interestingly, this seems to be happening by itself now: Possibly a consequence of model-my-watershed/src/mmw/apps/export/views.py Lines 199 to 203 in 039740c
in #2609. I'm going to add a commit to remove the TODOs. |
rajadain
added a commit
that referenced
this issue
Jan 24, 2018
…efile-folder HydroShare Export Shapefiles into Folder Connects #2572
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, the Shapefiles are exported to HydroShare at the top level, where they are mixed in with other file types:
In order to open a Shapefile, all the files have to be available in the same folder. hs_restclient supports creating folders, as does their UI. However, while a user can create folders in the UI, creating those via hs_restclient or the API results in a
HydroShareNotAuthorized
error. This is a problem on their end and they are looking in to it: hydroshare/hydroshare#2537.Once that is resolved, uncomment these lines:
model-my-watershed/src/mmw/apps/export/views.py
Lines 90 to 94 in 9b10846
And update these lines:
model-my-watershed/src/mmw/apps/export/views.py
Lines 112 to 117 in 9b10846
to reflect the folder name, like this:
The text was updated successfully, but these errors were encountered: