Skip to content
/ osgs Public template
forked from kartoza/osgs

A rich, integrated, and opinionated GIS Stack with a focus on configurability and ease of use, built from Open Source Components

Notifications You must be signed in to change notification settings

VajiraL/osgs

 
 

Repository files navigation

Open Source GIS Stack

  ___  ___  __ _ ___ 
 / _ \/ __|/ _` / __|
| (_) \__ \ (_| \__ \ 
 \___/|___/\__, |___/
           |___/     
The Open Source GIS Stack

The Open Source GIS Stack (OSGS) is a rich, integrated, and opinionated GIS Stack with a focus on configurability and ease of use built from Open Source Components.

Documentation

The documentation site is available at https://kartoza.github.io/osgs/

The same content is available as static resources in the docs directory.

You can contribute to the documentation by making PRs to sphinx/source/

Quickstart

Basic steps to get OSGS up and running.

Prerequisites

A more complete outline of server configuration is available in the documentation https://kartoza.github.io/osgs/installation/server_preparation.html

Setup Domain Name

Before setting up the project you will need to define a fully qualified domain name (FQDN) and ensure that the routing is correctly configured for communication with trhe server using that domain name. For local deployments it is recommended that the relevant fqdn is defined in the hosts file.

Clone Repository

Navigate to or create your relevant content directory, e.g. /web/, and clone the repository with git clone https://github.com/kartoza/osgs

Run Installation Wizard

Open your OSGS directory and run make configure to start the wizard.

Once configuration is complete, start the service with make deploy.

Additional configuration commands may be reviewed with make help.

Review Installation Documentation

The problems and infrastructure that OSGS intends to provide solutions for are complex and fairly nuanced. It is recommended that users read through the installation documentation to understand the platform from https://kartoza.github.io/osgs/installation/index.html

About

Location is hard. Geospatial data management platforms may provide solutions across various domains, including data storage, spatial analysis, earth observation, geodata service exposure, desktop, web and other client software integrations, additional data visualisation or business intelligence tools, and many others. This is further complicated by complex data structures and data types, which are even more challenging when managing additional data sources such as streaming or event driven processes, service monitoring, access control, data security, and many others.

Proprietary systems that provide complete end to end solutions are typically very expensive, or only provide a small subset of the desired functionality.

The Open Source Geospatial community provides a wide variety of tools suited to performing some specific functionalities, and whilst there are many integrations between these solutions and platforms, they often require a large amount of configuration and significant technical expertise to ensure that the integration operates effectively. Very often, just the number of available platform choices can seem overwhelming.

The OSGS attempts to resolve this by providing an opinionated platform with preconfigured components to provide a number of generic workflows and solutions, whilst providing the flexibility, extensibility, and value benefits of open source.

The advanced confugration management tools also provide a level of granular control for adminsitrators to define exactly which services are desired, with the entire stack designed with ease of use in mind for setup, deployment, and use.

Philosophy

By being opinionated, the stack provides a mechanism for being a "one stop shop" for the vast majority of open source spatial system needs. In particular, the stack aims to:

  • Lower barriers to entry for advanced spatial data services
  • Provide a 'click-to-run' experience for supporting
  • Simplify configuration and management for complex solutions
  • Promote the usage and adoption of FOSSGIS tools and platforms
  • Create meaningful blueprints for data lifecycle management and location intelligence solutions
  • Remain flexible while providing sensible default configurations

Architecture

The stack is designed for deployment with docker-compose, with planned support for k8s. Service management is handled by an Nginx proxy and web server service. The default configuration makes provisions for various configurations viadocker compose profiles, including some default load balancing and clustering operations.

Key Services

OSGS Provides support and integration for a wide variety of services, with a key focus being on:

  • PostgreSQL with the PostGIS extension for spatial data storage, analysis, and data services
  • Docker-OSM for getting some enriched starting data from OpenStreetMap within a defined area of interest
  • A static website built with hugo that automatically deploys changes and provides templates and shortcodes for web maps using the osgs-hugo-watcher image
  • QGIS Server integration for dynamic spatial data services and WYSIWYG web map service provision
  • MapProxy for providing metatiling, caching, and additional service provision
  • Mergin and Input integration for field mapping services
  • SCP service for simple and user friendly flat file access that integrates neatly with services
  • PostgREST and OpenAPI endpoints to facilitate development

Additional Services

A number of additional value added services are included as well, including, but not limited to:

Configuration

Configuration is currently handled by make processes, with an admin interface under development. It is possible to configure the services by editing the .env and docker-compose files directly, but due to the complexity involved with service configuration, this is not recommended.

Key Considerations

The following considerations are detailed in the documentation, however are considered critical for any intended deployment.

Hosting

How you manage and deploy your infrastructure is up to you, and identifying which services should be exposed publicly and which should not will depend on the intended use case. The OSGS simply tries to provide some sensible defaults, but each service included typically supports multiple configuration options. contact Kartoza for commercial support.

Authentication

Currently authentication is mainly managed with Basic access authentication to control access to particular services, with additional authentication and access control being provided by individual stack components.

SSL

The config wizard supports automatic letsencrypt certificate creation for production deployment and self signed certificates for local deployments and development. Provision of user supplied certificates planned for future release.

Contributing

Community contributions are welcome, and should adhere to the QGIS Code of Conduct

Support

Whilst we welcome the community to contribute via raising issues in GitHub, addressing these will be undertaken only on a best effort basis. If you require a commercial support contract, please contact Kartoza.



Kartoza Logo

About

A rich, integrated, and opinionated GIS Stack with a focus on configurability and ease of use, built from Open Source Components

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Makefile 63.6%
  • Python 26.5%
  • Shell 4.7%
  • JavaScript 4.6%
  • PLpgSQL 0.6%