1896 Commits

Author SHA1 Message Date
Matthew Perry
eab5ece9c1 == 2017-05-08 17:48:26 -06:00
Matthew Perry
1a016d7d82 fully cover OSR equivalence branch 2017-05-08 17:23:16 -06:00
Matthew Perry
eaf59aa750 add a __ne__ method for good measure 2017-05-08 16:54:27 -06:00
Matthew Perry
260ff878a6 allow comparison to dicts, clarify comments 2017-05-08 16:30:30 -06:00
Matthew Perry
00e2167e4b use dict equality, then fall back on osr comparison 2017-05-08 16:09:42 -06:00
Matthew Perry
185672846f add tests for empty CRS equality 2017-05-08 10:47:33 -06:00
Sean Gillies
d8e681b650 Merge pull request #1032 from jdmcbr/issue1008
Fix dtype check in dataset write
2017-05-08 16:23:42 +02:00
Sean Gillies
7a5bca9f09 Merge pull request #1031 from jdmcbr/issue1021
Switch OSRDestroySpatialReference to OSRRelease
2017-05-08 16:18:01 +02:00
Sean Gillies
e685ae8b86 Merge pull request #1025 from mojodna/small-shapes
Avoid generating shapes w/ 0-dimension
2017-05-08 16:01:37 +02:00
James McBride
659a59484d Fix dtype check in dataset write
It looks like the previously implemented data type check was not ever
being entered, due to checking for a 'type' attribute on a string. Since
the _init_dtype attribute is now always a string, remove this check and
related handling, so that now dtypes are checked for validity, providing
a more useful error message in case of an invalid dtype. Fixes #1008.
2017-05-05 22:24:39 -07:00
James McBride
61fe1cc6ca Switch OSRDestroySpatialReference to OSRRelease
Per issue #1021, `OSRRelease()` is safer.
2017-05-05 21:23:00 -07:00
Seth Fitzsimmons
766e9f0104 Correct scaling 2017-05-05 08:55:00 -07:00
Seth Fitzsimmons
e0c5ffafe9 Break out sampling factor for x and y dims
Use that to translate while scaling dimensions independently.
2017-05-04 13:59:22 -07:00
Sean Gillies
218d3740d4 Another warp test improvement 2017-05-02 14:26:01 +02:00
Sean Gillies
5d037bf102 Antimeridian splitting True 2017-05-02 14:08:36 +02:00
Sean Gillies
8fce96571b Merge pull request #1027 from mapbox/warp-ovr-lvl
Add missing builder methods
2017-05-02 12:42:26 +02:00
Sean Gillies
aefa7fb7f8 Resolves #1023 2017-05-02 12:34:13 +02:00
Seth Fitzsimmons
7df4ee1b68 Avoid generating shapes w/ 0-dimension
This could previously occur when one or more dimensions was smaller than
the sampling factor.
2017-05-01 13:14:43 -07:00
Sean Gillies
34bb94879f Merge pull request #1022 from mapbox/actually-mark-drivers-as-registered
Actually keep track of whether or not the drivers are registered
2017-04-27 09:44:10 +02:00
Kevin Wurster
4bce1e8456 Actually keep track of whether or not the drivers are registered. 2017-04-26 23:31:03 -04:00
Kevin Wurster
018ad55927 Merge pull request #1014 from mapbox/dont-instantiate-env-unless-necessary
Dont instantiate 'rasterio.Env()' in tests unless necessary
2017-04-26 10:40:43 -04:00
Kevin Wurster
83925cd5ae Merge pull request #1010 from mapbox/dont-create-env
Rely on @ensure_env for a GDAL environment
2017-04-26 10:40:33 -04:00
Sean Gillies
1eec843553 Merge pull request #1013 from jeremyh/master
Fix setup.py exception when no gdal is available
2017-04-26 16:36:34 +02:00
Sean Gillies
cae5e02085 Merge pull request #1015 from JesseCrocker/dont-set-invalid-proj_lib
Don’t set PROJ_LIB to a non-existing directory
2017-04-21 14:12:53 +02:00
Sean Gillies
779feaaa07 Merge pull request #1020 from morrme/patch-1
Fixed broken image URLs
2017-04-21 13:28:42 +02:00
morrme
5555982808 Update plotting.rst 2017-04-21 00:16:08 -05:00
morrme
e968c5a895 Update masking-by-shapefile.rst 2017-04-20 23:49:40 -05:00
morrme
de56364f7f Update masks.rst 2017-04-20 23:45:27 -05:00
Jesse Crocker
c7dd66c1db Don’t set PROJ_LIB to a non-existing directory 2017-04-17 05:41:31 -06:00
Kevin Wurster
ca8b17a180 Don't just write 'test.tif' in the current directory. 2017-04-13 20:01:22 -04:00
Kevin Wurster
57cc276757 Remove unnecessary 'rasterio.Env()' calls. 2017-04-13 19:58:21 -04:00
Kevin Wurster
bfad914bfb Remove unnecessary 'rasterio.Env()' calls. 2017-04-13 19:42:09 -04:00
Kevin Wurster
6b45ad07a4 Remove unnecessary 'rasterio.Env()' calls. 2017-04-13 19:41:34 -04:00
Kevin Wurster
dce70ca72d Remove unnecessary 'rasterio.Env()' calls. 2017-04-13 19:36:11 -04:00
Kevin Wurster
e5b72e522d Remove unnecessary 'rasterio.Env()' calls. 2017-04-13 19:35:41 -04:00
Kevin Wurster
de4ad3ea90 Cleanup import and docstring. 2017-04-13 19:28:20 -04:00
Jeremy Hooke
688a71a5bc Fix setup.py exception when no gdal is available
"File setup.py, line 134
NameError: name 'gdalversion' is not defined"
2017-04-13 08:50:54 +10:00
Kevin Wurster
2f86e42dbb Note about a breaking change. 2017-04-11 21:08:22 -04:00
Kevin Wurster
56a18521c6 Fix an indentation error. 2017-04-11 20:32:54 -04:00
Kevin Wurster
eb268df943 Rely on '@ensure_env' for a GDAL environment rather than explicitly creating one with 'rasterio.env.Env()'. 2017-04-11 20:26:32 -04:00
Kevin Wurster
279f95cbbf Rely on @ensure_env for a GDAL environment rather than explicitly creating one. 2017-04-11 20:19:23 -04:00
Kevin Wurster
5cb33d12eb Clean up imports. 2017-04-11 20:16:01 -04:00
Sean Gillies
bc4f708c21 Merge pull request #1006 from mapbox/cleanup-logging
Cleanup logging
2017-04-06 08:55:42 +02:00
Kevin Wurster
e08187d97d Use the correct logger. 2017-04-05 15:11:58 -04:00
Kevin Wurster
b077883fa6 Don't add an extra newline character when logging creation options. 2017-04-05 15:09:24 -04:00
Sean Gillies
994def271a Update change log, version, authors 1.0a8 2017-03-28 16:50:55 +02:00
Sean Gillies
294b61b77a Use raw strings for regex 2017-03-28 16:21:41 +02:00
Sean Gillies
787d618720 Merge pull request #997 from mapbox/issue996
Better defined and tested concurrent Envs
2017-03-28 16:20:58 +02:00
Sean Gillies
53222797e5 Improve comments, docstrings, and test extras reqs 2017-03-28 16:02:15 +02:00
Sean Gillies
28cbe8fc58 Convert some patterns to raw strings, remove unused re imports 2017-03-27 10:19:22 +02:00