[postgis-tickets] [PostGIS] #2921: Tell more about max_err parameter in documentation for ST_Rescale

PostGIS trac at osgeo.org
Tue Nov 13 05:25:06 PST 2018


#2921: Tell more about max_err parameter in documentation for ST_Rescale
----------------------------+--------------------
  Reporter:  strk           |      Owner:  robe
      Type:  defect         |     Status:  new
  Priority:  medium         |  Milestone:
 Component:  documentation  |    Version:  2.1.x
Resolution:                 |   Keywords:  raster
----------------------------+--------------------

Comment (by komzpa):

 sunveersingh,

 this issue is less trivial than previous ones. :)

 1. find a file that creates raster extension in SQL, it is somewhere in
 raster directory and ends with .sql.in;

 2. find there ST_Rescale, and see how it is defined. It may be written in
 SQL or in C. if it is written in SQL, read it there, otherwise it will
 have C function name - search all the files for it and start reading.

 3. figure out what max_err is doing. What unit is it in? How is this error
 calculated? What happens when max_err is reached?

 4. write a couple of sentences about it into raster file in doc/ as a
 separate new paragraph.

 Does this look like a plan you can follow?

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