Skip to content

3slab/pygisapi

Repository files navigation

PyGIS API

API to provide gis features to projects

Build Status

This is based on FastAPI

Install

It uses pipenv

make init

Run

make run

Go to http://localhost:8000/docs to view OpenAPI documentation

Features

  • Convert an ESRI shapefile to GEOJSON
  • Make a geocode request
  • Convert coordinates from one projection to another
  • Calculate centroid of a geojson

Docker

A docker image is available : 3slab/pygisapi

Deployment

pipenv lock -r > requirements.txt
docker build -t 3slab/pygisapi:<version> .
docker tag 3slab/pygisapi:<version> 3slab/pygisapi:latest
docker push 3slab/pygisapi:<version>
git tag -a <version>
git push --tags

About

API to provide gis features to projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages