Opened 9 years ago

Closed 9 years ago

#1234 closed defect (fixed)

_ST_BestSRID making up utm zone 61

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: master
Keywords: Cc:

Description

_ST_BestSRID UTM zone computer returns zone=61 for corner cases (X on timeline). This was already the case before the switch to named SRIDs, but would better be addressed. With the named SRID switch, zone=61 would be interpreted by ST_Transform as a Lambert Azimuthal projection.

Clamping the zone to be within the valid range should do, but a testcase would be important to have (currently missing).

Attachments (1)

lwpoly.c.diff (1.1 KB) - added by hopfgartner 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by hopfgartner

Attachment: lwpoly.c.diff added

comment:1 Changed 9 years ago by hopfgartner

Sorry, the patch was for #810.

comment:2 Changed 9 years ago by strk

Resolution: fixed
Status: newclosed

r8846 fixes this.

zone=1 wasn't ever returned either. It took a few changes in tickets.sql. Seemed minor to me.

Note: See TracTickets for help on using tickets.