Opened 4 years ago

Closed 3 years ago

Last modified 3 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


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 4 years ago.
ogr\ogrsf_frmts\mitab\mitab_spatialref.cpp patch

Download all attachments as: .zip

Change History (4)

Changed 4 years ago by dougc

Attachment: oblique.patch added

ogr\ogrsf_frmts\mitab\mitab_spatialref.cpp patch

comment:1 Changed 4 years ago by Even Rouault

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

comment:2 Changed 3 years ago by Even Rouault

Resolution: fixed
Status: newclosed

In 35028:

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

comment:3 Changed 3 years ago by Even Rouault

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