[postgis-tickets] [PostGIS] #2206: [raster]: ST_HillShade why did we switch to degrees in 2.1

PostGIS trac at osgeo.org
Sun Feb 17 18:20:41 PST 2013


#2206: [raster]: ST_HillShade why did we switch to degrees in 2.1
--------------------+-------------------------------------------------------
 Reporter:  robe    |       Owner:  dustymugs    
     Type:  defect  |      Status:  new          
 Priority:  medium  |   Milestone:  PostGIS 2.1.0
Component:  raster  |     Version:  trunk        
 Keywords:          |  
--------------------+-------------------------------------------------------
 http://postgis.net/docs/manual-dev/RT_ST_HillShade.html

 I propose we switch back before release. I'm flagging this for 2 reasons

 1) It's a breaking change from 2.0
 2) We dinged pramsey for trying to sneak in use of degrees in his
 ST_Project function.

 Our general convention is to use radians unless if there is another over-
 aching standard that requires degrees and just demonstrate in the docs how
 to flip between the two using the built in PostgreSQL degrees and radians
 functions as demonstrated in:

 http://postgis.net/docs/manual-dev/ST_Project.html

 and
 http://postgis.net/docs/manual-dev/ST_Azimuth.html

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2206>
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