Open corviday opened 6 years ago
I'd call it a code error. The longlat projection in proj4 can be much simpler than this. E.g.: "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"
.
Here's code I added to get rid of the error message so I could index the files. All it does is add the default ellps to the string, so it's not a workable long term solution.
According to the database, the rest of the files in this set, previously indexed, have the proj4 string +proj=longlat +a 6378137 +rf 298.257222101 +lon_0 0
, which also lacks an ellps
value.
Given the following CRS:
this string is generated by
proj4_string()
, specifically thelatitude_longitude
function:+proj=longlat +a=6378137.0 +rf=298.257222101 +b=6356752.31424518 +lon_0=0.0
which results in the PyCRS error:
Exception: Could not find the required +ellps element, nor a manual specification of the +a or +f elements.
I am unfamiliar with proj4, and not sure if this is a data error or a code error.