Releases: Joxit/wof-cli
Releases · Joxit/wof-cli
Release 1.0.0
1.0.0 (2025-06-15)
🪲 Bug Fixes
- postgres: wrong env name for
--port
option (2abcc27) - fetch: set default values for postalcode and admin options (62f24ff)
- fix-cmd: should check if the input pipe is activated (db79e1c)
- expression-tokenizer: fix when the string contains quotes or starts with spaces (5a7b0f8)
- expression-tokenizer: fix when the string starts or ends with quote (97354d3)
- expression: correct matching for numbers (a03bc2c)
- sqlite: when alt or deprecated are false, we should not add them (6aa1cda)
- sqlite:
get_geojson_by_id
should not return alternative geojson (627129d) - path: ignore blank lines when we pipe stdin (6ae9c0e)
- patch: add missing bbox update (25326fd)
- add support for
geom:latitude
andgeom:longitude
(f5366a2) - ser: max pricision should be 6 (ff4bd32)
- compute_are: should always be positive (cf3972d)
- ser: extra array new line should be added only when pretty (d5aaa48)
👻 Code Refactoring
- expression: move module from
utils
tosrc
(3d7d4db) - expression: move expression in its own module (e4ab104)
- add new types: alias for Point, Polyline, Polygon (22a012b)
✨ Features
- move
export
command features toprint
and creategit
command (66bbb81) - patch: add
ignore-not-found
option (f0c132a) - fix-cmd: add support to walk through file repository (edbabb1)
- fix: return a bool for know when an change is made (5bb1161)
- fix: add new command to fix WOF data via pipe (4016072)
- fix: add some rules to fix WOF data (a29bcd4)
- patch: add support to update all names with
name:*
(006276c) - patch: remove property when the value is null (2400c68)
- list: add
filter
option using predicates, can be used only with--print-geojson
(7464dd8) - expression: create
Evaluate
trait implemented for WOFGeoJSON and JsonValue (6ea3b76) - postgres: add indexes on
placetype
,country
andname
(612c3c0) - expression: can now evaluate both WOFGeoJSON and JsonValue (78f57ef)
- expression: can evaluate expressions and return predicate (db7ea40)
- expression: use deserializer and impl TryFrom (caaabb1)
- expression-de: add deserializer and support
Null
token to predicate (c906aff) - expression-de: add deserializer and support
Or
predicate (0f0fb5d) - expression-de: add deserializer and support
And
predicate (472cf86) - expression-de: add deserializer and support
Eq
andNeq
predicates (718e26f) - expression-tokenizer: implement
TryInto
trait forToken
(02480bb) - expression-tokenizer: add support for
in
token (a0b1625) - expression-tokenizer: add support for
not
token (126a268) - expression-tokenizer: add support for
or
token (c2b6e76) - expression-tokenizer: add support for
number
token (dce5f16) - expression-tokenizer: add support for
boolean
token (18c899a) - expression-tokenizer: add support for strings with multi words (18a127f)
- expression-tokenizer: add support for and token (9f9a41c)
- expression-tokenizer: add support for neq token (0a08f16)
- expression: add tokenizer function, this may simplify parsing (09d8ebc)
- expression: add support to null literal (9aea955)
- expression: add support to boolean literal (83819d5)
- expression: add support to number literal (90b1b12)
- postgres: add placetype, name and country columns (2ad250e)
- patch: add support for no-pretty option (8242ffe)
- patch: set is_alt to 1 before a geojson update (6146967)
- sqlite: add new function
set_geojson_alt
(7b2e600) - expression: add From impl for Predicate (5d90cb4)
- expression: add structure for expression query language (8be236f)
- patch: ignore lines starting with
#
(53cfbea) - parse_string_to_json: use String ref and avoid borrow (4259383)
- postgres: add postgres build command with refactoring (a7be7a4)
- postgres: add support to postgres storage, will create a single table (edb8e8e)
- patch: add new patch command to update wof documents from partial json/GeoJSON (717a44a)
- print: add support to SQLite database (cd3b852)
- sqlite: add new function
get_geojson_by_id
for a single geojson (3a6b020) - shapefile: add support for projection file (aa048e5)
- shapefile: upgrade shapefile to 0.3.0: support for records (b519596)
- shapefile: add support for pipe when building shapefiles (5f78600)
- list: add support for list features from geojson (bf55063)
- sqlite: support for alternative geometries (2f3fd26)
- sqlite: add new functions
write_all_geojsons
andwrite_all_ids
(f5d8228) - list: add print-geojson option for json-stream (694b3b2)
- export: compute properties like area, bbox, centroid and geom hash (ff097d1)
- export: add default properties (f374351)
- export: check geometries before export (569e862)
- export: new function to export WOF features. This will replace wof-exportify. (abc10a9)
- compute: GeoCompute will implement
json::object::Object
instead ofWofGeoJSON
(374241b) - compute: add compute of area_m using gdal with --features with-gdal (dfc8b79)
- compute: add compute of area_m using epsg 3410 (9be1f07)
- compute: use weight centroid for multi polygon (cbd0c90)
- compute: add compute of center of mass for MultiPolygon from
WOFGeoJSON
(3e19d05) - with_precision: add
with_precision
toFloatFormat
(f50f0f3) - compute_center_of_mass: add compute to Polygon from
WOFGeoJSON
(17768b7) - compute_center_of_mass: add compute to point and polygon (9e888c5)
- compute: add centroid compute (66351c8)
- compute: add
compute_bbox_string
(e224d32) - float_format: impl
FloatFormat
for f64 (33fc71a) - add float format in ser (dabbcbb)
- float_format: add force parameter (eae4154)
- float_format: Add trait for float formating (5483f1e)
- compute: add md5 compute for geometries (350c544)
- compute: add bbox compute (5f37f0f)
- compute: add area compute (f481813)
🔧 Build
- release version 1.0.0 (b86cac1)
✔️ Tests
- export: add basic tests that should fail (62593c5)
📝 Documentation
- completion: add path to save bash completion (c11577c)
- sqlite cmd: fix typo on
wof build sqlite
(4525aa1) - update available cmd in readme (92f6073)
🚀 Continuous Integration
- fix release workflow (c05ac5f)
- remove export install and python3 (1c8b8ce)
- docker-hub: fix tag naming (0e94585)
- docker-hub: should trigger docker build when the branch is master (3dcaf4a)
- remove armv7 from buildx and create docker workflow (0e32f9a)
- workflow: update docker image on main/master push and new tags (04d8aa9)
- docker: upgrade base image to bullseye (01e8ad7)
- gdal: deactivate gdal tests for now (fbbeff5)
- release: add kokai and binary upload in the workflow (7d38126)
- install libgdal-dev before build and tests (5384acc)
🍏 Chore
- update all dependencies (b12c14a)
- code refactoring and cleanup (755aa9b)
- move from structopt to clap v4 with derive (04e2fb7)
- updated dependencies (9e99a21)
- expression: merge
Literal
withPredicate
(882a781) - expression-tokenizer: reformat code (a87f7d4)
- reformat code (96db36b)
- replace tabs by spaces 😱 (69e135d)
- missing
cargo fmt
(20c4184) - ci: add release action (38b0b5e)
- update shapefile-rs to 0.2.0 (8f62769)
- add publish via github actions (fb21b80)