74 Commits

Author SHA1 Message Date
Sean Gillies
5d64c24661 Make -f and --format aliases for --driver
Closes #183.
2014-10-10 10:43:22 -06:00
Sean Gillies
a2b9a447db rio-env command and tests. 2014-10-10 09:43:04 -06:00
Sean Gillies
38d0bd50f7 rio-info tests. 2014-10-09 22:33:24 -06:00
Sean Gillies
193fc5bc1a Merge pull request #181 from brendan-ward/issue161
Overhauled documentation in features module and cleaned up PEP8 warnings
2014-10-09 13:03:43 -06:00
Sean Gillies
414a75686e Write/update PNG and JPEG.
Indirectly, using MEM datasets as an intermediary.

Closes #177.

Also add --driver option to rio-stack for integration testing.

Move CLI main to main.py
2014-10-09 12:48:49 -06:00
Sean Gillies
29cda43c1e Coverage ready tests for rio-insp, bounds, transform. 2014-10-09 12:22:38 -06:00
brendan-ward
c0d9ca333b Overhauled documentation in features module and cleaned up PEP8 warnings 2014-10-08 20:30:45 -07:00
Brendan Ward
d4c8d5120c Handle proj4 bare parameters with string values 2014-10-06 13:43:17 -07:00
Brendan Ward
c72293610e Added support for additional data types and mask in sieve function 2014-10-02 21:07:33 -07:00
Sean Gillies
a7c45b0788 Allow update of nodatavals in r+ mode. 2014-10-02 12:40:46 -06:00
Sean Gillies
7223283b78 Expanded capabilities for rio shapes.
Closes #150.

Switch CLI over to faster transforms.

Also add option for output precision.

Closes #163.
2014-10-01 15:33:20 -06:00
Brendan Ward
85d8daea19 Added support for additional data types in shapes 2014-09-29 22:15:58 -07:00
Sean Gillies
6b614f2790 Test of multiple update to tags.
New branch for this test because it's a crasher.

Boom!
2014-09-28 21:33:16 -06:00
Brendan Ward
bbcb8ec682 Added support for additional data types for rasterize function
This includes a utility function to aid IO with bands based on data
type, and a wrapper class for working with in-memory GDAL raster
datasets and bands for use with GDAL functions in cython.

Includes additional validation logic for data type in rasterize.

Includes additional test cases for data type support.
2014-09-26 11:55:16 -07:00
Sean Gillies
b60e463533 Screen input shapes to prevent GDAL crashes.
Add support for Python geo interface, too.

Closes #146.
2014-09-16 11:34:37 -06:00
Sean Gillies
210fe503ce Bump version, note changes.
Also remove the double tag update test, which is crashing. I'll
add back in a new branch.
2014-09-13 15:08:45 -07:00
Sean Gillies
d021e090a2 SetNameValue instead of AddNameValue.
For #145.
2014-09-12 16:43:36 -07:00
Sean Gillies
cb730dc04d Add a test of repeated tag update.
For #145.
2014-09-11 10:57:34 -07:00
Sean Gillies
4c8f33cfe0 Don't import cStringIO in test_cli.py 2014-09-05 19:51:52 -06:00
Sean Gillies
4e53e3ca2d Refactor to avoid unneeded numpy imports.
Closes #140.

Fairly easy because Numpy methods accept either strings like
`'uint8'` or types like `np.uint8` as dtypes. So do Rasterio
methods now.
2014-09-05 14:11:36 -06:00
Sean Gillies
2629a84e39 Several single item options for rio info.
Closes #139.
2014-09-05 09:00:14 -06:00
Sean Gillies
6a3715a7b8 Oops, reduce moved to functools in Py3. 2014-09-02 12:36:47 -06:00
Sean Gillies
a86f9fe579 Final layout tweaks.
Remove test data from sdists. Check for it when running tests and
direct users to download location. No automated download... I don't
expect many users to be running the tests from an sdist.

Closes #133.
2014-09-02 09:57:44 -06:00
Sean Gillies
943fa8e099 New layout, tests moved. 2014-09-01 22:00:56 -06:00