Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#6598 closed defect (fixed)

MapInfo TAB support doesn't create Oblique_Stereographic projections

Reported by: dougc Owned by: warmerdam
Priority: normal Milestone: 2.2.0
Component: default Version: 2.1.1
Severity: normal Keywords: mapinfo tab oblique double stereographic
Cc:

Description

In mitab_spatialref.cpp method TABFile::GetTABProjFromSpatialRef, Oblique_Stereographic projections with MapInfo ID #31, also known as double stereographic, are not handled. The resulting TAB ends up with a non-earth projection set. I've attached a patch against the 2.1.1 source to add a case for SRS_PT_OBLIQUE_STEREOGRAPHIC.

Attachments (1)

oblique.patch (637 bytes ) - added by dougc 8 years ago.
ogr\ogrsf_frmts\mitab\mitab_spatialref.cpp patch

Download all attachments as: .zip

Change History (4)

by dougc, 8 years ago

Attachment: oblique.patch added

ogr\ogrsf_frmts\mitab\mitab_spatialref.cpp patch

comment:1 by Even Rouault, 8 years ago

For round-trippability, shouldn't the code path on reading call SetOS() when code == 31 instead of SetStereographic() ?

comment:2 by Even Rouault, 8 years ago

Resolution: fixed
Status: newclosed

In 35028:

MITAB: add support for oblique stereographic (patch by dougc + myself, fixes #6598)

comment:3 by Even Rouault, 8 years ago

Milestone: 2.2.0
Note: See TracTickets for help on using tickets.