[postgis-tickets] [PostGIS] #2748: Deprecate all functions with underscore_names rather than CamelCase

PostGIS trac at osgeo.org
Fri May 15 01:30:22 PDT 2015


#2748: Deprecate all functions with underscore_names rather than CamelCase
----------------------+---------------------------
  Reporter:  strk     |      Owner:  strk
      Type:  task     |     Status:  new
  Priority:  high     |  Milestone:  PostGIS 2.2.0
 Component:  postgis  |    Version:  trunk
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by strk):

 r13506 makes the deprecation of ST_Locate_Between_Measures and
 ST_Locate_Along_Measure closer in style to that of other deprecations.
 That is, is reported via WARNING (deprecation happened in 2.0.0) and
 explicitly states the version in which it was deprecated. It's still not
 done using _postgis_deprecate because behavior can be different.

 So now the only left is ST_Length2d_Spheroid. Ideas on how it should be
 called, for consistency ?
 ST_LengthSpheroid does 2d or 3d based on input, ST_3DLengthSpheroid does
 exactly the same thing.
 And, actually... ST_Length2d_Spheroid also does take Z into account !!!

 Proposal: deprecate all but ST_LengthSpheroid. What do you think ?

--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2748#comment:11>
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-tickets mailing list