Adding Other Media Types Contents¶
As a content management system, GeoNode allows also uploading layers which are not strictly georeferenced, i.e. media contents that do not have any sort of geospatial information, like the layers.
GeoNode currently supports a bunch of different media types, like documents, PDFs, images, videos and also audios.
In order to get the whole list of the media type supported, from the Data
dropdown menu of the navbar
, select Upload Document
You will be redirected to a page allowing to add a new document to GeoNode
At the top of the page you can notice the list of supported extensions (i.e. media types).
There are two types of documents that you can create on GeoNode:
Local documents; this is content that will be uploaded from your PC directly to the platform
Remote documents; those are URLs referencing to external resources. Notice that those files won’t be copied locally. GeoNode will just create a reference to them
Uploading some Local Documents¶
Through the
Upload Document
page, click onChoose file
; that will open a system file browser. Go to the/opt/data/sample_data/documents
locationSelect the file
images/flowers.jpg
and clickOpen
; notice that GeoNode will automatically set the documenttitle
equal to thefile name
NOTE: You can change the title before uploading it if you need; it can be changed on a later stage too if needed
Click on
Upload
and wait for GeoNode to finalize the procedure. You will be automatically redirected to the document details page
Notice that GeoNode tries to create a preview of the media content if possible.
Similarly it tries to create a nice thumbnail if able to read the content-type. It will use a sample image otherwise.
EXIF Metadata for Image Contents¶
Exchangeable image file format (officially Exif
, according to JEIDA/JEITA/CIPA
specifications) is a standard that specifies the formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other systems handling image and sound files recorded by digital cameras.
It allows storing some metadata info withing the image or audio format.
GeoNode tries to read some of those metadata fields and use them to fill the content metadata.
As an instance, if you go back to the flowers.jpg
details page, you will be able to notice that GeoNode automatically filled the abstract
, creation date
and keywords
of the document
By clicking on the Exif
tab, it will be possible to see the tags recognized by GeoNode
Other Media Types¶
Go ahead and try uploading some other samples from the /opt/data/sample_data/documents
folder.
There are different type of examples you can test like:
Archives
Audio files
Video files
Images with different EXIF metadata and formats