Sean Gillies
d7ea5bfbfe
xfail some pixel value senstivie tests when gdal < 2
2017-06-11 17:14:29 +02:00
Sean Gillies
2866ea82d6
Use None for undefined CRS instead of CRS()
...
Resolves #1057
2017-05-24 13:16:50 +02:00
Matthew Perry
0f480586d1
emit warning if unset-crs did not have effect
2017-02-01 09:01:53 -07:00
Sean Gillies
466807828d
xfail --unset-crs test for GDAL versions < 2.0
2017-02-01 15:38:13 +01:00
Matthew Perry
e4c2ab35f7
rio edit-info --unset-crs; fixes #970
2017-01-31 14:34:08 -07:00
Sean Gillies
cda74ecf8d
Skip instead of xfail
2016-12-07 15:53:08 +01:00
Sean Gillies
493dd8ef5b
Add a edit-info nodata option handler, marker, and inline funcs
2016-12-06 16:25:12 +01:00
Sean Gillies
76c4814b59
Retract --nodata none in favor of --unset-nodata
2016-12-05 17:15:10 +01:00
Sean Gillies
fc52b0f99d
Initial support for GDALDeleteRasterNoDataValue()
...
Towards resolving #510
2016-12-05 13:40:54 +01:00
Sean Gillies
0da4d14ca5
Implement mask_flag_enums
...
And expose in rio-info
Resolves #879
2016-09-16 10:35:50 +02:00
Sean Gillies
f95d580457
Complete renaming
2016-08-20 16:22:17 +02:00
Sean Gillies
9b17596e8f
Dataset descriptions can't be set
2016-08-18 18:02:41 +02:00
Sean Gillies
175c0014ec
Add support to rio-info and rio-edit-info
2016-08-18 15:50:23 +02:00
Sean Gillies
9355513d39
Get env from main ctx
...
Migrate all tests over to invoking main_group with a named command.
2016-07-27 14:51:36 -06:00
Kevin Wurster
f5e15f1f58
Remove GDAL geotransform for $ rio edit-info --transform
2016-06-19 22:21:34 -04:00
Kevin Wurster
ef952def3b
Merge master.
2016-06-14 21:09:27 -07:00
Matthew Perry
59fd85cc8a
Merge pull request #770 from jameshiebert/issue-736
...
Refactors CRS code into a class
2016-06-10 11:34:14 -04:00
Kevin Wurster
40cbc26d73
Switch src.transform to an instance of affine.Affine() and add a warning deprecating src.affine.
...
Switch src.affine to src.transform in tests
2016-06-05 14:29:34 -04:00
James Hiebert
a0a4289b51
Adds a CRS.to_dict method and updates comparisons
2016-06-05 09:32:58 -07:00
Erik Seglem
17a93df772
Add test for colorinterp.
...
Other minor fixes.
2016-06-04 07:48:47 -04:00
James Hiebert
a7e7cbef63
Replaces crs as a dict with a CRS class
...
Implements a number of changes:
* Creates a CRS class that simply inherits from UserDict
* Moves CRS related methods (to_string, from_string, is_geographic,
is_projected, is_valid, and is_epsg_code) to be class methods
* Moves the CRS comparison method to be CRS.__eq__
* Modifies tests that compare CRS output to a raw dict, to compare to
UserDict.data property
* Replaces all creation of CRS represtation using bare dicts with the
use class instantiation
2016-06-03 17:15:48 -07:00
Kevin Wurster
18039243b7
Move some tests around to better match the current package layout.
2016-06-03 14:05:20 -04:00
Matthew Perry
61b8f5af80
test https and some edge cases
2016-04-07 12:58:13 -04:00
Matthew Perry
a6adfb947d
merge origin/master
2016-03-30 19:47:52 -04:00
Sean Gillies
fa3a5783ce
Always invoke using main_group to get ctx
2016-03-29 14:06:09 -06:00
Matthew Perry
75dcb7c149
move rio commands to individual files
2016-03-21 18:39:31 -04:00
Matthew Perry
385a2e70c3
unit tests
2016-02-02 15:42:33 -04:00
Sean Gillies
fbd74c2e7f
Add a force_overwrite option.
...
Plus some consolidation of existing options.
Closes #539
2016-01-11 15:32:05 -07:00
Sean Gillies
4ed65ed7b0
Surface GDAL checksum in API and CLI.
...
Closes #433 .
2015-08-11 14:17:04 -06:00
Sean Gillies
5ea8c75215
Add test for setting --nodata 0 from a template.
2015-07-08 08:36:17 -06:00
Sean Gillies
ee1ef2d32b
Consolidate crs validity test.
...
Also add another test of the --all callback and fix the bug it
exposed.
2015-07-08 07:50:35 -06:00
Sean Gillies
7c07a58071
Add a 'like' keyword, and from_like_context() helper.
...
Also add more tests of bad parameters.
2015-07-07 11:24:31 -06:00
Sean Gillies
ec640a35a2
Finish up the --all option.
2015-07-06 12:57:14 -06:00
Sean Gillies
dcb70884ee
Don't get unnamed meta values via --like.
2015-07-03 08:54:29 -06:00
Sean Gillies
a562ae47ad
Add a --like option to rio-edit-info.
...
In combination with, eg, `--crs ?`, this will extract the metadata
value from another file.
See #387 .
2015-07-02 16:08:48 -06:00
Amit Kapadia
e95c23feab
test rio-bounds dst-crs
2015-06-30 12:43:33 -07:00
Kevin Wurster
f738f1cd47
Use cligj for plugin registration for #357 .
2015-05-30 13:17:23 -04:00
Sean Gillies
d20cc3591e
Consolidate tests.
2015-05-22 13:23:41 -06:00
Sean Gillies
781992ba9a
Don't depend on dict item order.
2015-02-06 16:24:22 -07:00
Sean Gillies
c3732f7c76
Add new fields to rio-info.
...
Closes #269 .
Required moving _transform() from _warp to _base so we could
avoid import Numpy as long as possible.
Also added stats to info output in --verbose mode, also accessible
using the --stats option.
2015-02-06 14:29:14 -07:00
Sean Gillies
4aa81a094c
Preliminary support of moar info.
2015-02-06 12:14:24 -07:00
Brendan Ward
c59a35411b
Excluded files from coverage testing, switched version option to use click builtin, added more tests
2015-01-08 20:40:50 -08: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