544 Commits

Author SHA1 Message Date
Sean Gillies
1dd8c86982 Add sieve and fix a bug in it.
Sieving of images read directly from GDAL was broken, but is now
fixed, with tests.
2015-02-18 09:47:17 -07:00
Sean Gillies
361f4f5083 Addition of bands(), map(), and partial() 2015-02-17 17:36:25 -07:00
Sean Gillies
a47904c45f Expose fillnodata in rio-calc.
First I enhanced fillnodata() so that it could use direct band
references. After that, I extended snuggs, giving rio-calc access
to band() and fillnodata() functions.
2015-02-15 11:57:05 -07:00
Sean Gillies
89ed798b6e Document rio-calc. 2015-02-15 10:47:30 -07:00
Sean Gillies
82dec1c503 Remove conflict. 2015-02-14 12:05:48 -07:00
Sean Gillies
dc0dfa238c Merge branch 'master' into TI-35
Conflicts:
	CHANGES.txt
	requirements-dev.txt
2015-02-14 11:47:05 -07:00
Sean Gillies
3f4d5ede4d Fix version spec. 2015-02-14 11:45:39 -07:00
Sean Gillies
5a3ace0431 Pin Cython version at 0.21.2
Closes #276.
2015-02-14 11:43:19 -07:00
Sean Gillies
adb221186e Pin Cython version at 0.21.2
Closes #276.
2015-02-14 11:40:53 -07:00
Sean Gillies
355c2cafc7 It's snuggs, not parsnip. 2015-02-13 21:27:12 -07:00
Sean Gillies
d7b75005c9 Update docstring. 2015-02-13 17:14:43 -07:00
Sean Gillies
bc97c1dc5e Updates for parsnip 1.0 2015-02-13 17:09:50 -07:00
Sean Gillies
5dbcc6f40f Yo, I hear you like parentheses...
Old syntax traded in for an easy to parse lisp-like syntax.
No need for a temporary variable and much more secure.
2015-02-12 13:52:40 -07:00
Sean Gillies
77c5f7d4b6 Update version and change log. 0.18 2015-02-10 13:25:25 -07:00
Sean Gillies
c6d8bfeb17 Add dataset ref by name feature. 2015-02-10 11:54:43 -07:00
Brendan Ward
41decb6ee1 Merge pull request #275 from mapbox/sampling
Sampling
2015-02-10 10:42:16 -08:00
Sean Gillies
aa5c81f756 Addition of temp val and output syntax.
100% coverage :)
2015-02-10 10:37:17 -07:00
Sean Gillies
fae80ead5d Update CLI doc. 2015-02-09 15:51:41 -07:00
Mike Toews
fa69eea246 Merge pull request #274 from mapbox/issue215
Add window_transform method.
2015-02-10 09:45:31 +13:00
Sean Gillies
145151e072 rio-sample with help and 100% coverage. 2015-02-09 12:39:40 -07:00
Sean Gillies
3f61be413c Add sample method and tests. 2015-02-09 11:17:56 -07:00
Sean Gillies
93a6e4017c Remove redundant assertions. 2015-02-09 10:30:21 -07:00
Sean Gillies
c79e88fd42 Add window_transform method.
Closes #215
2015-02-09 09:55:43 -07:00
Sean Gillies
dfae6afc86 Merge branch 'master' into TI-35 2015-02-08 11:13:14 -07:00
Sean Gillies
99e9689aeb Merge branch 'master' of github.com:mapbox/rasterio 2015-02-08 11:12:27 -07:00
Sean Gillies
5e6195ef2e Remove 'res' and 'lnglat' from .meta.
Prevents needless warnings when passing the meta dict back as
keyword args to open().
2015-02-08 11:10:58 -07:00
Sean Gillies
66ae338d97 Preserve masks when re-casting to float64.
Also test reducing a 3-band file to 1.
2015-02-08 10:57:39 -07:00
Sean Gillies
d8f3d9da30 Syntax for multipart/band commands. 2015-02-08 09:34:23 -07:00
Sean Gillies
7405a9947b Add syntax for output bands. 2015-02-07 22:58:49 -07:00
Sean Gillies
e49822e585 rio-calc, take 1.
Like this:

  $ rio calc "0.10*{1} + 125" tests/data/shade.tif out.tif

Results in a new hillshade with shade values of 125 instead of 0.
2015-02-07 15:51:43 -07:00
Brendan Ward
dc0307c720 Merge pull request #253 from mapbox/vendorize-gdalnodatafill
Vendorize rasterfill.cpp
2015-02-07 08:06:56 -08:00
Brendan Ward
8ee38de613 Merge pull request #270 from mapbox/mo-info
More info
2015-02-06 21:30:16 -08:00
Sean Gillies
f080b16583 Doc fix, return early, improve readability 2015-02-06 16:58:01 -07:00
Sean Gillies
781992ba9a Don't depend on dict item order. 2015-02-06 16:24:22 -07:00
Sean Gillies
c3732f7c76 Add new fields to rio-info.
Closes #269.

Required moving _transform() from _warp to _base so we could
avoid import Numpy as long as possible.

Also added stats to info output in --verbose mode, also accessible
using the --stats option.
2015-02-06 14:29:14 -07:00
Sean Gillies
4aa81a094c Preliminary support of moar info. 2015-02-06 12:14:24 -07:00
Sean Gillies
fcc13eb63c Merge pull request #266 from brendan-ward/rio_rasterize
Added rio-rasterize
2015-02-06 09:32:51 -07:00
Brendan Ward
774f898753 Added error for GeoJSON out of bounds of existing or --like raster 2015-02-05 21:19:38 -08:00
Brendan Ward
3823b075e9 Added rio-rasterize 2015-02-04 22:06:15 -08:00
Sean Gillies
6220d5b542 Merge branch 'master' of github.com:mapbox/rasterio 2015-01-29 10:08:28 -07:00
Sean Gillies
876b9a1e2b Even more guidance on the optional out arg.
Learned a lot about array views yesterday!
2015-01-29 10:07:39 -07:00
Sean Gillies
92ce29cc46 Add destination transform example 2015-01-28 17:44:58 -07:00
Sean Gillies
af3577d18f Merge branch 'master' of github.com:mapbox/rasterio 2015-01-28 15:15:08 -07:00
Sean Gillies
dc8682466c Documentation fix for read().
Closes #261.
2015-01-28 15:14:04 -07:00
Brendan Ward
9ca57276bb Merge pull request #259 from mapbox/deprofile
Remove cython profiling from _features and _warp.
2015-01-26 09:59:09 -08:00
Sean Gillies
056850e2aa Remove cython profiling from _features and _warp.
Should get a little speedup there. Also remove bounds check from
the _example.
2015-01-24 13:10:54 -07:00
Sean Gillies
12e79f07ba Remove wheel building script.
All its duties have been taken over by
https://github.com/sgillies/frs-wheel-builds.
2015-01-24 12:59:28 -07:00
Sean Gillies
4da914158f Merge pull request #258 from brendan-ward/cython_warnings
Removed Cython compile warnings
2015-01-23 09:57:20 -07:00
Brendan Ward
74a51c1910 Removed Cython compile warnings 2015-01-22 21:01:13 -08:00
Sean Gillies
3514b21b9e Reassign results of CSLSetNameValue. 2015-01-21 14:48:09 -07:00