zonebuilder 0.3.0

A crate and command-line interface to create regular geographic zones for urban analysis
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// See https://github.com/zonebuilders/zonebuilder-rust/issues/23
use geo::Point;
use serde_json::to_string_pretty;
use structopt::StructOpt;
use zonebuilder::Params;

fn main() {
    let cp = Point::new(-1.5, 53.8);
    let gj = zonebuilder::clockboard(cp, Params::from_args());
    let gjstring = to_string_pretty(&gj).unwrap();
    println!("{}", gjstring);
}