[postgis-tickets] [PostGIS] #4700: Add more geography functions

PostGIS trac at osgeo.org
Mon Jun 8 06:20:01 PDT 2020


#4700: Add more geography functions
--------------------------+---------------------------
  Reporter:  vogg         |      Owner:  pramsey
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS 3.1.0
 Component:  postgis      |    Version:  2.3.x
Resolution:  wontfix      |   Keywords:  geography
--------------------------+---------------------------
Changes (by robe):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:   => PostGIS 3.1.0


Comment:

 @vogg,

 Sadly I'm going to have to dismiss this as a wontfix.

 The reason we didn't bother with the trivial functions for geography is
 because it would balloon up our function list and would also require
 adding additional overloads to prevent the

 "ambiguous function"

 issue when people use text.

 That said there is a feature in PostgreSQL mentioned in #postgis irc
 channel (by RhodiumToad), I forget the date, that would possibly allow us
 to better control auto casting in functions for geometry and geography.
 This was discussed in IRC a while back.  That we could take advantage of
 the category feature of type - https://www.postgresql.org/docs/12/sql-
 createtype.html

 Unfortunately I think it might need us to redefine as I don't think there
 is an alter type for that.

 which would allow reuse of geometry functions in geography without having
 to create parallel versions of them.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4700#comment:2>
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