25 Commits

Author SHA1 Message Date
Sean Gillies
46a5c9d1d2 Tiled GeoTIFF bug fixes and improvements
Resolves #520, #1760
2019-08-29 14:51:47 -06:00
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
0538b55d46 Make block_shapes and files into lists 2018-05-25 11:27:50 -06:00
Sean C. Gillies
12f15ff51c Remove all deprecated features* and update tests
*except reading from datasets in "w" mode, which will wait one
more pre-release or two.
2018-04-13 16:43:26 -06:00
vincentsarago
8835672af1 Remove window_index from __init__.py 2018-04-11 10:56:42 -04:00
vincentsarago
acaaa0e67f Remove window_shape from __init__.py 2018-04-11 10:51:01 -04:00
vincentsarago
5fa43b12f0 Remove eval_window() etc from __init__.py 2018-04-11 10:47:28 -04: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
Sean Gillies
bc3ea193a3 Merge branch 'master' into issue1077 2017-07-31 14:46:34 -07:00
Sean Gillies
b94cc6d2ac Split block() method into block_window() and block_size()
Now instead of dancing around failure or non-implementation of
the later we can fail outright.
2017-07-27 17:59:40 -06:00
Sean Gillies
0a2b6e93b3 Skip block info test for GDAL < 2.0 2017-07-14 11:13:49 +02:00
Sean Gillies
825d127ea1 Pin attrs version, watch out for NULL, block info is namedtuple 2017-07-14 10:48:02 +02:00
Sean Gillies
fed3bcaed7 Add a block() method to dataset objects.
block() return the window and size in bytes of a TIFF block. The
size is undefined for other formats and will be None.

Resolves #1077
2017-07-13 16:06:40 +02:00
Sean Gillies
16ed26c4a0 Eliminate use of deprecated boundless keyword
Resolves #1082
2017-07-13 13:20:28 +02:00
Sean Gillies
f0d3eb0bfb Fix last lingering window errors 2017-06-28 15:05:16 +02:00
Sean Gillies
b8b5df23b9 Add deprecation warning for old style range tuples 2017-06-11 16:15:02 +02:00
Sean Gillies
3089c728da New impl for Window class
An offset and length representation of windows avoids unnecessary
additions and subtractions that can lead to loss of precision.

A consequence is that we can no longer assert equality between
instances of Window and range tuples because Window no longer
subclasses tuple.

Rasterio is now ready for floating point windows.
2017-06-10 18:42:49 +02:00
Sean Gillies
99eaa70967 Add tests of filtering block windows 2017-03-15 11:00:06 +01:00
Erik Seglem
a31e3c8c16 Standardize on import numpy as np. 2016-06-01 22:47:33 -04: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
3304f8be45 Closes #520 2015-11-05 16:59:37 -07:00
Sean Gillies
943fa8e099 New layout, tests moved. 2014-09-01 22:00:56 -06:00