46 Commits

Author SHA1 Message Date
Sean Gillies
ec4cfa8fe8 More robust out/output switching.
Port sieve example to warning free code.
2014-10-11 09:33:12 -06:00
Sean Gillies
87e9bbd2b9 output is superceded by out.
Warn if `output` is used.

Closes #179.
2014-10-11 09:26:41 -06:00
Sean Gillies
b60e463533 Screen input shapes to prevent GDAL crashes.
Add support for Python geo interface, too.

Closes #146.
2014-09-16 11:34:37 -06:00
Sean Gillies
68b6a7e76a New notebook section. 2014-09-13 21:22:25 -07:00
Sean Gillies
210fe503ce Bump version, note changes.
Also remove the double tag update test, which is crashing. I'll
add back in a new branch.
2014-09-13 15:08:45 -07:00
Sean Gillies
2fee71152d Remove cells. 2014-09-11 16:02:15 -07:00
Sean Gillies
03a636fa9f Notebook of introductory examples. 2014-09-11 15:50:18 -07:00
Sean Gillies
3f44601183 Change paths in docs and examples. 2014-09-01 22:04:52 -06:00
Sean Gillies
e5f8ce42c8 Update example for readme. 2014-07-21 11:08:46 -06:00
Sean Gillies
9cdc1565b6 Closes #108 2014-07-16 14:12:17 -06: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
ecac3dbe1d Test and document use of default bidx in block_windows(). 2014-06-25 11:57:32 -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
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
1be2c0ff58 Wrapping up work toward #86.
All tests pass, all examples are working.

TODO: docs.
2014-05-30 14:32:43 -06:00
Sean Gillies
8762f8d05e Better support for existing applications.
A deprecation warning is raised from the transform property and
an affine property is added to provide the new feature.

For method and function arguments, we sniff out GDAL geotransforms
and try to do the right thing with them, also raising deprecation
warnings in these cases.
2014-05-29 22:29:41 -06:00
AsgerPetersen
12a9f37ac7 Set co tiled=yes to actually use blockxsize 2014-05-10 13:42:17 +02:00
Sean Gillies
eb9a61f27c Clean up and explain better. 2014-04-24 15:24:23 -06:00
Sean Gillies
276e0d1c4e An example of parallel processing.
See #60.
2014-04-23 14:57:01 -06:00
Brendan Ward
707190f425 Fixed example and improper pattern for setting options passed to GDAL in rasterize function. 2014-03-31 10:33:26 -07:00
Brendan Ward
0eac96a4ce Added example script for rasterize. 2014-03-28 15:42:35 -07:00
Sean Gillies
ac3a760ea7 Finish reprojection doc. 2014-03-08 14:49:31 -07:00
Sean Gillies
161bf807c7 Add reprojection example and doc. 2014-03-08 14:32:05 -07:00
Sean Gillies
3898c3273b Add mask option to shapes().
This lets you exclude background pixels if you're only interested
in foreground shapes and saves a significant amount of time.

Closes #26.
2014-01-27 09:08:44 -07:00
Sean Gillies
203cb84d59 Add nodata to meta dict.
Also add a polygonzing example script.
2014-01-22 14:08:26 -07:00
Sean Gillies
92c4cea27a Driver management (#22) and sieving (#21).
Big ugly commit, forgive me.
2014-01-21 14:19:42 -07:00
Sean Gillies
892bf372f4 Intermediate commit, adding driver contexts (#21) 2014-01-21 10:56:28 -07:00
Sean Gillies
cdfa4f6e93 Fully working sieve() (#21)
Also added a dtypes item to meta dict.
2014-01-20 17:06:03 -07:00
Sean Gillies
29cb0b7344 Working polygonize function (#20).
TODO: tests, better examples, removal of unneeded code copied
from Fiona.
2014-01-17 01:08:09 -07:00
Sean Gillies
d0173ea4d4 Order RGB properly and show writes within loop. 2013-12-16 09:12:10 -07:00
Sean Gillies
6abc2c1973 Update readme example and add image. 2013-12-15 16:50:50 -07:00
Sean Gillies
b835873318 Improved readme, requirements, example and config for 0.2. 2013-11-24 13:24:45 -07:00
Sean Gillies
788826e9b3 Tests of copying and implementation of creation options.
Closes #5.
2013-11-24 09:13:20 -07:00
Sean Gillies
8703afc0ac Add a _copy module with RasterCopier class.
First swing at exposing CreateCopy. Works, but creation options not
fully implemented.
2013-11-23 21:59:38 -07:00
Sean Gillies
634ac58c46 Restrict 'w' mode to GTiffs.
Closes #4.
2013-11-23 15:10:50 -07:00
Sean Gillies
f2a60fd7a6 Change band indexes to start at 1.
read_band(1) gets the first band (formerly index 0). New indexes attribute
returns a list of band indexes. A 3-band raster will have indexes: [1,2,3].

Fixes #2.
2013-11-22 16:37:30 -07:00
Sean Gillies
f413e9db5e Add dataset creation options. 2013-11-12 22:57:05 -07:00
Sean Gillies
51b177e2f6 Add example of using meta attributes. 2013-11-07 12:09:54 -07:00
Sean Gillies
5bcda751d0 Basic read and write of GeoTIFFs with plenty of tests.
And an example script, which also appears in the readme.
2013-11-06 22:56:44 -07:00