Opened 16 months ago

Closed 16 months ago

Last modified 16 months 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 16 months ago.
ogr\ogrsf_frmts\mitab\mitab_spatialref.cpp patch

Download all attachments as: .zip

Change History (4)

Changed 16 months ago by dougc

Attachment: oblique.patch added

ogr\ogrsf_frmts\mitab\mitab_spatialref.cpp patch

comment:1 Changed 16 months 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 16 months 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 16 months ago by Even Rouault

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