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
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
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