2014-05-14 08:51:22 |
Daniele Viganò |
description |
settings.py in the oq-platform master is not aligned with the current GeoNode 2 release, so some directives are missing:
an example is:
# Available download formats
DOWNLOAD_FORMATS_METADATA = [
'Atom', 'DIF', 'Dublin Core', 'ebRIM', 'FGDC', 'TC211',
]
DOWNLOAD_FORMATS_VECTOR = [
'JPEG', 'PDF', 'PNG', 'Zipped Shapefile', 'GML 2.0', 'GML 3.1.1', 'CSV',
'Excel', 'GeoJSON', 'KML', 'View in Google Earth', 'Tiles',
]
DOWNLOAD_FORMATS_RASTER = [
'JPEG', 'PDF', 'PNG', 'ArcGrid', 'GeoTIFF', 'Gtopo30', 'ImageMosaic', 'KML',
'View in Google Earth', 'Tiles',
]
we avoid duplicate the settings.py, we should instead importing the GeoNode settings.py and then add our customization only to ou local_settings.py |
settings.py in the oq-platform master is not aligned with the current GeoNode 2 release, so some directives are missing:
an example is:
# Available download formats
DOWNLOAD_FORMATS_METADATA = [
'Atom', 'DIF', 'Dublin Core', 'ebRIM', 'FGDC', 'TC211',
]
DOWNLOAD_FORMATS_VECTOR = [
'JPEG', 'PDF', 'PNG', 'Zipped Shapefile', 'GML 2.0', 'GML 3.1.1', 'CSV',
'Excel', 'GeoJSON', 'KML', 'View in Google Earth', 'Tiles',
]
DOWNLOAD_FORMATS_RASTER = [
'JPEG', 'PDF', 'PNG', 'ArcGrid', 'GeoTIFF', 'Gtopo30', 'ImageMosaic', 'KML',
'View in Google Earth', 'Tiles',
]
we must avoid duplicate the settings.py, we should instead importing the GeoNode settings.py and then add our customization only to ou local_settings.py |
|