19 Commits

Author SHA1 Message Date
Robert Sare
4b0d3dd69e Mark tests that call GDAL binaries (#1555) (#1557)
* add webp to the available compression enum (#1515)

* Add webp to enums.Compression and increment version

* Add link to dev discussion group

* fix year specified in version 1.0.9 date (#1530)

Year specified in version 1.0.9 date is 2019, which is in the future at this time. Set to 2018, which is in the past.

* Update docstring for plotting_extent (#1516)

* added support for ESRI wkt strings - resolves issue #1537 (#1538)

* updated _handle_crswkt to use CRS.from_wkt; resolved issue #1540 (#1541)

* updated _handle_crswkt to use CRS.from_wkt; resolved issue #1540

* added test for datasetreader opening dataset with ESRI projection wkt string

* Fix a typo (probably) (#1526)

* Fix a typo (probably)

* Update url for manylinux

* Update README.rst

Co-Authored-By: ismailsunni <imajimatika@gmail.com>

* Update README.rst

Co-Authored-By: ismailsunni <imajimatika@gmail.com>

* Remove unused string

* modified _osr_from_crs to use CRS.from_user_input (#1546)

* modified _osr_from_crs to use CRS.from_user_input

* update to use tmpdir fixture for pytest

* update comparison for error output for rio warp

* updated to always attempt to MorphFromESRI to prevent exception from being raised

* added test to test warping with ESRI wkt

* updated data_dir to be used as fixture

* removed duplicate import of CRSError

* reordered initialization of spatial reference to prevent memory leaks

* updated to raise CRSError of auth != EPSG

* Revert "modified _osr_from_crs to use CRS.from_user_input (#1546)" (#1548)

This reverts commit b120a00a05e4f6174c02e855cc016fde9b54c4e0.

* Mark tests using gdal binaries

* Add pytest import
2018-11-21 09:58:28 -07:00
Sean C. Gillies
d658a04600 Warn deprecation of all set_* methods 2018-05-18 09:38:47 -06:00
Brendan Ward
bf8d4f3509 More consistent GDAL version handling in tests 2017-11-29 08:59:31 -08:00
Sean Gillies
28cbe8fc58 Convert some patterns to raw strings, remove unused re imports 2017-03-27 10:19:22 +02:00
Sean Gillies
cda74ecf8d Skip instead of xfail 2016-12-07 15:53:08 +01:00
Sean Gillies
06e5ff6ce9 Update xfail condition 2016-12-07 12:34:55 +01:00
Sean Gillies
76c4814b59 Retract --nodata none in favor of --unset-nodata 2016-12-05 17:15:10 +01:00
Kevin Wurster
a71f3f0f1f Explicitly construct Affine() transforms rather than instantiating from Affine.from_gdal() 2016-06-14 10:44:03 -07: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
Erik Seglem
a31e3c8c16 Standardize on import numpy as np. 2016-06-01 22:47:33 -04:00
Sean Gillies
12f8fc7e3f New, lazier AWS sessions
New Env class and tests.
More logging, tests, safer environment
Remove usage (deprecated) of rasterio.drivers()
Also pep8 cleanups throughout the tests and a fix for unchecked
dtypes when opening a dataset in 'w' mode.
Now we can simply import warnings in __init__.py. In the
deprecations tests, we needed to see a single warning only one
time to avoid multiple drivers() warnings.
Add a global env.
Add rasterio.env.setenv()
2016-04-28 15:26:55 -06:00
Kevin Wurster
b9205b1fcb Remove references to read_band() but not the actual method. 2016-04-12 20:50:50 -04:00
Kevin Wurster
d60d40c3ca Remove references to write_band() but not the actual method. 2016-04-12 20:45:56 -04:00
Matthew Perry
7b4118a84b return tuples, not lists from DatasetReader 2016-04-11 11:34:14 -04:00
Sean Gillies
fdc6baab46 Switch to new try/with/except/finally structure
Also restructure the errors raised from cpl_errs.

Closes #600
2016-03-23 22:17:42 -06:00
Sean Gillies
5ccd342875 Add a single valued nodata property.
This is now the primary accessor for dataset nodata values.

Closes #329.
2015-04-22 09:44:05 -06:00
Sean Gillies
011a16560c Add a shortcut for setting band masks.
Since we can't unset a nodata value, this is the next best thing:

  dataset.write_mask(True)

Sets the dataset's valid data mask uniformly to True (255).

Closes #328.
2015-04-18 21:58:50 -06:00
Sean Gillies
a7c45b0788 Allow update of nodatavals in r+ mode. 2014-10-02 12:40:46 -06:00
Sean Gillies
943fa8e099 New layout, tests moved. 2014-09-01 22:00:56 -06:00