Crates.io | kml2pgsql |
lib.rs | kml2pgsql |
version | 0.2.1 |
source | src |
created_at | 2021-09-23 04:00:02.123719 |
updated_at | 2021-09-24 16:01:58.616205 |
description | convert a kml file into a postgresql-compatible sql script |
homepage | https://gitlab.com/categulario/kml2pgsql |
repository | https://gitlab.com/categulario/kml2pgsql |
max_upload_size | |
id | 455214 |
size | 36,131 |
Convert some kml files to a script suitable for loading into a postgresql database.
cargo install kml2pgsql
kml2pgsql 0.1.0
Abraham Toriz <categulario@gmail.com>
convert a kml file into a postgresql-compatible sql script
USAGE:
kml2pgsql [OPTIONS] <FILE>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-g, --geom <NAME> The name of the geometry column [default: geom]
--id <COLUMN> The column to use as (incremental) primary key [default: id]
-s, --schema <NAME> The schema for the new table [default: public]
ARGS:
<FILE> The kml input file
First clone the project, then
cargo build --release
and use the binary located in target/release/kml2pgsql