-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Just brainstorming on what a CLI could look like.
Usage:
datum import ( <file> | - ) --table=<table> [--geom=<geom>...] [--to-srid=<to_srid>]
datum export <table> [--output=FILE]
Options:
--table The name of the database table, including the schema
--geom Comma-separated list of fields that should be converted from Well-Known Text to ST Geometry
--to-srid Numeric spatial reference to convert the geometry fields to
--output Output file path. If omitted, outputs to stdout.
Could wire this up pretty easily with docopt but click or something else may be better.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels