Postgres & PostGIS

Enable full featured and fully operational Postgres and PostGIS Service

Postgis database

Postgres & PostGIS database server


Beside all the mapping tools, LocusQ integrated with a full-fledged PostgreSQL database server with the widely used extension PostGIS. Around 70-75% of total spatial-related services use PostGIS for their database server. By running this service with conf.yml file will store the Open Street Maps (OSM) data automatically using osm2pgsql.This planet_osm databse will is the base of Map Engine and Vector Tiles API

For more documentation and endpoints go to Documentation of Postgres & PostGIS page.

Alternative Text

See more documentation of Postgres and PostGIS

Stand-alone Postgres & PostGIS database server


LocusQ Master stack covers all the segments of web GIS such as maps, routing, direction, transit, geocoding and many more tools. Besides this, Postgres & PostGIS can be installed as a stand-alone service if anyone does not need few other services or only 2-3 services. Here are the steps

  1. 1
    Change the conf.yml file

    Change the configuration file according to your needs. Country-wise configuration code can be found here.

  2. 2
    Run the standalone PostGIS Docker

    Pull or run directly the Postgrs & PostGIS docker image keeping the conf.yml file in the same directory from where the docker is running
    docker run -it --name postgres-postgis --network locusq -v $(pwd):/data -p 4701:5432 locusq/postgres-postgis:latest

  3. 3
    Use the database

    Wait a few minutes and check the status of service readiness with the following command
    docker exec -it postgres-postgis status
    When the service is ready, connect the PostGIS server.