Pg_featureserv Quickstart

This page contains a quickstart to help you get pg_featureserv up and running with Postgres Container Apps on Crunchy Bridge. We recommend you start with the quickstart to get an understanding of container apps.

About Pg_featureserv

From the project:

A lightweight RESTful geospatial feature server for PostGIS, written in Go. It supports the OGC API - Features REST API standard.

Pg_featureserv with Container Apps Quickstart

First ensure you have Container Apps enabled with CREATE EXTENSION pgpodman;. Once enabled you’ll need your DATABASE_URL from Crunchy Bridge to include in the command. To start your pg_tileserv you can run:

SELECT run_container('-dt -p 5433:5433/tcp -e DATABASE_URL="<DATABASE_URL>" -e PGFS_SERVER_HTTPPORT=5433  docker.io/pramsey/pg_featureserv:latest');

Now you can visit your running pg_featureserv at your hostname:5433.