[postgis-devel] [PostGIS] #1780: ST_GeoHash should support geography type without cast

PostGIS trac at osgeo.org
Thu Sep 13 13:24:52 PDT 2012


#1780: ST_GeoHash should support geography type without cast
------------------------+---------------------------------------------------
  Reporter:  toofishes  |       Owner:  pramsey      
      Type:  defect     |      Status:  closed       
  Priority:  medium     |   Milestone:  PostGIS 2.1.0
 Component:  postgis    |     Version:  2.0.x        
Resolution:  fixed      |    Keywords:               
------------------------+---------------------------------------------------

Comment(by robe):

 and of course I think the below will no longer work


 {{{
 SELECT ST_GeoHash('POINT(0 0)');
 }}}


 Though I haven't confirmed.  That'll teach'em -- they'll have to do


 {{{
 SELECT ST_GeoHash('POINT(0 0)'::geometry);
 }}}

 If my suspicion is correct, should we catalog this as a breaking change,
 or add the
 'Unknown' hack.

 We have same issue with ST_Segmentize BTW.

 Anyrate we should probably add the unknown hack to the legacy file if we
 don't make it part of the core file.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1780#comment:4>
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