524 Commits

Author SHA1 Message Date
Sean Gillies
4dd8620c75 Convert strings from Python into UTF-8 encoded bytes for GDAL. 0.2 2013-11-24 13:59:39 -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
9e75463935 Merge branch 'master' of github.com:sgillies/rasterio 2013-11-23 15:11:39 -07:00
Sean Gillies
634ac58c46 Restrict 'w' mode to GTiffs.
Closes #4.
2013-11-23 15:10:50 -07:00
Sean Gillies
47174984f0 Restrict 'w' mode to GTiffs.
Closes #3.
2013-11-23 15:09:29 -07:00
Sean Gillies
a0e0e251a1 Amend change note. It's not actually resampling. 2013-11-22 20:17:19 -07:00
Sean Gillies
a2fcff704c Decimate or replicate on read and write.
This is a feature of GDALRasterIO. When the out and src arrays given
to read_band and write_band have a different shape than the raster
dataset itself, decimation or replication of pixels will occur.

Closes #3.
2013-11-22 20:11:56 -07:00
Sean Gillies
6287816c93 Push changes and new version number. 2013-11-22 16:40:40 -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
46bfbbf073 Register using the long description from README.rst 2013-11-19 15:52:48 -07:00
Sean Gillies
79725eb911 Move README to rst. 2013-11-19 15:49:23 -07:00
Sean Gillies
c0f4b5b989 Exclude MANIFEST.in from sdist manifest. 2013-11-19 14:23:34 -07:00
Sean Gillies
89280eb352 Bail out of setup if Numpy isn't available.
Also add requirements files.
2013-11-19 14:12:49 -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
678294b530 Fix typo in readme. 2013-11-07 11:50:03 -07:00
Sean Gillies
cbc20d158d Update change log. 2013-11-06 22:58:52 -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
Sean Gillies
a0c962b6d4 Notes about running the tests. 2013-11-04 14:05:43 -07:00
Sean Gillies
c84bbfb13b First tests, of RasterReader as context manager.
Passing.

Passing.
2013-11-04 14:03:14 -07:00
Sean Gillies
002c0fcd68 Add README, license, list of authors. Make count a property. 2013-11-04 12:00:19 -07:00
Sean Gillies
e37439668b Initial commit of rasterio package.
It reads byte type bands to numpy ubyte arrays.
2013-11-03 10:23:50 -07:00