Ticket #1234 (closed defect: fixed)

Opened 20 months ago

Last modified 16 months ago

_ST_BestSRID making up utm zone 61

Reported by: strk Owned by: pramsey
Priority: medium Milestone: PostGIS 2.0.0
Component: postgis Version: trunk
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

lwpoly.c.diff Download (1.1 KB) - added by hopfgartner 20 months ago.

Change History

Changed 20 months ago by hopfgartner

Changed 20 months ago by hopfgartner

Sorry, the patch was for #810.

Changed 16 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

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.