Ticket #185 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

values proj out of boundary

Reported by: dbsint@… Owned by: g_j_m
Priority: major: does not work as expected Milestone:
Component: Projection Support Version: 0.8
Keywords: Cc:
Platform Version: Platform: Windows
Must Fix for Release: No Awaiting user input:

Description

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 ...

 http://img99.imageshack.us/img99/3414/qgis6as.gif

Dmitry.

Attachments

data_mapinfo.zip Download (134.7 KB) - added by Dmitry 7 years ago.

Change History

Changed 7 years ago by Dmitry

Changed 7 years ago by gsherman

  • owner changed from gsherman to g_j_m

Changed 7 years ago by g_j_m

  • status changed from new to assigned
  • must_fix set to No

Changed 6 years ago by g_j_m

  • status changed from assigned to closed
  • resolution set to fixed

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.

Changed 6 years ago by Dmitry

Thanks to help. I'm closing this bug. Dmitry.

Changed 4 years ago by anonymous

  • milestone Version 0.8 deleted

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.