[postgis-devel] ST_MapAlgebra (was: ST_Value performance)

Sandro Santilli strk at keybit.net
Tue Jan 31 14:34:58 PST 2012


On Tue, Jan 31, 2012 at 05:22:45PM -0500, Pierre Racine wrote:
> > Now I tried it and realized that "rast" in the expression refers to the pixel value
> > while I don't care about that.
> > Instead, I need the _position_ of the pixel.
> > That is, my expression is a function of the pixel position, not of its value.
> > 
> > Would it make sense to then provide that information as well as a placeholder,
> > in addition to the value ?
> 
> Yes that would be very useful. Could be 'rastx' and 'rasty'.
> 
> You would prefer 'pixval', 'pixx' and 'pixy'?

I'd always want geographical coordinates, not just x/y.
How about pval, pgeom, px, py ?

--strk; 

  ,------o-. 
  |   __/  |    Thank you for PostGIS-2.0 Topology !
  |  / 2.0 |    http://www.pledgebank.com/postgistopology
  `-o------'




More information about the postgis-devel mailing list