-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
24 changed files
with
756 additions
and
437 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# _CRS class definition | ||
|
||
include "gdal.pxi" | ||
|
||
|
||
cdef class _CRS: | ||
|
||
cdef OGRSpatialReferenceH _osr |
Oops, something went wrong.