Opened 10 years ago

Closed 10 years ago

#5458 closed defect (fixed)

SXF: OGRSXFLayer::TranslateXYH is inconsistent

Reported by: akhliustov Owned by: bishop
Priority: normal Milestone:
Component: OGR_SF Version: unspecified
Severity: normal Keywords: OGR, SXF
Cc:

Description

SXF stores coordinates in the order that is reverse to the order used by GDAL, and the reasonable way to handle it is:

  1. Read Y.
  2. Read X.
  3. Translate X.
  4. Translate Y.

TranslateXYH doesn't completely follow it, and it sometimes looks confusing and sometimes is plain wrong. This patch attempts to fix it.

Attachments (1)

translatexyh.patch (3.5 KB ) - added by akhliustov 10 years ago.

Download all attachments as: .zip

Change History (3)

by akhliustov, 10 years ago

Attachment: translatexyh.patch added

comment:1 by Even Rouault, 10 years ago

Owner: changed from warmerdam to bishop

comment:2 by bishop, 10 years ago

Resolution: fixed
Status: newclosed

Thank you for the patch.

Patch applied at r27283.

Note: See TracTickets for help on using tickets.