Opened 9 years ago

Closed 5 years ago

#2921 closed defect (fixed)

Tell more about max_err parameter in documentation for ST_Rescale

Reported by: strk Owned by: robe
Priority: medium Milestone:
Component: documentation Version: 2.1.x
Keywords: raster Cc:


The manual page for ST_Rescale doesn't tell what max_err parameter is for:

Change History (4)

comment:1 by sunveersingh, 5 years ago

Hello, I would like to work on this issue, from where should I start?

comment:2 by komzpa, 5 years ago


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;
  1. 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.
  1. figure out what max_err is doing. What unit is it in? How is this error calculated? What happens when max_err is reached?
  1. 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?

comment:4 by komzpa, 5 years ago

Resolution: fixed
Status: newclosed

In 17014:

Document maxerr in ST_Rescale.

Patch by Sunveer Singh.

Closes #2921

Note: See TracTickets for help on using tickets.