524 Commits

Author SHA1 Message Date
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
c6d8bfeb17 Add dataset ref by name feature. 2015-02-10 11:54:43 -07:00
Sean Gillies
aa5c81f756 Addition of temp val and output syntax.
100% coverage :)
2015-02-10 10:37:17 -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
Sean Gillies
ec3a5ea342 Make MEM the default temp file driver.
Because we don't want temp TIFFs for Rasterio.
2015-01-21 09:33:33 -07:00
Sean Gillies
3921032fb3 More error avoidance and handling. 2015-01-20 17:28:08 -07:00
Sean Gillies
aff47450cc Note fix of #254, bump patch level. 0.17.1 0.17.1post1 2015-01-20 16:20:42 -07:00
Sean Gillies
b05bf577cd Merge pull request #255 from mapbox/tag-equality
Tag equality
2015-01-20 16:18:11 -07:00
Sean Gillies
876917e8f1 Limit number of splits to 1.
Closes #254.
2015-01-20 14:57:21 -07:00
Sean Gillies
95c4e37e04 Confirming issue #254 is a bug. 2015-01-20 14:53:34 -07:00
Sean Gillies
97f58875d7 Final tweaks on rasterfill.
I've sent a copy to GDAL:
https://github.com/OSGeo/gdal/pull/47.
2015-01-20 14:05:18 -07:00
Sean Gillies
62cc9168c4 Add option to specify temp file driver. 2015-01-20 13:49:05 -07:00
Sean Gillies
5c1e9eb1ab Add MEM driver version of rasterfill.cpp.
Include in setup sources.
2015-01-20 13:02:09 -07:00
Sean Gillies
97b05ba2e1 Merge branch 'fill' of https://github.com/snorfalorpagus/rasterio into vendorize-gdalnodatafill 2015-01-20 12:42:15 -07:00
Brendan Ward
3b8e1c7e9d Merge pull request #252 from mapbox/setup-proj-lib
Find PROJ data using PROJ_LIB env var.
2015-01-16 11:54:07 -08:00
Sean Gillies
2eec7524a1 Find PROJ data using PROJ_LIB env var. 2015-01-16 12:35:59 -07:00
Sean Gillies
10ce9009ff Merge pull request #250 from mwtoews/setuptools
Use setuptools>=0.9.8 since earlier versions don't Cythonize C files
2015-01-16 12:28:42 -07:00
Mike Toews
929ad74bd5 Sort imports alphabetically 2015-01-16 11:59:09 +13:00
Mike Toews
ba3a1645a4 Use setuptools>=0.9.8 since earlier versions don't Cythonize C files
Change Extension import from distutils to setuptools

Also add "-W all" debug output to setup.py logger
2015-01-16 11:17:09 +13:00
Sean Gillies
e5c637324d Bump version and note changes for 0.17 0.17 2015-01-15 13:04:08 -07:00
Brendan Ward
3182186fae Merge pull request #247 from mapbox/issue242
Relax same-extent and same-resolution constraints in rio-merge
2015-01-13 21:08:23 -08:00
Sean Gillies
0cde25b9cd Merge branch 'master' into issue242
Conflicts:
	rasterio/rio/merge.py
2015-01-13 20:50:28 -07:00
Sean Gillies
f686ccad70 Fix expected value for float test. 2015-01-13 17:36:24 -07:00
Sean Gillies
09582c7b8f Watch out for undefined 'info'.
Also get merge.py coverage back to 100% (nodata and floats).
2015-01-13 17:18:59 -07:00