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

PostGIS trac at osgeo.org
Sun Feb 17 20:13:52 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:          |  
--------------------+-------------------------------------------------------

Comment(by dustymugs):

 If you look at the docs for ST_Slope, ST_Azimuth and ST_Hillshade in 2.0,
 there was absolutely no units described.  So, when I was going through the
 code to make sure the results matched that of ArcGIS (I assume most folks
 are going to compare to that application), I noticed that ArcGIS uses
 degrees by default.  And since our functions where not documented, I went
 with degrees...

 http://postgis.net/docs/manual-2.0/RT_ST_Aspect.html

 http://postgis.net/docs/manual-2.0/RT_ST_HillShade.html

 http://postgis.net/docs/manual-2.0/RT_ST_Slope.html

 Personally, I like degrees...

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