# Pygeoapi

Pygeoapi is an open-source Python server that helps organizations publish geospatial data using Open Geospatial Consortium (OGC) API standards. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/5134/pygeoapi

## Description

Pygeoapi is an open-source Python server that helps organizations publish geospatial data using Open Geospatial Consortium (OGC) API standards.

## Platform availability

Available on 0 of 10 platforms.

## Health score

74/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 8 days ago)
- Popular: 56 (633 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 95 (no serious findings, CI, tests)

## Links

- GitHub: https://github.com/geopython/pygeoapi
- Docker Hub: https://hub.docker.com/r/geopython/pygeoapi
- Official website: https://pygeoapi.io
- Documentation: https://pygeoapi.io/documentation

## Common questions

### How do I deploy pygeoapi in Docker?

Create a config file, mount it into the container, and map host port 5000 to container port 80. If the mapping or config is missing, the app may not open or may lack settings.

### Do I need to generate an OpenAPI file before serving pygeoapi?

Yes, generate the OpenAPI file from the config and set PYGEOAPI_OPENAPI to that file. Missing or wrong config or OpenAPI files can make pygeoapi fail to start or serve no useful pages.

### Can pygeoapi be run inside an existing Python web application?

Yes, it can be deployed via Flask, Django, or any Python framework.

### How can I expose custom data sources or output formats?

Use the plugin framework to connect to custom data sources such as files, services, and databases, serve custom output formats, and implement custom processes.

---
Source: Our Local Host (https://ourlocalhost.com/app/5134/pygeoapi), the self-hosted and open-source app directory.
