276 Commits

Author SHA1 Message Date
Sean Gillies
d75cca264e Structure and document rio command line interface.
Closes #106.
2014-07-14 11:06:46 -06:00
Sean Gillies
d557ca957f Add click to requirements. 2014-07-11 10:42:29 -05:00
Sean Gillies
fe9c406407 Towards a fix of #105. 2014-07-11 00:32:35 -05:00
Sean Gillies
c1dadc6933 When possible, pull EPSG code out into crs.
Towards a fix of #102.
2014-07-10 23:16:43 -05:00
Sean Gillies
3aaf80c3a0 Datasets doc update. 2014-07-09 15:27:33 -05:00
Sean Gillies
86af7368e4 Update concurrency doc and example. 2014-07-02 17:23:40 -06:00
Sean Gillies
7c419bd612 Add a more notes inline. 2014-07-02 17:03:34 -06:00
Sean Gillies
09d2581cfc Add a nogil function to help async example. 2014-07-02 16:54:48 -06:00
Sean Gillies
1f2a30c431 Add plt to rio_insp locals. 2014-07-02 16:50:28 -06:00
Sean Gillies
f733459c53 Test of CMYK photometric option. 2014-07-02 14:47:46 -06:00
Sean Gillies
79639c4d2b Remove write_colorinterp().
GDAL doesn't really support in-place modification of band
color interpretation, as mentioned in #100.
2014-07-02 14:28:02 -06:00
Amit Kapadia
9903d59a71 remove return from colorinterp setter 2014-07-02 10:11:46 -07:00
Amit Kapadia
39d3eebbd4 return colorinterp on getter method 2014-07-02 10:10:11 -07:00
Amit Kapadia
9ece56c8e8 return enum value for color interp 2014-07-02 10:08:49 -07:00
Amit Kapadia
716e7d65cf add enums for colorinterp 2014-07-01 18:17:19 -07:00
Amit Kapadia
890d2dfeb5 write the color interpretation 2014-07-01 18:00:53 -07:00
Amit Kapadia
5902672da7 adding support for color interpretation 2014-07-01 17:26:45 -07:00
Sean Gillies
88bf610049 The other 3 GDAL complex types. 2014-06-27 16:13:09 -06:00
Sean Gillies
4886bb497d Closes #99. 2014-06-27 13:11:46 -06:00
Sean Gillies
573b2051f7 Support for GDAL CInt16 datasets.
Closes #97.

No tests specifically for this data type. Other complex types
are TBD.
2014-06-27 12:33:47 -06:00
Sean Gillies
c3be5461b0 Remove debug statement. 2014-06-26 22:37:00 -06:00
Sean Gillies
b7acc161f5 Note fix of #98. 2014-06-26 15:30:44 -06:00
Sean Gillies
6aba2d976e Allow reprojection of multi-band arrays.
Closes #98.
2014-06-26 15:28:45 -06:00
Sean Gillies
ecac3dbe1d Test and document use of default bidx in block_windows(). 2014-06-25 11:57:32 -06:00
Sean Gillies
9e54164c76 Turn off array bounds checking.
Also let block_windows() default to bidx 1 when band block shapes
are homogeneous.
2014-06-25 11:41:15 -06:00
Sean Gillies
af1933d9b2 read_band() delegates to read()
With the help of new io_multi* functions.

Closes #96.
2014-06-25 11:13:28 -06:00
Sean Gillies
6c8c3ad751 Explanation of from whence the speedup comes. 2014-06-19 13:14:17 -06:00
Sean Gillies
547602a8d0 More comments in the new async-rasterio.py example. 2014-06-19 13:09:27 -06:00
Sean Gillies
0094f2eade Buh bye to the old parallel example. 2014-06-17 17:29:49 -06:00
Sean Gillies
296520dc41 Make that 3x. 2014-06-17 17:08:27 -06:00
Sean Gillies
7063d32b37 Add concurrent processing doc.
Also release GIL when warping, but this has no speedup in practice.
2014-06-17 16:51:52 -06:00
Sean Gillies
2aaeec48ce Add more comments to the example. 2014-06-17 10:36:19 -06:00
Sean Gillies
a1f8b9ad5f Release GIL around GDALRasterIO.
Also add Python 3.4 example of using thread pool executor from
concurrent.futures.
2014-06-16 17:57:50 -06:00
Sean Gillies
b8c4311394 Merge pull request #94 from mwtoews/master
Change behaviour of `masked=None` for read()
2014-06-11 12:07:01 -07:00
Sean Gillies
36ab60d642 ValueError instead of wrong windows.
Closes #93.
2014-06-11 09:03:04 -07:00
mwtoews
3fd0fe851f Change behaviour of masked=None` for read()
- If `out` is supplied, the use of a mask respects this array type
 - Otherwise, masked is determined if any of the nodatavals are not None
 - Dimensions of `out` (if used) are checked, and raise ValueError if
   not expected (this didn't work previously)
 - Reflect above changes in test_read.py
 - Complete function documentation for `read()` in code (but not elsewhere)
2014-06-12 00:11:37 +12:00
Sean Gillies
afa527e290 Merge pull request #92 from AsgerPetersen/fix/nan
Fix read() when nodatavalue is NaN and masked is None
2014-06-10 09:57:15 -07:00
AsgerPetersen
23466d838a Fix read() when nodatavalue is NaN and masked is None 2014-06-10 10:47:53 +02:00
Sean Gillies
6990c36170 Add 5 changes to log. 2014-06-09 17:27:50 -07:00
Sean Gillies
06e6e79485 Leave GDAL finalization to gdaldlmain:GDALDestroy().
Closes #91
2014-06-09 17:05:24 -07:00
Sean Gillies
c4b458bfcf Merge branch 'master' of github.com:mwtoews/rasterio into mwtoews-master
Conflicts:
	rasterio/_io.pyx
2014-06-03 11:05:28 -06:00
Sean Gillies
c414da9c59 Freetype was already at the latest version. 2014-06-03 09:34:58 -06:00
Sean Gillies
7e9cfeb0f1 Proper initialization of pointers.
Closes #90.
2014-06-03 09:21:29 -06:00
Sean Gillies
68855fe160 Add libfreetype6. 2014-06-03 09:08:01 -06:00
mwtoews
8f0c1edadb Improve read() to handle NaN as NODATA; add tests 2014-06-04 01:59:05 +12:00
Sean Gillies
de656a1d4d Finalize config before library cleanup.
Toward a fix of #87.
2014-06-02 16:38:59 -06:00
Sean Gillies
b750ce7e33 Stub for section on writing data. 2014-06-02 16:07:30 -06:00
Sean Gillies
fd63900530 Add repo with -y 2014-06-02 15:41:05 -06:00
Sean Gillies
9f28b39b6d Add the ubuntugis ppa back in. 2014-06-02 15:38:27 -06:00
Sean Gillies
9abfb51409 Install dependencies with -y
Towards a fix of #88.
2014-06-02 15:20:32 -06:00