Skip to content

Commit

Permalink
Bump Tabor version + Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanDamron committed Nov 21, 2024
1 parent 8343634 commit f81fbb6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
Tabor is a database modeling language for GIS based on YAML, but with additional syntax restrictions. The goal of the Tabor project is to allow GIS users to create and maintain complex database rules using plain-text configuration files. The following is an example of a Tabor configuration file for a PostGIS database:

```
tabor: 0.2.0
tabor: 0.3.0
layers:
- name: grass
schema: public
owner: geocml
geometry: polygon
srid: 4326
fields:
- name: fid
type: int
Expand All @@ -19,6 +20,7 @@ layers:
schema: public
owner: geocml
geometry: point
srid: 4326
fields:
- name: fid
type: int
Expand All @@ -39,6 +41,7 @@ layers:
schema: public
owner: geocml
geometry: polyline
srid: 4326
fields:
- name: fid
type: int
Expand All @@ -49,12 +52,12 @@ Running this file through the Tabor command line utility generates a valid Postg

# Downloading and Installing Tabor

Tabor v0.2.0 can be downloaded directly from this repository (under Releases). After downloading, simply extract the downloaded .zip file to a directory accessible on your terminal path.
Tabor can be downloaded directly from this repository (under Releases). After downloading, simply extract the downloaded .zip file to a directory accessible on your terminal path.

# Usage

`tabor read --file <path/to/file>` -> Converts a .tabor file into a PostGIS schema query.

`tabor write --file <path/to/file> --db <name_of_psql_db> --username <name of db user> --password <password of db user?> --host <host of psql db?> --port <port of psql db?> --ignore <tables to ignore?>` -> Converts a PostGIS database to a .tabor file'
`tabor write --file <path/to/file> --db <name_of_psql_db> --username <name of db user> --password <password of db user?> --host <host of psql db?> --port <port of psql db?> --ignore <tables to ignore?>` -> Converts a PostGIS database to a .tabor file

`tabor load --file <path/to/file> --db <name_of_psql_db> --username <name of db user> --password <password of db user?> --host <host of psql db?> --port <port of psql db?>` -> Loads a PostGIS database from a .tabor file.'
`tabor load --file <path/to/file> --db <name_of_psql_db> --username <name of db user> --password <password of db user?> --host <host of psql db?> --port <port of psql db?>` -> Loads a PostGIS database from a .tabor file.
2 changes: 1 addition & 1 deletion src/consts.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = "0.2.0"
VERSION = "0.3.0"

0 comments on commit f81fbb6

Please sign in to comment.