A simple CLI tool for loading GIS files to a PostGIS database.
sherpa
aims to be a simpler alternative to GDAL's ogr2ogr, focusing purely
on loading data to a PostGIS instance.
It is recommended to install sherpa
in a Python virtual environment so there's no dependency conflicts.
Installation requires an up-to-date version of pip
:
pip install -U pip
For a regular, non-development install:
pip install git+https://github.com/kyoh-dev/sherpa.git#egg=sherpa
$ sherpa
Usage: sherpa [OPTIONS] COMMAND [ARGS]...
A CLI tool for loading GIS files to a PostGIS database
╭─ Commands ──────────────────────────────────────────────────────────╮
│ dsn Manage your DSN profile │
│ load Load a file to a PostGIS table │
│ tables Get info about tables in your PostGIS instance │
╰─────────────────────────────────────────────────────────────────────╯