73 Commits

Author SHA1 Message Date
Brendan Ward
ced7fa3bcd basic rio-warp in place 2015-07-10 22:36:51 -07:00
Kevin Wurster
90f8d842a4 Pull in rio-insp changes from master. 2015-06-03 16:59:02 -04:00
Brendan Ward
4429c4442e Omit cython extra_compile_args on Windows 2015-06-02 16:25:22 -07:00
Sean Gillies
2368f0ddd9 Generalize the alt interpreter feature.
Default is back to the ordinary python interpreter. Someone can now
add bpython if they want to do so.

In setup.py, I've listed ipython as an 'extra'.
2015-05-31 10:05:06 -06:00
Kevin Wurster
f738f1cd47 Use cligj for plugin registration for #357. 2015-05-30 13:17:23 -04:00
Brendan Ward
98ad8f9162 Fixed data type kind key issue, suppressed python compile-time warnings 2015-05-28 22:55:06 -07:00
Sean Gillies
e4636f00f3 0.24rc1 with a setup typo fix. 2015-05-26 16:19:32 -06:00
Sean Gillies
5d1e5d6a09 Merge pull request #362 from groutr/gdal_data
gdal-config and GDAL_DATA
2015-05-26 15:35:20 -06:00
Sean Gillies
074d12c8f6 Merge pull request #359 from mapbox/rio-edit
Add new rio-edit command
2015-05-22 13:40:12 -06:00
Sean Gillies
9fed2a005b Add param error handling.
Surface the geographic and projected crs testing functions to the
crs module and use them within edit-info. Merge the edit-info cmd
into the info module alongside the info cmd. Add a few more tests
of the error handling to get to 100% coverage of the info cmd
module.
2015-05-20 14:47:46 -06:00
Ryan Grout
71cf946506 Python 3 returns bytes. Decode to a string. 2015-05-20 15:10:22 -05:00
Ryan Grout
754a89d32f remove extra dots. 2015-05-20 12:58:50 -05:00
Ryan Grout
81c26b1da9 Merge branch 'master' into gdal_data 2015-05-20 12:57:08 -05:00
Ryan Grout
76258764dd clean up some environment tests.
Modified the following:
* Attempt to use GDAL_DATA if needed
* Avoid writing file for gdal-config
* Move repeated code into functions
2015-05-20 10:19:38 -05:00
Ryan Grout
2a6a594bc9 inform the user when building on windows.
Update README.rst with new information regarding building on Windows.
2015-05-19 16:25:19 -05:00
Sean Gillies
fc3e8e7e93 Add new rio-edit command. 2015-05-15 10:25:45 -06:00
Sean Gillies
36b9fba9bb CLI re-design and new method to support mbtiles export.
Defines a "rasterio.rio_commands" entry points and turns all of the
existing commands into entry points that are loaded by main.py.

Adds a virtual_file_to_buffer() function to support MBTiles export.

Fixes a bug in reproject().
2015-05-07 14:13:28 -06:00
Sean Gillies
62138e5c9a Change tests to expect masked=False default. 2015-04-06 12:04:28 -06:00
Sean Gillies
971106833c Require snuggs>=1.2 2015-03-25 18:06:35 -06:00
Sean Gillies
355c2cafc7 It's snuggs, not parsnip. 2015-02-13 21:27:12 -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
Brendan Ward
dc0307c720 Merge pull request #253 from mapbox/vendorize-gdalnodatafill
Vendorize rasterfill.cpp
2015-02-07 08:06:56 -08:00
Brendan Ward
74a51c1910 Removed Cython compile warnings 2015-01-22 21:01:13 -08: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
Sean Gillies
2eec7524a1 Find PROJ data using PROJ_LIB env var. 2015-01-16 12:35:59 -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
f851916f25 Add some automation to wheel builds and relocation. 2015-01-07 10:16:48 -07:00
Sean Gillies
a073f61020 Support for PROJ4 lib and data in binary wheel. 2015-01-06 17:13:10 -07:00
Sean Gillies
a51fcc5617 Initial support for self-contained Rasterio binaries. 2015-01-06 10:38:20 -07:00
Sean Gillies
5f156ca7f2 Switch over to cligj. 2014-12-28 11:06:31 -08:00
Joshua Arnott
9a480d55dd Implemented GDALFillNodata algorithm as rasterio.fill.fillnodata 2014-12-21 23:41:42 +00:00
Sean Gillies
aca2dc1663 Remove setuptools from install_requires.
We're installing with pip, so setuptools is already installed.

Also require click>3 since we're using click 3 features.
2014-12-16 09:38:27 -07:00
Sean Gillies
fa0e94a545 Remove older scripts. 2014-10-10 09:49:41 -06:00
Sean Gillies
414a75686e Write/update PNG and JPEG.
Indirectly, using MEM datasets as an intermediary.

Closes #177.

Also add --driver option to rio-stack for integration testing.

Move CLI main to main.py
2014-10-09 12:48:49 -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
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
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
25deb8a693 Remove rasterio.rio from packages. 2014-09-02 14:57:23 -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.
2014-09-02 14:21:45 -06:00
Sean Gillies
a86f9fe579 Final layout tweaks.
Remove test data from sdists. Check for it when running tests and
direct users to download location. No automated download... I don't
expect many users to be running the tests from an sdist.

Closes #133.
2014-09-02 09:57:44 -06:00
Sean Gillies
bc9c40ebd0 Fix distribution, .c files instead of .cpp files. 2014-07-18 17:33:44 -06:00
Sean Gillies
0b2d568e69 Add 3.4 to Python versions, remove 3.0-3.2. 2014-07-16 14:47:50 -06:00
Sean Gillies
fe9c406407 Towards a fix of #105. 2014-07-11 00:32:35 -05:00
Sean Gillies
09d2581cfc Add a nogil function to help async example. 2014-07-02 16:54:48 -06:00
Sean Gillies
79639c4d2b Remove write_colorinterp().
GDAL doesn't really support in-place modification of band
color interpretation, as mentioned in #100.
2014-07-02 14:28:02 -06:00
Sean Gillies
c4b458bfcf Merge branch 'master' of github.com:mwtoews/rasterio into mwtoews-master
Conflicts:
	rasterio/_io.pyx
2014-06-03 11:05:28 -06:00
Sean Gillies
859b2f71e0 Make affine>=1.0 a requirement. 2014-05-28 15:43:19 -06:00