Toblerity / fio-buffer

A Fiona CLI plugin for buffering geometries in parallel with Shapely.
Other
11 stars 3 forks source link

Support for feature sequences? #4

Open sgillies opened 9 years ago

sgillies commented 9 years ago

@geowurster this is awesome. We've talked about it elsewhere, but I want to mention it here, too: I'd love to see support for fio-cat's feature sequences so that we can have unlimited pipe fun like

$ fio cat example.shp | \
> fio buffer --distance 10 | \
> fio buffer --distance "-10" | \
> fio collect | \
> geojsonio

geowurster commented 9 years ago

@sgillies :+1: definitely!

geowurster commented 9 years ago

@sgillies Will implement this for the Toblerity move and release.

Switching the default behavior to the example above will make this feel more canonical, and adding a --no-sequence option to switch to reading/writing files on disk. Sound good? Will give me a real world excuse to see how py-feature-sequences might work too.

sgillies commented 9 years ago

Sounds good to me.