Opened 7 years ago

Closed 7 years ago

#61 closed defect (fixed)

Fix longitude wrapping within pj_transform

Reported by: jpalmer Owned by: warmerdam
Priority: major Milestone:
Component: Core Version: 4.6.1
Keywords: lon_wrap longitude wrap Cc:


The current implementation of pj_transform does not preform the longitude wrapping correctly. This patch now ensures that longitude range is set to +/- PI either side of the specified wrap center, as defined by the +lon_wrap proj parameter.

Attachments (1)

lon_wrap.patch (2.3 KB) - added by jpalmer 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by jpalmer

comment:1 Changed 7 years ago by warmerdam

  • Resolution set to fixed
  • Status changed from new to closed

Patch applied, and a test was introduced in testvarious (r1789).

Things were badly broken before this fix. Changes are currently only in trunk.

Note: See TracTickets for help on using tickets.