23 Commits

Author SHA1 Message Date
Jonas
f7762ae91d support geometry type LinearRing (#1432)
* support geometry type LinearRing

* fix bugs in test_is_valid_geom_ring
2018-07-31 17:10:22 -06:00
Sean C. Gillies
43d3f7b4f0 Remove xfail marker, address other feedback
Also a little test cleanup
2018-05-15 11:33:35 -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
Andrew Catellier
2b9eb086ae add tests for dataset rotation 2018-02-15 16:40:14 -07:00
Brendan Ward
a9e8821b7d Merge branch 'master' into issue1253 2018-02-07 20:33:26 -05:00
Brendan Ward
3c205cf9ee Flatten GeometryCollection to individual parts before rasterize 2018-02-07 20:30:52 -05:00
Brendan Ward
870cdd62f7 Add tests for __geo_interface__ for bounds and raster_geometry_mask 2018-02-05 05:35:53 -08:00
Brendan Ward
5f1eaa869b XFailing test for gdal geometrycollection rasterize bug 2018-02-03 17:59:32 -08:00
Brendan Ward
eca50a816e Use enum for rasterize merge algorithm 2018-01-10 20:58:46 -08:00
Brendan Ward
fded0b1d44 Converted a few test xfails to skip, dropped or modified a few others 2017-11-30 20:13:16 -08:00
Frédéric Bonifas
d913a39579 change the rasterize option merge_alg_add to merge_alg 2017-11-13 18:00:59 +01:00
Frédéric Bonifas
095f649532 test the merge_alg_add option of rasterize 2017-11-08 14:13:55 +01:00
Brendan Ward
8971e0ffc6 Additional validation and test of rasterize 2017-11-04 13:55:28 -07:00
Brendan Ward
c542992631 raise error on invalid shape for InMemoryRaster, and associated tests 2017-11-04 13:26:25 -07:00
Brendan Ward
79062b42a1 Prevent segfaults in rasterize (#1176)
* Add better check for GeoJSON inputs to rasterize and associated tests
* Restructured OGRGeomBuilder to avoid segfault
2017-10-19 06:48:45 -07:00
Brendan Ward
c54e22da24 Raise WindowError from geometry_window 2017-09-19 19:34:21 -07:00
Brendan Ward
330574fd90 Refactored mask functionality, updated tests 2017-09-11 20:59:02 -07:00
Kevin Wurster
e5b72e522d Remove unnecessary 'rasterio.Env()' calls. 2017-04-13 19:35:41 -04:00
Matthew Perry
9fa708269b enforce that out_shape is 2D 2016-08-15 18:27:36 -04:00
Erik Seglem
44c3d9badf Replace drivers with Env in docs and examples (#760)
Replace rasterio.drivers with rasterio.Env.
2016-06-02 19:01:18 -07: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
Brendan Ward
15772d8d33 Refactor of features tests 2015-11-08 20:25:36 -08:00