1334 Commits

Author SHA1 Message Date
Erik Seglem
44c3d9badf Replace drivers with Env in docs and examples (#760)
Replace rasterio.drivers with rasterio.Env.
2016-06-02 19:01:18 -07:00
Brendan Ward
296aa4e374 Merge pull request #746 from mapbox/know-nodata
Adding options for src and dst nodata in rio-warp [WIP]
2016-06-02 17:06:12 -07:00
dnomadb
62c45160c2 removing casting util ; not needed, gdal sets as float in metadata regardless 2016-06-02 16:48:21 -07:00
dnomadb
b159bcf70d switching to clearer namespace for casting util 2016-06-02 16:27:10 -07:00
dnomadb
3ed7809486 adding unit tests for can cast 2016-06-02 16:19:22 -07:00
dnomadb
48c603fb1e small util for checkin number type 2016-06-02 16:08:20 -07:00
Sean Gillies
9d5e93e6dd Merge pull request #756 from robintw/citation-file
Added simple CITATION file
2016-06-02 14:59:15 -07:00
dnomadb
c095d26d5c conflating a few tests, checking for valid passing of data 2016-06-02 14:56:08 -07:00
Robin Wilson
156d3906b5 Added simple CITATION file 2016-06-02 22:46:02 +01:00
dnomadb
f312005b52 remove import of dtypes; setting dst nodata if provided 2016-06-02 12:43:51 -07:00
dnomadb
c69ea0f150 punting on more sophisticated type checking 2016-06-02 12:31:30 -07:00
James Hiebert
ace8e2dd2a Corrects error message in rio warp wrt overwrites (#750)
The FileOverwriteError in rio/helpers.py used incorrect abbrevation (-f)
for --force-overwrite. This change fixes #747, but using the long form
options in the error message.
2016-06-02 12:30:22 -07:00
Sean Gillies
e910b2c872 Merge pull request #748 from jameshiebert/issue-681
Removes dtype and driver refs from rio warp doc
2016-06-02 12:10:43 -07:00
James Hiebert
887e024b7b Removes dtype and driver refs from rio warp doc
Fixes #681
2016-06-02 11:20:51 -07:00
James Hiebert
9279138e33 Renames five module to compat (#745)
* Renames five module to compat and updates all refs
2016-06-02 10:50:09 -07:00
Brendan Ward
f7751f64e8 Merge pull request #744 from mapbox/extras-all
extras for setup.py
2016-06-02 10:47:59 -07:00
dnomadb
c408c35ad6 adding dst nodata opt 2016-06-02 10:29:06 -07:00
dnomadb
d411319fa6 Setting source nodata value 2016-06-02 09:50:40 -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
Kevin Wurster
3a5e6158fb Point windows users to the readme for install instructions 2016-06-02 11:04:02 -04:00
Kevin Wurster
79a71d17e0 Some workflows require these to be present, so we will leave them as is for now. 2016-06-02 11:02:32 -04:00
Kevin Wurster
6d8be97d59 Review changes 2016-06-02 11:00:05 -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
Brendan Ward
4a7ad0c3fd Merge pull request #742 from mapbox/complex-xfail
xfail test for complex dtype
2016-06-02 06:30:54 -07:00
Matthew Perry
b68548f446 add xfailing test for complex dtype 2016-06-02 07:51:41 -04:00
Brendan Ward
48b9eb3e0f Merge pull request #738 from eseglem/numpy
Standardize on import numpy as np.
2016-06-01 22:14:43 -07:00
Kevin Wurster
f628616421 Missed some dev dependencies. 2016-06-02 00:11:47 -04:00
Kevin Wurster
b55b67d269 Reorganize sections so the sections that are probably most commonly searched for are at the top. More links to dependency documentation. More docs and cleanup. 2016-06-01 23:25:09 -04:00
Kevin Wurster
88e8a34de4 Quick formatting pass 2016-06-01 23:19:44 -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
Erik Seglem
a31e3c8c16 Standardize on import numpy as np. 2016-06-01 22:47:33 -04:00
Sean Gillies
19c8725bd7 Merge pull request #737 from mapbox/make-publish
make publish target to streamline doc deployment
2016-06-01 15:07:07 -07:00
Matthew Perry
d2b1423266 make publish target to streamline doc deployment 2016-06-01 08:22:16 -04:00
Sean Gillies
c40b52d725 Add missing sec headers, remove stranded section 2016-05-31 22:19:40 -06:00
Sean Gillies
2d8e2f81b4 Explain how to get GDAL and headers
For Linux and OS X
2016-05-31 20:30:05 -06:00
Sean Gillies
a3a971b12d Replace dev notes with reference to contrib doc.
Resolves #730.
2016-05-31 20:12:36 -06:00
Sean Gillies
0c9b86278c Skip two tests.
One is a Homebrew crasher, the other requires a format driver that
isn't installed with Homebrew.
2016-05-31 19:58:12 -06:00
Sean Gillies
c93855a6db Add documentation link 2016-05-27 17:22:47 -06:00
Sean Gillies
96c7b42786 Add a .nojekyll file 2016-05-27 17:01:29 -06:00
Sean Gillies
5cd2167028 Add a "docs" extra 2016-05-27 16:05:42 -06:00
Sean Gillies
56f5f6abb0 Merge pull request #723 from brendan-ward/issue722
Alternative GDAL install instructions for OSX
2016-05-27 14:18:16 -06:00
Matthew Perry
3193781dca Merge pull request #718 from ColinTalbert/master
Raster array reshaping into image format and reverting
2016-05-27 07:24:43 -04:00
Brendan Ward
fc0641fc09 Added alternative GDAL install instructions for OSX. 2016-05-26 20:42:03 -07:00
Sean Gillies
3bfc5cf77c Update README intro and installation notes
Closes #721
2016-05-26 11:01:12 -06:00
Colin Talbert
94d2ebf00a Removed half pixel shift of extent,
and distinction/confustion of the
PIXEL_OR_AREA metadata item

After a bit of digging I've come come to
the conclusion that this is currently being
correctly handled by GDAL such that
getting the origin or corner cordinates
will return the actual plotting/data extent.
As such the returned extent should be a simple
reordering of the bounds.

I verified this in ArcMap and QGis against a
couple of datasets.

For context see:
https://trac.osgeo.org/gdal/ticket/3837#comment:9
and
https://trac.osgeo.org/gdal/wiki/rfc33_gtiff_pixelispoint
2016-05-26 10:46:59 -06:00
Sean Gillies
55aa016b6e Prototype support for PEP 518
Closes #703
2016-05-25 09:55:17 -06:00
Colin Talbert
bc6bbf0ea2 minor code cleanup, formating and typos
as per sgilles suggestions
2016-05-25 08:01:59 -06:00
Sean Gillies
ed634de905 Add more design notes 2016-05-24 15:28:30 -06:00
Colin Talbert
f447e8291e Refactor get_plotting_extent into separate
function for general reuse.
2016-05-24 14:58:33 -06:00