21 Commits

Author SHA1 Message Date
Dr. Andrew Annex
a6dd570404
Adds CRS.geodetic_crs property (#3218)
* Adds CRS.to_geodetic function

* inspired by pyproj's .geodetic_crs function to return the
  corresponding base geographic CRS for a given CRS
* helpful for projections that may not use common geographic CRSs

* switch to else rather than finally in to_geodetic

* improve docstring and remove todos

* fixed test comment

* added .geodetic_crs property following pyproj's approach

* change to throw exception, added an aux.xml to .gitignore I keep almost committing

* Update rasterio/crs.pyx

Co-authored-by: Sean Gillies <sean.gillies@gmail.com>

* Update rasterio/crs.pyx

Co-authored-by: Sean Gillies <sean.gillies@gmail.com>

---------

Co-authored-by: Sean Gillies <sean.gillies@gmail.com>
2024-11-08 14:58:57 -07:00
Sean Gillies
578a3c5bfc
Int8 related backports from main (#2834)
* Take into account GDAL >= 3.7 GDT_Int8 signed int8 datatype (fixes #2635) (#2656)

* ENH: Added int8 dtype to rasterize (#2780)

---------

Co-authored-by: Even Rouault <even.rouault@spatialys.com>
Co-authored-by: Alan D. Snow <alansnow21@gmail.com>
2023-05-18 13:33:53 -06:00
Sean Gillies
4b1e369069
Remove _loading, copy it into __init__ (#2594)
* Remove _loading, it's done in __init__ now

Resolves #2593

* import sys

* Correct imports

* We already require python >= 3.8

* Add PR number to change log
2022-09-26 18:02:54 -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
Yann-Sebastien Tremblay-Johnston
1d3c9d2b01
add .vscode directory to gitignore (#2025) 2020-11-02 08:42:05 -07:00
Sean C. Gillies
b55c6faaaa Straighten out warped VRT nodata and masks 2018-06-03 15:32:37 -06:00
Sean Gillies
a7fff10047 API doc cleanup and switch to napoleon 2018-05-26 23:30:13 -06:00
Sean C. Gillies
c8b5db6368 Update .gitignore 2018-05-08 15:05:12 -06:00
Kevin Wurster
8163f2d4ed Merge master. 2017-10-25 23:25:15 -04:00
Kevin Wurster
03e3850795 + .hypothesis/ 2017-10-14 01:35:10 -04:00
Kevin Wurster
0e4f0a95ed rasterio._manage renamed to rasterio.shutil 2017-10-14 00:57:42 -04:00
Kevin Wurster
80b2a746b0 Need a module for generic data management tools. 2017-10-11 20:39:28 -04:00
Kevin Wurster
b83b68c1c6 + Auto-generated Rasterio API RST docs and an 'ignore/' directory for assorted local dev files. 2017-10-11 20:37:10 -04:00
Brendan Ward
1198dd0759 Added missing test dependency and ignore more files 2017-07-27 08:21:39 -07:00
Kevin Wurster
ca8b17a180 Don't just write 'test.tif' in the current directory. 2017-04-13 20:01:22 -04:00
Sean Gillies
53222797e5 Improve comments, docstrings, and test extras reqs 2017-03-28 16:02:15 +02:00
Kevin Wurster
0d9d4b7608 + rasterio/_env.c, rasterio/_shim.c, and rasterio/_shim.pyx 2017-02-10 15:44:55 -05:00
Matthew Perry
2150030160 _crs.c to gitignore, thx @grovduck 2016-06-10 14:31:54 -04:00
Matthew Perry
07d2d56d3a api docs 2016-03-17 12:08:38 -04:00
Brendan Ward
15772d8d33 Refactor of features tests 2015-11-08 20:25:36 -08:00
Kevin Wurster
d51befd5b2 Add a .gitignore. 2015-08-02 20:37:26 -04:00