Bug report #185
values proj out of boundary
|Assignee:||Gavin Macaulay -|
|Affected QGIS version:||Regression?:||No|
|Operating System:||Windows||Easy fix?:||No|
|Pull Request or Patch supplied:||Resolution:||fixed|
|Crashes QGIS or corrupts data:||Copied to github as #:||10244|
if there are values out of boundary (-180, +180) or on edge in the layer (+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs)
and this layer is shown in another projection (+proj=robin +lon_0=0 +x_0=0 +y_0=0 +ellps=clrk66 +datum=NAD27 +units=m +no_defs), the result will be ...
#2 Updated by Gavin Macaulay - almost 15 years ago
- Resolution set to fixed
- Status changed from In Progress to Closed
The problem here is that projecting from the lat/longs in the mapinfo file to the other projection is not valid when longitudes are greater than 180 (or less than -180). It's more of a problem with the proj4 library than qgis itself.
You can get around this by changing the +lon_0 paramater to be a bit further to the east. For example, setting it to 90 gives a projected map that looks fine.