524 Commits

Author SHA1 Message Date
Brendan Ward
c72293610e Added support for additional data types and mask in sieve function 2014-10-02 21:07:33 -07:00
Sean Gillies
dfcb119ec6 Closes #167. 0.14.1 2014-10-02 12:50:11 -06:00
Sean Gillies
9b3fdcef55 Merge pull request #169 from mapbox/issue167
Allow update of nodatavals in r+ mode.
2014-10-02 12:48:37 -06:00
Sean Gillies
a7c45b0788 Allow update of nodatavals in r+ mode. 2014-10-02 12:40:46 -06:00
Sean Gillies
8df7c6d487 Walk Python value more gently to C string. 2014-10-01 21:45:45 -06:00
Sean Gillies
6582bc85ba Doc update. 2014-10-01 16:46:13 -06:00
Sean Gillies
19b32ac2e2 Moar shapes documentation. 0.14 2014-10-01 16:25:59 -06:00
Sean Gillies
686ebf5914 Bump version and note changes.
0.14 release is imminent.
2014-10-01 15:56:37 -06:00
Sean Gillies
29b0923b64 Merge branch 'master' of https://github.com/mapbox/rasterio
Conflicts:
	rasterio/rio/features.py
2014-10-01 15:48:21 -06:00
Sean Gillies
7223283b78 Expanded capabilities for rio shapes.
Closes #150.

Switch CLI over to faster transforms.

Also add option for output precision.

Closes #163.
2014-10-01 15:33:20 -06:00
Sean Gillies
7cd98f726b Merge pull request #160 from mapbox/issue150
Expanded capabilities for rio shapes.
2014-09-30 15:41:34 -06:00
Sean Gillies
70828e8b52 Expanded capabilities for rio shapes.
Closes #150.
2014-09-30 15:27:32 -06:00
Sean Gillies
0b33975f1b Merge pull request #158 from brendan-ward/issue138
Added support for additional data types in shapes
2014-09-30 10:42:53 -06:00
Brendan Ward
85d8daea19 Added support for additional data types in shapes 2014-09-29 22:15:58 -07:00
Sean Gillies
23caee55d7 Free pointer to metadata strings.
Follow up to #145. Thanks, @mwtoews :)
2014-09-29 09:26:44 -06:00
Sean Gillies
201b94eb20 Update change log. 2014-09-28 21:56:32 -06:00
Sean Gillies
da100f83f6 Merge pull request #157 from mapbox/issue145
Issue145
2014-09-28 21:53:49 -06:00
Sean Gillies
65a3f6d123 Clone metadata list before modifying.
Test of multiple update to tags.

New branch for this test because it's a crasher.

Boom!
2014-09-28 21:39:57 -06:00
Sean Gillies
6b614f2790 Test of multiple update to tags.
New branch for this test because it's a crasher.

Boom!
2014-09-28 21:33:16 -06:00
Sean Gillies
e250474583 Merge pull request #155 from brendan-ward/issue136
Added support for additional data types for rasterize function
2014-09-27 13:38:09 -06:00
Brendan Ward
bbcb8ec682 Added support for additional data types for rasterize function
This includes a utility function to aid IO with bands based on data
type, and a wrapper class for working with in-memory GDAL raster
datasets and bands for use with GDAL functions in cython.

Includes additional validation logic for data type in rasterize.

Includes additional test cases for data type support.
2014-09-26 11:55:16 -07:00
Sean Gillies
eb5216708d Update change log. 0.13.2 pre-merge-155 2014-09-23 16:02:52 -06:00
Sean Gillies
3f37f6cce4 Use Cython>=0.20 and Numpy>=1.8. 2014-09-23 15:55:41 -06:00
Sean Gillies
225b96b9cc Add enum34 to requirements.
Should be harmless on Python 3.4.

Closes #149.
2014-09-16 11:54:21 -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.
0.13.1
2014-09-13 15:08:45 -07:00
Sean Gillies
d021e090a2 SetNameValue instead of AddNameValue.
For #145.
2014-09-12 16:43:36 -07:00
Sean Gillies
940654346c Exit read_crs early when there's no projection.
This wraps up #117 for good.
2014-09-12 09:16:48 -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
cb730dc04d Add a test of repeated tag update.
For #145.
2014-09-11 10:57:34 -07:00
Sean Gillies
8826844747 Update change log. 0.13 2014-09-09 18:50:37 -06:00
Sean Gillies
7cb6bc2984 Add missing options module. 2014-09-08 14:37:56 -06:00
Sean Gillies
4052a3d9fe Add rasterio.rio to setup's packages.
Also add a couple tests that had been missed.

For #137.
2014-09-08 14:23:21 -06:00
Sean Gillies
4c8f33cfe0 Don't import cStringIO in test_cli.py 2014-09-05 19:51:52 -06:00
Sean Gillies
46228adb79 Add crs module. 2014-09-05 16:29:40 -06:00
Sean Gillies
ae3bbbb020 Closes #143. 2014-09-05 16:28:28 -06:00
Sean Gillies
32969aef02 Merge pull request #142 from mapbox/rio-entry-point
Rio entry point
2014-09-05 15:34:50 -06:00
Sean Gillies
0d381c7009 Migrate 3 legacy scripts to entry points. 2014-09-05 15:00:46 -06:00
Sean Gillies
60fe860258 Switch to console scripts entry points.
For #137.
2014-09-05 15:00:46 -06:00
Sean Gillies
00a91ab692 Merge pull request #141 from mapbox/issue140
Refactor to avoid unneeded numpy imports.
2014-09-05 14:26:59 -06:00
Sean Gillies
4e53e3ca2d Refactor to avoid unneeded numpy imports.
Closes #140.

Fairly easy because Numpy methods accept either strings like
`'uint8'` or types like `np.uint8` as dtypes. So do Rasterio
methods now.
2014-09-05 14:11:36 -06:00
Sean Gillies
2629a84e39 Several single item options for rio info.
Closes #139.
2014-09-05 09:00:14 -06:00
Sean Gillies
2373213ba9 Just install with pip -e.
Making and installing from an sdist isn't trivial, needs a little
more thought.
2014-09-02 16:24:25 -06:00
Sean Gillies
25deb8a693 Remove rasterio.rio from packages. 2014-09-02 14:57:23 -06:00
Sean Gillies
9bdc446dbc Make an sdist and install it.
This shakes out packaging problems as well as library bugs.

See #135.
2014-09-02 14:30:06 -06:00
Sean Gillies
f86703cd46 The rasterio.rio package was missing.
Tests that installed from an sdist would have caught this. Should
look into that.

Closes #135.
0.12.1
2014-09-02 14:21:45 -06:00
Sean Gillies
14eeb43670 Merge branch 'master' of github.com:mapbox/rasterio 2014-09-02 13:01:18 -06:00
Sean Gillies
155128aabd Update authors, change log, version number. 0.12 2014-09-02 12:58:41 -06:00