8 Commits

Author SHA1 Message Date
Sean Gillies
91170902da Add test of the fix for #1600 and fix an unreported bug 2019-01-31 20:21:51 -07:00
Sean Gillies
f934c3428a
Change _CRS class to make WKT canonical (#1597)
* Refactor of _CRS class to make WKT canonical

* Finish work on making WKT canonical

Many test assertions needed update

* Accept {'init': 'EPSG:xxxx'}

Also removed commented code

* Restore previous rio-info behavior when there's an EPSG code

* Remove unneeded import

* Use from_proj4 in from_epsg

* Rewrite of _CRS to keep an OGRSpatialReferenceH (#1602)

* Rewrite of _CRS to keep an OGRSpatialReferenceH

Rewrite of CRS to use _CRS by composition, not inheritance

New OGRErr handling function exc_wrap_ogrerr

* Remove commented code

* Add back in the error stack check for ImportFromProj

Also fix up docstrings
2019-01-22 11:17:12 -07:00
Sean Gillies
a4eedd6717 Test gcp __repr__ using eval() 2016-11-04 09:48:57 +01:00
Sean Gillies
af8ada7471 Turn on id and info attributes, transformer keyword args 2016-11-02 17:24:51 +01:00
Sean Gillies
24adf237f5 Add GCP support to rio-warp 2016-10-25 17:43:11 +02:00
Sean Gillies
3245c54de1 Add test of VRT GCPs 2016-10-21 15:08:06 +02:00
Sean Gillies
c9a5aad384 Getters and setters for gcps 2016-10-21 14:31:13 +02:00
Sean Gillies
61dd07dddc Optionally use GCPs when computing reprojection params
Also add a shortcut to InMemoryRaster which can avoid large
unnecessary memory allocations for arrays that are never used.
2016-10-21 11:53:37 +02:00