Hi,<br>I'm try-ing to access a postgis raster using mapserver trunk,<br>but it don't seem work.<br><br>I don't understand if the problem is on the postgis raster or in the mapfile settings.<br><br>So I like to know if this mapfile setting is ok to call a postgis raster <br>
I use this mapfile settings:<br><br>The table ofc10k_single_2010 has only 1 raster loaded with this call:<br><br>raster2pgsql -s 3003 -l 3 -C -e -Y -I -M 216100_2010.tif -F -f rast -d -t 100x100 my_schema.ofc10k_single_2010 > ofc10k_single_2010.sql<br>
<br>The gdal available is gdal 1.9.0.<br><br>The mapfile layer section is this:<br><br>  LAYER<br>    NAME "ofc10k_single"<br>    STATUS ON<br>    EXTENT 1559445 4921905 1566395 4927805<br>    TYPE raster<br>    CONNECTIONTYPE ogr<br>
    DATA "PG:host='localhost' port='5432' dbname='my_database' user='postgres' password='my_password' schema='my_schema' table='ofc10k_single_2010' mode='2'"<br>
    PROCESSING "NODATA=0"<br>    PROCESSING "SCALE=-100.5,100.5"<br>    PROCESSING "SCALE_BUCKETS=201"<br>    # ... other standard raster processing functions here<br>    PROJECTION<br>      "init=epsg:3003"<br>
    END<br>    METADATA<br>      "wms_title" "OFC 1:10.000 single"<br>      "wms_srs" "EPSG:3003 EPSG:4326"<br>    END<br>    OFFSITE 255 255 255<br>    OPACITY 100<br>  END<br><br>
Thx for any hint.<br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>
qwerty àèìòù<br>-----------------<br><br>