Sean Gillies
6770b70b94
Reprojection of images.
...
Both ndarray to ndarray and inter-dataset reprojections are
possible. TODO:
- Add the finer warping options.
- Use valid data masks when warping.
- Test data types other than uint8.
- Make warping of big datasets chunky. Though we do have the
option of rasterio dataset windows.
Lots of improvements to be made. Much cargo, very culting. I've
still a lot to learn in the intersection of Cython, C++, and
GDAL's warping API.
Closes #12 .
2014-02-23 22:50:26 -07:00
Sean Gillies
c73c05cee2
Add missing _io.pxd.
2014-02-12 21:46:24 -07:00
Sean Gillies
832c7638c1
Merge branch 'issue34' of github.com:sgillies/rasterio into issue34
2014-02-12 21:37:21 -07:00
Sean Gillies
7b95da21fe
Issue #38 .
2014-02-12 21:36:27 -07:00
Sean Gillies
e21ed53324
Oops, was issue #34 .
2014-02-12 21:35:37 -07:00
Sean Gillies
4776f38a19
Band shortcut.
...
Makes the functions in rasterio.features faster (#34 ).
2014-02-12 21:35:14 -07:00
Sean Gillies
beb008e3b3
Merge branch 'master' of github.com:sgillies/rasterio
2014-02-11 11:55:04 -07:00
Sean Gillies
3ed1a7443b
Add private function to get GDAL type names.
2014-02-11 11:54:24 -07:00
Sean Gillies
5eff0674be
Update change log.
0.6
2014-02-10 14:38:41 -07:00
Sean Gillies
e3ffa0c404
Add code block and finalize method rename.
2014-02-10 14:25:02 -07:00
Sean Gillies
d144e51e86
Document colormaps, change method name.
2014-02-10 14:21:40 -07:00
Sean Gillies
a6e441be10
Document reading and writing of tags.
2014-02-10 13:58:02 -07:00
Sean Gillies
00fe3455c8
Note changes from #34 and bump version.
2014-02-09 10:45:51 -07:00
Sean Gillies
5f6ee10477
Basic support for RGBA colormaps.
...
This work also exposed a terrible bug resulting from using
'foo is NULL' instead of 'foo == NULL'. Am now testing the revolving
door case to make sure this never crops up again.
2014-02-09 10:39:36 -07:00
Sean Gillies
8d2271ad24
Add and test support for unicode tags.
...
Also rename 'domain' kwarg to 'ns'. This is it for issue #32 .
2014-02-08 09:37:51 -07:00
Sean Gillies
38336a2dba
Switch to pytest for Travis.
2014-02-08 08:29:04 -07:00
Sean Gillies
6b29b2e15c
Add support for dataset and band tags ( #32 )
...
GDAL calls these items "metadata" but I think "tags" suits
rasterio better.
2014-02-07 23:33:44 -07:00
Sean Gillies
e0b93e02c6
Add the script.
...
Whoops. Thank you Travis, for letting me know.
0.5.1
2014-02-02 10:24:14 -07:00
Sean Gillies
9c23e12b7e
Updates for 0.5.1.
...
Inspector now appears as bin/rasterio.insp.
2014-02-02 10:15:43 -07:00
Sean Gillies
2ca28d5e06
Merge pull request #29 from jseppi/patch-1
...
Fixed typo
2014-02-02 09:05:14 -08:00
Sean Gillies
3f4de44665
A couple more interpreter example lines.
2014-01-31 13:35:45 -07:00
Sean Gillies
1a57df90f0
Add note about the interactive interpreter.
2014-01-31 13:30:57 -07:00
James Seppi
416da9aa1a
Fixed typo
2014-01-31 12:10:33 -06:00
Sean Gillies
ea9a397ca7
Improvements to the interpreter/tool.
2014-01-31 09:50:29 -07:00
Sean Gillies
045091a2b8
Merge branch 'master' of github.com:sgillies/rasterio
2014-01-30 22:28:57 -07:00
Sean Gillies
e2f12fd52e
An interactive interpreter tool.
...
Like gdalinfo but with a python prompt.
2014-01-30 22:27:26 -07:00
Sean Gillies
acac123099
Update readme.
...
Add Travis badge, new description, more install directions.
2014-01-28 15:47:55 -07:00
Sean Gillies
be85a4af04
Merge branch 'master' of github.com:sgillies/rasterio
2014-01-28 15:17:29 -07:00
Sean Gillies
aceb2d5104
Travis configuration.
...
See #28 .
2014-01-28 15:16:07 -07:00
Sean Gillies
cd75b7fdf6
Improve installation notes.
2014-01-27 13:37:33 -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
3fd6e4603e
Closed datasets' meta attributes restored.
...
Adding nodata to the meta dict exposed a problem where that
property would be left undefined when a dataset was closed.
Also document the new context manager in the README.
0.5
2014-01-22 15:43:14 -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
5a6f360085
Improve docstrings for sieve() and shapes().
...
Also restrict to uint8 dtype. To be relaxed maybe in the future.
2014-01-21 15:02:02 -07:00
Sean Gillies
9b9237739f
Add logging and tests for driver management.
...
Closes #23 .
2014-01-21 14:47:54 -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
60f3347968
Raster feature sieving (issue #21 )
...
More or less working already.
2014-01-20 12:27:17 -07:00
Sean Gillies
71b61bbcc1
Add affine transform arg to shapes() ( #20 ).
...
This gets handed to the in-memory vector feature store so that we
can get shapes in world coordinates.
2014-01-18 01:44:18 -07:00
Sean Gillies
494b9906b2
rasterio.features.shapes() yields feature shapes ( #20 ).
...
GeoJSON-ish features are excessive, so now shapes() simply yields
a geom, image_value pair. This let me delete a bunch of Cython code.
It's easy enough to make features out of these if needed.
2014-01-18 00:36:13 -07:00
Sean Gillies
2fb478cf13
Add test of polygonizing for #20 .
...
No disk files used in this test :)
2014-01-17 16:38:42 -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
59f5432925
Begin work on features module for #20 .
2014-01-16 22:44:47 -07:00
Sean Gillies
9ea78a5736
Change type of nodata vals from double to object.
...
So that it can be None when needed.
2014-01-10 10:33:39 -07:00
Sean Gillies
74068f66a3
Small tweaks following up on #19 .
2014-01-06 10:15:59 -07:00
Sean Gillies
0f1699e7cc
Merge pull request #19 from AsgerPetersen/master
...
Extend doc on affine transforms
2014-01-06 08:58:33 -08:00
AsgerPetersen
06f7f57b26
Extend doc on affine transforms
2014-01-06 14:08:50 +01:00
Sean Gillies
ea82c3c592
Testing copying and tag 0.4.
2013-12-19 21:26:56 -07:00
Sean Gillies
29cdec97e8
Change nodata of test data to 0.
0.4
2013-12-19 10:47:11 -07:00