spatialite_tool1
Cli tool for shapefile import/export
Usage
FCspatialite_toolF [0]
[{FC-hF
[0] | FC-iF
[0] | FC-eF
[0]}]
[FC-dbfF
[0]
pathname]
[FC-shpF
[0]
pathname]
[FC-dF
[0]
pathname]
[FC-tF
[0]
table_name]
[FC-gF
[0]
col_name]
[FC-cF
[0]
charset_name]
[FC-sF
[0]
SRID]
[FC--typeF
[0]
[{POINT | LINESTRING | POLYGON | MULTIPOINT}]]
[FC-2F
[0]]
[FC-kF
[0]]
Overview
spatialite_tool is an utility CLI tool for Shapefile import / export.
Options
FC
|
show help message |
|---|---|
FC
|
import (CSV/TXT, DBF or SHP) |
FC
|
exporting some shapefile |
FC
|
the full DBF path |
FC
|
the shapefile path (NO SUFFIX) |
FC
|
the SpatiaLite DB path |
FC
|
the db geotable |
FC
|
the Geometry column |
FC
|
a charset name |
FC
|
the SRID |
FC
|
the geometry type |
FC
|
coerce to 2D geoms (x,y) |
FC
|
apply geometry compression |
Examples
FC
spatialite_tool -i -dbf abc.dbf -d db.sqlite -t tbl -c CP1252
F[0]
FC
spatialite_tool -i -shp abc -d db.sqlite -t tbl -c CP1252 [-s 4326] [-g geom]
F[0]
FC
spatialite_tool -i -shp abc -d db.sqlite -t tbl -c CP1252 [-s 4326] [-2] [-k]
F[0]
FC
spatialite_tool -e -shp abc -d db.sqlite -t tbl -g geom -c CP1252 [--type POINT]
F[0]
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.