GeoNodeUserGroup-DE / contrib_datapackage

A geonode-importer handler to upload non-spatial data as datapackage
GNU General Public License v3.0
1 stars 0 forks source link

Missing settings.py configuration #1

Closed mwallschlaeger closed 1 year ago

mwallschlaeger commented 1 year ago

i would like to give the uploader a try. But i couldn't an example definition on howto add the importer to the settings.py. Do you have a snippet to add this importer along the standard importer?

UPLOADER = {
    "BACKEND": os.getenv("DEFAULT_BACKEND_UPLOADER", "geonode.importer"),
    "OPTIONS": {
        "TIME_ENABLED": ast.literal_eval(os.getenv("TIME_ENABLED", "False")),
        "MOSAIC_ENABLED": ast.literal_eval(os.getenv("MOSAIC_ENABLED", "False")),
    },
    "SUPPORTED_CRS": ["EPSG:4326", "EPSG:3785", "EPSG:3857", "EPSG:32647", "EPSG:32736"],
    "SUPPORTED_EXT": [".shp", ".csv", ".kml", ".kmz", ".json", ".geojson", ".tif", ".tiff", ".geotiff", ".gml", ".xml"],
}
mwallschlaeger commented 1 year ago

udated readme fixes this issue