geonode.upload.utils
Attributes
Classes
JSON response class. |
|
Functions
|
|
|
|
|
|
|
|
|
|
|
Parse and return an etree element with the kml file's content |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Run the import, possibly asynchronously. |
|
|
|
|
|
|
|
Module Contents
- geonode.upload.utils._geoserver_down_error_msg = Multiline-String[source]
Show Value
""" GeoServer is not responding. Please try again later and sorry for the inconvenience. """
- geonode.upload.utils._unexpected_error_msg = Multiline-String[source]
Show Value
""" An error occurred while trying to process your request. Our administrator has been notified, but if you'd like, please note this error code below and details on what you were doing when you encountered this error. That information can help us identify the cause of the problem and help us with fixing it. Thank you! """
- class geonode.upload.utils.JSONResponse(obj='', json_opts=None, content_type='application/json', *args, **kwargs)[source]
Bases:
django.http.HttpResponseJSON response class.
- geonode.upload.utils.get_kml_doc(kml_bytes)[source]
Parse and return an etree element with the kml file’s content
- geonode.upload.utils.dataset_eligible_for_time_dimension(request, layer, values=None, upload_session=None)[source]
- geonode.upload.utils.run_import(upload_session, async_upload=_ASYNC_UPLOAD)[source]
Run the import, possibly asynchronously.
Returns the target datastore.
- geonode.upload.utils.import_imagemosaic_granules(spatial_files, append_to_mosaic_opts, append_to_mosaic_name, mosaic_time_regex, mosaic_time_value, time_presentation, time_presentation_res, time_presentation_default_value, time_presentation_reference_value)[source]