[postgis-devel] [PostGIS] #1230: _ST_BestSRID should not return negative SRID values
PostGIS
trac at osgeo.org
Fri Oct 7 10:16:15 PDT 2011
#1230: _ST_BestSRID should not return negative SRID values
---------------------+------------------------------------------------------
Reporter: strk | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Keywords: |
---------------------+------------------------------------------------------
Comment(by strk):
I've a patch ready to commit. The patch:
1. Writes a set of defines in libpgcommon/lwgeom_transform.h for the
reserved SRID values
1. Uses the macros from _BestSRID
1. Uses the macros from ST_Transform
There were tests in tickets.sql for the correct functioning of UTM zones
(thanks robe) so that part is tested. I noticed _BestSRID _never_ returns
the Polar Stereographic projections.
The patch is attached here, if you want to review.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1230#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list