[postgis-devel] Concept of surfaces for rasters ( Interpolation of points)
Nathaniel Clay
clay.nathaniel at gmail.com
Sun Jan 4 13:21:48 PST 2015
Borie,
My idea is not to have a new function, ST_Value would not change the
surface behaviour would be primarily controlled by a value in the raster
tables eg True defaults to bi-linear and maybe an optional override in the
ST_Value function.
| Surface |
|(True,False,bi-linear,bi-cubic)|
Thanks,
Nathaniel Hunter Clay
PS. Treating a raster as a surface would allow for other geom, raster
functions. , ST_Intersects(raster,geom),ST_Touches(raster,geom),
ST_OnSurface(raster,geom,distance) etc. and editing fuctions such as
ST_Extrude(raster,geom), ST_Snap(raster,geom)
On Sun, Jan 4, 2015 at 3:22 PM, Bborie Park <dustymugs at gmail.com> wrote:
> Sounds like an interesting idea. Any idea on the function signature?
>
> -bborie
>
> On Sun, Jan 4, 2015 at 11:37 AM, Nathaniel Clay <clay.nathaniel at gmail.com>
> wrote:
>
>> Hi all,
>>
>> Has any one give any thought to having the ability to mark a raster as a
>> surface, then instead of returning the nearest value when a point is
>> queried against a raster it preforms a set interpolation method to return
>> an interpolated value. This would also get adjoining tiles, to fill in
>> missing points in the case of the interpolation window overflowing the
>> current tile. Thus treating the raster as a surface instead as discreet
>> points. I believe that this would be a good option to have available for
>> DEMs in particular. Would this be a welcomed edition to Postgis? I have
>> one new feature that I am working on that would benefit having this baked
>> in. I am considering bi-cubic and bi-linear interpolation options, should I
>> consider any others.
>>
>> Thanks,
>>
>> Nathaniel Hunter Clay
>>
>> _______________________________________________
>> postgis-devel mailing list
>> postgis-devel at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>>
>
>
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20150104/b1da0b78/attachment.html>
More information about the postgis-devel
mailing list