Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#185 closed defect (fixed)

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:
Must Fix for Release: No Platform: Windows
Platform Version: Awaiting user input: no

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 (1)

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

Download all attachments as: .zip

Change History (6)

by Dmitry, 18 years ago

Attachment: data_mapinfo.zip added

comment:1 by gsherman, 18 years ago

Owner: changed from gsherman to g_j_m

comment:2 by g_j_m, 17 years ago

Must Fix for Release: No
Status: newassigned

comment:3 by g_j_m, 17 years ago

Resolution: fixed
Status: assignedclosed

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.

comment:4 by Dmitry, 17 years ago

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

comment:5 by (none), 15 years ago

Milestone: Version 0.8

Milestone Version 0.8 deleted

Note: See TracTickets for help on using tickets.