151 Commits

Author SHA1 Message Date
Alan D. Snow
cda2242f34
BUG: Fix setup.py clean (#2214) 2021-06-21 10:49:50 -06:00
Sean Gillies
2de62d2ead Merge tag '1.2.4' 2021-05-31 16:26:51 -06:00
Sean Gillies
61ff96232f Change comparisons of nodata to IgnoreOption for click 8.0
Resolves #2188
2021-05-28 15:08:36 -06:00
Sean Gillies
53a6a06074 Explicitly require setuptools 2021-04-28 11:25:41 -06:00
Tomáš Hrnčiar
b17b2e330e
Require setuptools, rasterio/rio/main.py and tests/test_cli_main.py import pkg_resources (#2168) 2021-04-28 11:21:16 -06:00
Alan D. Snow
99511e4069
Use compile_time_env in place of shims (#2016)
* Use compile_time_env in place of shims

* Update setup.py to require cython

* remove sdist_fill

* update MANIFEST

* Remove support for GDAL < 2.3

* Remove rasterfill.cpp
2021-02-18 12:11:25 -07:00
Sean Gillies
c41243abe7 Replace hyphens with dashes
Resolves #2081
2021-01-12 12:30:50 -07:00
Sean Gillies
2db2a41c77 Fix classifier 2021-01-10 19:34:32 -07:00
Sean Gillies
176c09d65b
Use cython's language level 3 and update README and setup.py (#2077)
Resolves #2064
2021-01-08 12:32:12 -07:00
Alan D. Snow
2a1cf0f9ea
Update setup.py supported python versions (#2068) 2020-12-11 21:37:19 -07:00
Sean Gillies
264ccaa838
Make feature extraction tests robust with respect to noding (#2066)
* Make feature extraction tests robust with respect to noding

Resolves #2034

* Install test extras

* Add shapely

* Finish adjusting tests and tweaking build matrix
2020-12-11 15:44:59 -07:00
Sean Gillies
d7b2dd3ae6 Depend on certifi for certs
Resolves #2009

If a user wants to use their system's bundle or keychain, they can
uninstall certifi.
2020-10-06 16:06:02 -06:00
Alex Shepherd
98c6920338
Specify dependencies using PEP496 Environment Markers (#1925) 2020-05-12 10:45:58 -06:00
Sean Gillies
78a81c0397 Adding missing _transform.c to setup script
rasterio 1.1 built from an sdist won't import without this.
2019-10-02 11:15:34 -06:00
Vincent Sarago
f587fb72ba Gcptransform (#1773)
* add GDALGCPsToGeoTransform

* add method to fall back to gcps geo transform when gcps are found

* add GDALGCPsToGeoTransform output in gcps info

* add GCPS class

* add GCPS in rasterio.control and update tests

* add from_gcps method

* return Affine and revert rio info change

* revert unrelated change

* add & for cython

* fix

* add tests

* Update rasterio/transform.py

Co-Authored-By: Sean Gillies <sean.gillies@gmail.com>

* /gcpslist/gcps/
2019-09-09 16:22:23 -06:00
Bas Couwenberg
9c89240791 Fix clean target. (#1695)
GDAL/gdal-config may not be available outside the build chroot.
2019-08-22 10:46:03 -06:00
Sean Gillies
36786d5886
GDAL 3.0.x support in code but not wheels (#1729)
* Added support for Proj6 and GDAL 3

* install proj6

* build proj with local installation dir

* conditional proj dependency

* added proj4 flags for all gdal versions

* Restore debian data tests

* Version specific proj configuration

* Fix string comp expression

* Explicit matrix

* Restructure build matrix

* Remove wait from proj build script

* Call script with bash

* Fix version text

* Bash syntax

* Correct PROJOPTs

* Use xvfb service

* Back to proj 4.8 for older GDAL

* Fix syntax error

* Add verbosity to tests

* Take proj off library path, remove gdal-bin package

* Install PROJ and GDAL to same prefix

* Set up runtime env

* Try 4.9.3

* Source build scripts

* Switch to case for versions

* set trace

* Test existence of share/gdal directory

The proj install script created the gdal install directory so a
test for just that is not sufficient.

* Test for share/proj

* Run tests under gdb

* Forgot the run command

* Wait 20 for GDAL

* travis_wait

* Restructure build script, less boilerplate

* Back to trusty

* dist: trusty

* Remove gdb

* Allow 3.0.1/6.1.1 to fail, some changes since 3.0.0/6.1.0
2019-07-26 13:46:55 -06:00
Sean Gillies
ff94da7f74
Check for data files at builtin locations (#1639)
* Check for data files at builtin locations

If we have them, don't set GDAL_DATA or PROJ_LIB.

Resolves #1631

* Include mock on Python 2.7
2019-02-25 20:40:06 -07:00
Sean C. Gillies
35488539fb Explicitly spec click, don't rely on cligj 2018-09-27 13:05:36 -06:00
Sean C. Gillies
5cce8fb061 Require cligj>=0.5 2018-09-26 11:17:58 -06:00
Sean C. Gillies
4659a30a57 Remove commented code, move ext options adjustment up 2018-04-20 07:59:41 -06:00
Sean C. Gillies
80c75349ac Enable c++11 on macosx 2018-04-19 15:33:34 -06:00
Sean C. Gillies
4d561a9e5f Options are dict, not list 2018-04-19 09:59:52 -06:00
Sean C. Gillies
a668745c92 Move -std=c++11 to cpp extension options only
For #1323
2018-04-19 09:38:35 -06:00
Kevin Wurster
f726753a12 Add C++11 flag when running on GDAL>=2.3 2017-12-12 18:02:29 -05:00
Brendan Ward
153ea4870b setup log errors to sys.exit 2017-12-08 04:02:47 -08:00
Brendan Ward
bd565709ed Bumped required GDAL to 1.11, dropped unneeded tests 2017-12-07 05:30:36 -08:00
Brendan Ward
a9559b583b Upgrade required GDAL to >= 1.10 2017-12-05 20:13:13 -08:00
Sean Gillies
83ef7b8ef8 Add shutil to list of modules to build from sdist 2017-10-30 22:14:50 -06:00
Kevin Wurster
0e4f0a95ed rasterio._manage renamed to rasterio.shutil 2017-10-14 00:57:42 -04:00
Kevin Wurster
a7e4ba07d4 + $ rio rm 2017-10-12 00:53:57 -04:00
Kevin Wurster
80b2a746b0 Need a module for generic data management tools. 2017-10-11 20:39:28 -04:00
Sean Gillies
5eea4fcdf0 Return of attrs 2017-07-31 13:58:30 -07:00
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