developmentseed / cql2-rs

Rust library for parsing the OGC CQL2 filter language
http://developmentseed.org/cql2-rs/
MIT License
5 stars 0 forks source link

cql2-rs

CI

Parse, validate, and convert Common Query Language (CQL2) text and JSON.

Usage

API

[dependencies]
cql = "0.3"

Then:

use cql2::Expr;

let expr: Expr = "landsat:scene_id = 'LC82030282019133LGN00'".parse().unwrap();
assert!(expr.is_valid());
println!("{}", expr.to_json().unwrap());

See the documentation for more.

CLI

See the cql2-cli README for details.

Responses

Responses may not match the input.

cql2-text differences

Development

See CONTRIBUTING.md for information about contributing to this project.

License

cql2-rs is licensed under the MIT license. See LICENSE for details.