diff --git a/Cargo.lock b/Cargo.lock index e5541a6..b947f01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -448,7 +448,7 @@ dependencies = [ [[package]] name = "duckdb-postgis" -version = "0.1.5" +version = "0.1.6" dependencies = [ "duckdb", "lexical-core 1.0.2", diff --git a/Cargo.toml b/Cargo.toml index 9c0d8e6..71f8d26 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "duckdb-postgis" -version = "0.1.5" +version = "0.1.6" edition = "2021" authors = ["chris@enmeshed.dev", "serj@enmeshed.dev"] description = "A library for transforming geospatial data using DuckDB and ingesting it into a PostGIS database." diff --git a/README.md b/README.md index 15617cb..3fbc8df 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,20 @@ # DuckDB Rust lib for writing geospatial data to Postgis + ![Crates.io](https://img.shields.io/crates/d/duckdb-postgis) -## Current v0.1.5 release notes +## Current v0.1.6 release notes -### This Rust library does the following things: +### This Rust library does the following things - Reads in a path for a geospatial data file (Geopackage, Shapefile, etc) +- Reads in a path for non geospatial data (xlsx, xsv, parquet, etc) - Reads in a table name for the PostGIS database - Loads this file into DuckDB - Determines the schema and current CRS of the data - returns both -- Performs CRS transformation on the data if required - ensuring the CRS is ESPG:4326 +- Performs CRS transformation on the data if required - ensures the CRS is ESPG:4326 - Loads the data into a PostGIS table with a correctly defined geometry column -### Improvements for release 0.1.6: +### Improvements for release 0.1.6 - Handle raster data file formats - Discard rows where there may be errors in the geometry column / ensure the programme doesn't crash when a geometry error is encountered - skip over it and log it instead