Sean C. Gillies
e49adea0aa
Remove duplicate tests
2018-05-24 17:15:29 -06:00
Brendan Ward
bd565709ed
Bumped required GDAL to 1.11, dropped unneeded tests
2017-12-07 05:30:36 -08:00
Brendan Ward
a9559b583b
Upgrade required GDAL to >= 1.10
2017-12-05 20:13:13 -08:00
Brendan Ward
e0f62813e4
Moved comments to reason, skipped test_memoryfile module
2017-11-30 07:01:52 -08:00
Brendan Ward
bf8d4f3509
More consistent GDAL version handling in tests
2017-11-29 08:59:31 -08:00
Kevin Wurster
f5b3bc54a9
Small test fixups that were discovered due to the test shuffle between 'test_rio_info.py' and 'test_rio_edit_info.py' pushing a bunch of code into the PR diff.
2017-11-01 00:34:05 -04:00
Kevin Wurster
dad4e582bf
Split CLI tests.
2017-10-26 21:11:48 -04:00
Kevin Wurster
c90a79222d
Merge master.
2017-10-26 19:36:26 -04:00
Kevin Wurster
7dc14bb460
Fix import.
2017-10-14 03:39:36 -04:00
Kevin Wurster
028ae12dae
Merge master.
2017-10-14 03:22:27 -04:00
Kevin Wurster
c5da3ed23b
Switching to 'rasterio.shutil.exists()' for validating paths produces a different exit code, and in some places raises an exception higher in the call stack.
2017-10-14 01:42:00 -04:00
Kevin Wurster
2069c1e97f
Only run NetCDF tests if NetCDF driver is installed.
2017-10-11 20:34:23 -04:00
Sean Gillies
7602fd6aad
Merge pull request #1160 from DHI-GRAS/merge-nodata-nan
...
merge: treat nodata=None and np.nan in data
2017-10-09 14:51:45 -06:00
Jonas Sølvsteen
99773efe7f
lave out --unset-nodata to make work with GDAL < 2.1
2017-10-08 23:12:46 +02:00
Jonas Sølvsteen
76bff922ef
be extra sure
2017-10-08 21:13:03 +02:00
Jonas Sølvsteen
3db0949f4d
add test for rio edit-info --nodata NaN
2017-10-08 21:11:32 +02:00
Sean Gillies
8bf08d9a5d
Skip netcdf test for GDAL < 2.1
2017-10-06 17:26:39 -06:00
Sean Gillies
8be8178165
Addressing pull request comments
2017-10-06 16:47:30 -06:00
Kevin Wurster
8dd4271a88
Move '$ rio edit-info' tests into their own file.
2017-08-30 23:02:01 -04:00
Brendan Ward
ea70487220
GDAL version issues in exception message
2017-08-03 21:09:13 -07:00
Brendan Ward
62b7c8041c
Added fix for rio info abort and updated tests
2017-08-03 20:41:28 -07:00
Brendan Ward
76d1bd83a1
Breaking test case for rio info on float.tif
2017-08-02 19:53:24 -07:00
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