168 Commits

Author SHA1 Message Date
Sean Gillies
8c097554ef Remove BlockInfo class and attrs 2017-07-31 13:45:40 -07:00
Sean Gillies
825d127ea1 Pin attrs version, watch out for NULL, block info is namedtuple 2017-07-14 10:48:02 +02:00
Sean Gillies
56a6eba992 Add hypothesis to test extras 2017-06-12 16:53:13 +02:00
Sean Gillies
a7af809757 Add attrs to requirements 2017-06-11 09:52:40 +02:00
Jeremy Hooke
688a71a5bc Fix setup.py exception when no gdal is available
"File setup.py, line 134
NameError: name 'gdalversion' is not defined"
2017-04-13 08:50:54 +10:00
Sean Gillies
53222797e5 Improve comments, docstrings, and test extras reqs 2017-03-28 16:02:15 +02:00
Matthew Perry
2e628c1795 append to extensions list 2017-02-02 08:31:23 -07:00
Sean Gillies
5aa52c2efd Add a GDAL version-dependent shim API 2017-02-01 18:52:33 +01:00
Chris Holden
d2d3e3e11f Update snuggs dependency for relevant fix 2017-01-27 13:22:16 -05:00
Sean Gillies
a605b68e07 Rename _drivers -> _env and release GIL around GDALOpen in _base 2017-01-11 12:19:01 +01:00
Matthew Perry
0baae2d72f setup and readme changes to clarify python version 2017-01-09 12:41:22 -04:00
Sean Gillies
cda74ecf8d Skip instead of xfail 2016-12-07 15:53:08 +01:00
Sean Gillies
493dd8ef5b Add a edit-info nodata option handler, marker, and inline funcs 2016-12-06 16:25:12 +01:00
Sean Gillies
fc52b0f99d Initial support for GDALDeleteRasterNoDataValue()
Towards resolving #510
2016-12-05 13:40:54 +01:00
Sean Gillies
77e9f42dc1 Move gcp dump to its own command, rio-gcps
Add full JSON repr of a control point to a feature's properties
member. Make coordinate rounding recursive.
2016-11-07 15:06:47 +01:00
Brendan Ward
d1ac3a942e Merge pull request #804 from mapbox/rio-windows
CLI command for extracting datasource windows
2016-07-08 10:23:53 -07:00
Kevin Wurster
7f2168bd61 Rename '$ rio windows' to '$ rio blocks'. 2016-06-30 19:50:58 -04:00
Kevin Wurster
b48d554c77 CLI command for extracting datasource windows as GeoJSON. 2016-06-24 22:43:44 -04:00
Kevin Wurster
ef952def3b Merge master. 2016-06-14 21:09:27 -07:00
James Hiebert
a7e7cbef63 Replaces crs as a dict with a CRS class
Implements a number of changes:
* Creates a CRS class that simply inherits from UserDict
* Moves CRS related methods (to_string, from_string, is_geographic,
  is_projected, is_valid, and is_epsg_code) to be class methods
* Moves the CRS comparison method to be CRS.__eq__
* Modifies tests that compare CRS output to a raw dict, to compare to
  UserDict.data property
* Replaces all creation of CRS represtation using bare dicts with the
  use class instantiation
2016-06-03 17:15:48 -07:00
Kevin Wurster
55250f9f49 Remove rasterio.tools from the setup.py package list 2016-06-03 14:14:00 -04:00
Matthew Perry
0e3f10aad1 add plot requirements and all 2016-06-02 12:06:38 -04:00
Matthew Perry
152e64b7f4 Merge pull request #739 from mapbox/doc-cleanup
Add to CONTRIBUTING.rst, doc cleanup, and consolidate requirements
2016-06-02 11:23:45 -04:00
Matthew Perry
e53b0d910a import numpy as np in docs and examples (#740)
import numpy as np in docs and examples and remove unneeded imports
2016-06-02 06:46:52 -07:00
Kevin Wurster
f628616421 Missed some dev dependencies. 2016-06-02 00:11:47 -04:00
Kevin Wurster
27d612c456 Remove requirements.txt and rely on setup.py. Reduce requirements-dev.txt to those that must be required before running setup.py 2016-06-01 23:14:40 -04:00
Sean Gillies
5cd2167028 Add a "docs" extra 2016-05-27 16:05:42 -06:00
Matthew Perry
4fbee7379b additional classifiers in setup 2016-05-19 10:31:14 -04:00
Sean Gillies
12f8fc7e3f New, lazier AWS sessions
New Env class and tests.
More logging, tests, safer environment
Remove usage (deprecated) of rasterio.drivers()
Also pep8 cleanups throughout the tests and a fix for unchecked
dtypes when opening a dataset in 'w' mode.
Now we can simply import warnings in __init__.py. In the
deprecations tests, we needed to see a single warning only one
time to avoid multiple drivers() warnings.
Add a global env.
Add rasterio.env.setenv()
2016-04-28 15:26:55 -06:00
Matthew Perry
3b0a5ef019 only include our local rasterfill.cpp if using gdal1 2016-04-11 19:37:19 -04:00
Sean Gillies
3e63c81684 S3 support in the CLI as advertised
Closes #633
2016-04-04 14:11:37 -06:00
Matthew Perry
bb45a7147c merge origin/master 2016-03-31 11:30:37 -04:00
Sean Gillies
dbb2c5355c Defer to boto3 for credentials 2016-03-30 15:38:40 -06:00
Matthew Perry
75dcb7c149 move rio commands to individual files 2016-03-21 18:39:31 -04:00
Brendan Ward
c0483c57f7 Added Cython coverage reporting 2015-10-26 22:10:33 -07:00
Sean Gillies
4d79175b6c Remove numpy debugging, unpin versions 2015-10-21 22:22:16 -06:00
Kevin Wurster
b709ee54c6 Add rasterio.tools to install packages. 2015-10-05 21:33:59 -04:00
Brendan Ward
cf8844f46d Fix reference to rio-clip 2015-08-25 11:52:09 -07:00
Brendan Ward
e3687ce0cc Added rio-clip 2015-08-24 21:37:26 -07:00
Kevin Wurster
2c4a07eae3 Switch from cligj.plugins to click-plugins. Closes #421. 2015-07-23 21:26:41 -04:00
Brendan Ward
ee6d10cd2a Merge pull request #414 from mapbox/rio-translate
New rio-convert command
2015-07-17 09:46:09 -07:00
Brendan Ward
dfaef9e2f4 Merge pull request #408 from mapbox/rio-addov
Add rio-overview
2015-07-15 20:25:43 -07:00
Sean Gillies
084692aa2c Addition of a --rebuild option plus resampl method tagging.
rio-pyramid renamed rio-overview.

Plus many small fixes suggested by Brendan Ward.
2015-07-14 13:21:41 -06:00
Sean Gillies
c80458c971 Add a rio-convert command.
Only a subset of gdal_translate's features are included now:

- format conversion, with creation options like tiling, compression
- data type conversion, with linear intensity scaling

Closes #174.
2015-07-14 10:10:11 -06:00
Brendan Ward
ced7fa3bcd basic rio-warp in place 2015-07-10 22:36:51 -07:00
Sean Gillies
d94e382c89 Initial impl of rio-pyramid.
Closes #388.

Adds two methods to Dataset classes and a new enum of resampling
algorithms.
2015-07-07 16:16:10 -06: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