[postgis-users] How we get raster values

Kishore raju kkrsrkrit at gmail.com
Fri Jul 31 09:35:52 PDT 2015


I am trying to get pixels intersected in raster layer with polygons in
vector layer. can you please help me in designing the query.

On Wed, Jul 29, 2015 at 5:26 PM, Tom van Tilburg <tom.van.tilburg at gmail.com>
wrote:

> Hi Ahmet,
>
> It depends on how you would like to have the values returned.
> If it's an average (or some other kind of statistics) I think you need a
> two step approach:
>
> 1) Clip the raster where it intersects with the polygon:
>     http://postgis.net/docs/RT_ST_Clip.html
>
> 2) Do you stats on the resulting clipped image:
>     http://postgis.net/docs/RT_ST_SummaryStats.html
>
> Hope this helps,
>     Tom
>
>
> On 7/27/2015 4:16 PM, Ahmet Temiz wrote:
>
>  Hello,
>
> How can we get raster values of a map that intersects with certian part of
> a polygon map ?
>
>  regards
>
> --
> Ahmet Temiz
> Jeoloji Müh.
> Afet ve Acil Durum Yönetimi Başkanlığı
> Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu
>
>
> ________________________
>
> Ahmet Temiz
> Geological Eng.
> Information Systems - GIS Group
> Disaster and Emergency Management
> of Presidency
>
>
> _______________________________________________
> postgis-users mailing listpostgis-users at lists.osgeo.orghttp://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>



-- 
*with regards*

*K. Kishore Raju*
                *BE,** ME,M.Tech,(Ph.D).*
*Asst. Professor IT Dept,*
*S.R.K.R Engg. College,*
*Bhimavaram, W.G.Dt, *
*AP,India-534202*
*Contact No: 09949844004*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20150731/33e21d9f/attachment.html>


More information about the postgis-users mailing list