[mapserver-users] error 500 with pg_raster and where clause

Marc-André Trottier marcandre_trottier at hotmail.com
Fri Apr 15 11:54:05 PDT 2016


Ubuntu 14.04
Mapserver 6.4.2
PostgreSQL 9.3.11 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu
4.8.2-19ubuntu1) 4.8.2, 64-bit
Postgis 2.1

We have a mapfile like that :

LAYER
NAME "ApportVertObs0"
GROUP "vigilance/apport_vert"
STATUS ON
TYPE RASTER
DATA "PG:host=serveurpg port=5432 dbname='pgsyst' user=''XXX'
password='XXX' schema='XXX' table='msp_cehq_raster' mode='2'
where='filename=\\'ApportsVerticauxObserves20160413.tiff\\''"
PROCESSING "DITHER=YES"
PROCESSING "NODATA=0"
PROCESSING "SCALE=AUTO"
DUMP TRUE
OFFSITE 0 0 0
TRANSPARENCY 75
... blablabl

when the query return no tile, the request (getcapabilities, getmap) give a
error 500.
should not return a blank image ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20160415/6d1a544c/attachment.html>


More information about the mapserver-users mailing list