Ticket #61 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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:

Description

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

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

Change History

Changed 5 years ago by jpalmer

Changed 5 years ago by warmerdam

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

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.