logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

spatialite_tool - CLI tool for Shapefile import/export

Description

spatialite_tool is an utility CLI tool for Shapefile import / export.

Example

       spatialite_tool -i -dbf abc.dbf -d db.sqlite -t tbl -c CP1252

       spatialite_tool -i -shp abc -d db.sqlite -t tbl -c CP1252 [-s 4326] [-g geom]

       spatialite_tool -i -shp abc -d db.sqlite -t tbl -c CP1252 [-s 4326] [-2] [-k]

       spatialite_tool -e -shp abc -d db.sqlite -t tbl -g geom -c CP1252 [--type POINT]

                                                  07 March 2025                               spatialite_tool(1)

Name

       spatialite_tool - CLI tool for Shapefile import/export

Options

-h, --help
              show help message

       -i, --import
              import (CSV/TXT, DBF or SHP)

       -e, --export-shp
              exporting some shapefile

       -dbfpathname, --dbf-pathpathname
              the full DBF path

       -shppathname, --shapefilepathname
              the shapefile path (NO SUFFIX)

       -dpathname, --db-pathpathname
              the SpatiaLite DB path

       -ttable_name, --tabletable_name
              the db geotable

       -gcol_name, --geometry-columncol_name
              the Geometry column

       -ccharset_name, --charsetcharset_name
              a charset name

       -sSRID, --sridSRID
              the SRID

       --type [POINT | LINESTRING | POLYGON | MULTIPOINT]
              the geometry type

       -2, --coerce-2d
              coerce to 2D geoms (x,y)

       -k, --compressed
              apply geometry compression

Synopsis

spatialite_tool [-h | -i | -e] [-dbfpathname] [-shppathname] [-dpathname] [-ttable_name] [-gcol_name] [-ccharset_name] [-sSRID] [--type [POINT | LINESTRING | POLYGON | MULTIPOINT]
                       ] [-2] [-k]

See Also