Opened 10 years ago

Closed 5 years ago

#2835 closed enhancement (fixed)

ST_SetValues doc should specify 1-indexing for column/row parameters

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

Description

Reading the examples for ST_SetValues it looks like the columnx and rowy parameters are 1-indexed, but it is not written in the documentation. Would better be.

Change History (7)

comment:1 by sunveersingh, 5 years ago

Hello, I would like to work on this issue, please let me know how can I help.

comment:2 by strk, 5 years ago

You can verify what the ticket description says (that argument refers to first element with 1 instead of 0), then provide a patch for the documentation. Note you can also provide coordinates for pulling your changes from a git repository, possibly by using a fork of one of PostGIS' CodeMirrors.

comment:3 by komzpa, 5 years ago

sunveersingh, it is much like the previous issue you fixed! let's start a bit earlier in the process this time:

  1. go https://github.com/postgis/postgis/tree/svn-trunk/doc
  2. find file that mentions ST_SetValues inside
  3. edit it, so it is clear from text that row and column are 1-indexed
  4. provide a pull request with change.

comment:5 by komzpa, 5 years ago

sunveersingh, I'll check after you do (4) :)

comment:7 by komzpa, 5 years ago

Resolution: fixed
Status: newclosed

In 17000:

Specified 1-indexing in ST_SetValues

Patch by Sunveer Singh

Closes https://github.com/postgis/postgis/pull/328
Closes #2835

Note: See TracTickets for help on using tickets.