<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ahmet,<br>
<br>
It depends on how you would like to have the values returned.<br>
If it's an average (or some other kind of statistics) I think you
need a two step approach:<br>
<br>
1) Clip the raster where it intersects with the polygon:<br>
<a class="moz-txt-link-freetext" href="http://postgis.net/docs/RT_ST_Clip.html">http://postgis.net/docs/RT_ST_Clip.html</a><br>
<br>
2) Do you stats on the resulting clipped image:<br>
<a class="moz-txt-link-freetext" href="http://postgis.net/docs/RT_ST_SummaryStats.html">http://postgis.net/docs/RT_ST_SummaryStats.html</a><br>
<br>
Hope this helps,<br>
Tom<br>
<br>
<div class="moz-cite-prefix">On 7/27/2015 4:16 PM, Ahmet Temiz
wrote:<br>
</div>
<blockquote
cite="mid:CAJKO1YsYcRUVEnhS1wnWW2hN23YVuHnojaSLs-M3VsPYkpd1MQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-size:small"> Hello,</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">How can we
get raster values of a map that intersects with certian part
of a polygon map ?</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small"> regards</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>Ahmet Temiz<br>
Jeoloji Müh.<br>
Afet ve Acil Durum Yönetimi Başkanlığı<br>
Bilgi İşlem Dairesi Başkanlığı-CBS Grubu<br>
<br>
<br>
________________________<br>
<br>
Ahmet Temiz<br>
Geological Eng.<br>
Information Systems - GIS Group<br>
Disaster and Emergency Management<br>
of Presidency</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a></pre>
</blockquote>
<br>
</body>
</html>