This repository has been archived by the owner on Jul 19, 2021. It is now read-only.
forked from GeoNode/django-osgeo-importer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
show file type for each layer based on file it was in
- use GDAL to detect type of every uploaded file - make a field on UploadFile to store the detected file type - make a property on UploadLayer to expose the type of containing file - expose this property from the HTTP API as readonly - use same from the angular template to correct display of layer items also don't mess up template formatting when fields are blank, as in rasters. also don't try to show feature_count if it's None, as in rasters: either we have an uninformative, unnecessarily alarming "UNKNOWN" or we have whitespace which bootstrap can't handle, breaking page formatting. Rather just not have it when it's not actually meaningful to show.
- Loading branch information
1 parent
6e8d11f
commit 9fed0b7
Showing
4 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters