Opened 12 years ago

Closed 12 years ago

#1983 closed defect (wontfix)

[raster] x and y or columnx and rowy

Reported by: Bborie Park Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.1.0
Component: raster Version: master
Keywords: Cc:

Description

The naming of raster coordinate output from functions is inconsistent. Some functions use "x" and "y" (e.g. ST_PixelAsPolygons) while others use "columnx" and "rowy" (e.g. ST_World2RasterCoord).

For consistency, all function returning raster coordinates should use the same naming. I'm leaning towards "columnx" and "rowy" as they're more descriptive.

Change History (3)

comment:1 by strk, 12 years ago

IIRC changing names of parameters requires a DROP FUNCTION (can't CREATE OR REPLACE). I think it's an high price for the advantage of it (you would not be able to soft upgrade a system using any of the functions being modified)

comment:2 by Bborie Park, 12 years ago

Yes. You are correct about the DROP FUNCTION statement requirement.

comment:3 by Bborie Park, 12 years ago

Resolution: wontfix
Status: newclosed

Closing as it ain't worth the headache for end users

Note: See TracTickets for help on using tickets.