<div dir="ltr">Can you access/filter the data outside MapServer with only GDAL? Might be easier to battle one piece of software rather than two.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 18, 2020 at 10:09 AM <<a href="mailto:brett.winklesky@gmail.com">brett.winklesky@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-8119014683668234928WordSection1"><p class="MsoNormal">Hello-<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I’m trying to setup a WMS layer that is reading a raster table in PostGIS. I am loading NOAA Global Hydro Estimation data in a single table (tiled) and have a field that contains the datetime for the raster. I followed the examples here: <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><a href="https://postgis.net/docs/RT_FAQ.html#idm29732" target="_blank">https://postgis.net/docs/RT_FAQ.html#idm29732</a><u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">In my case I would like to use the “where” statement to filter the raster tiles, but the ‘where’ statement only seems to work with the ‘rid’ field (e.g. rid=123). Based on the example in the PostGIS docs, it looks like it should theoretically work. I tried the “FILTER” in the map file, but I assume that only works with vector data since it did nothing. <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Does anybody know the trick to filter tiled raster data from a PostGIS raster table? <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Any help is greatly appreciated! <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Cheers, <u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">BW<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a></blockquote></div>