Skip to main content

Wagtail based Geospatial Data Manager

Project description

GeoManager

Wagtail based Geospatial Data Manager and backend CMS for geomapviewer

Geomanager Admin Screenshot

Background

Most national/regional institutions working in weather/climate/DRM sectors regularly produce and disseminate data and information that is Geo-referenced. This can range from forecast model outputs, earth observation data, stations observation, periodic bulletins and advisories and so on. Usually these are shared on their websites and social media pages in static formats, mostly as PNGs or PDFS.

This is an effort to develop an interactive system for managing and publishing Geo-referenced (GIS) datasets. As the institutions produce and share their products in static formats, they can also use packages like this, to make their data interactive.

The package is developed primarily for use by NMHSs at national levels, but can be adapted in other institutions or places that need to visualize their geospatial data.

Features

All the raster and vector datasets uploaded must have time associated with each file.

For netCDF files with time dimension, time is automatically extracted from the file. For Geotiff, each uploaded file must be manually assigned time.

Data management and visualization

  • Uploading and visualization of gridded data
    • netCDF
    • Geotiff
  • Uploading and visualization of vector data
    • Shapefiles
    • Geojson
  • Raster Tile serving of raster data using django-large-image. All django-large-imagefeatures are available
  • Vector tile serving using PostGIS MVT Tiles

MapViewer Management

  • Management of layers visualized on the geomapviewer
    • Control on visibility (public or private) of layers on the MapViewer

Installation

Prerequisite

Before installing this package, you should make sure you have GDAL installed in your system.

TIP: Installing GDAL can be notoriously difficult. You can use pre-built Python wheels with the GDAL binary bundled, provided by KitWare, for easy installation in production linux environments.

To install GDAL using KitWare GDAL wheel, use:

  pip install --find-links https://girder.github.io/large_image_wheels GDAL

Other required packages that you will need to install, if not installed already in your Wagtail Project

  • psycopg2 - for postgres/postgis database connection

Installation

You can install the package using pip:

pip install geomanager

Install this version of wagtail-admin-sortable from Github. This has some updates to the original packages.

pip install https://github.com/wmo-raf/wagtail-admin-sortable/archive/33bf22f290e7a4210b44667e9ff56e4b35ad309e.zip

Usage

Make sure the following are all added to your INSTALLED_APPS in your Wagtail settings

INSTALLED_APPS = [
    ...
    
    "geomanager",
    "adminboundarymanager",
    "django_large_image",
    'django_json_widget',
    'django_nextjs',
    "django_filters",
    "wagtail_color_panel",
    "wagtail_adminsortable",
    "wagtailhumanitarianicons",
    "wagtailiconchooser",
    "django_extensions",
    "wagtailfontawesomesvg"
    "allauth",
    "allauth.account",
    "wagtailcache",
    "wagtail_modeladmin"
    
    "wagtail.contrib.settings",
    "rest_framework",
    "django.contrib.gis",
    
    ...
]

Run migrations

python manage.py migrate geomanager

Add the following to your project's urls.py

urlpatterns = [
    ...
    path("", include("geomanager.urls")),
    ...
]

Wagtail Cache Setup

Geomanager depends on the wagtail-cache package for caching requests. Please have a look at the wagtail-cache documentation for setup instructions

Including the Map Viewer

This package is the backend component to the frontend geomapviewer.

Documentation

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

geomanager-0.6.0.tar.gz (699.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

geomanager-0.6.0-py3-none-any.whl (792.0 kB view details)

Uploaded Python 3

File details

Details for the file geomanager-0.6.0.tar.gz.

File metadata

  • Download URL: geomanager-0.6.0.tar.gz
  • Upload date:
  • Size: 699.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for geomanager-0.6.0.tar.gz
Algorithm Hash digest
SHA256 cebbf4e5ce911892703fd0e0350e1facb7bd5dc659d713760a81e9b9103c0f38
MD5 3586bd8773b9e179c7dd501823ee4522
BLAKE2b-256 9b535b243f5cacbfa2cc5e20faf0e99000c4093fb23569cf887be10d653dbf55

See more details on using hashes here.

Provenance

The following attestation bundles were made for geomanager-0.6.0.tar.gz:

Publisher: publish.yml on wmo-raf/geomanager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file geomanager-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: geomanager-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 792.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for geomanager-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 547f7bd4362f89b81b043d01cd913f5e652da6eb7318b8ec5fd6efeea2a97ab6
MD5 4009385550c53aaf5baacd174bd1dae4
BLAKE2b-256 ce0bfce440d98dd8c96896f487799781173d3c088fbbc2745f80ef5d84f90773

See more details on using hashes here.

Provenance

The following attestation bundles were made for geomanager-0.6.0-py3-none-any.whl:

Publisher: publish.yml on wmo-raf/geomanager

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page