[mapserver-users] Re: GetCoverage request and time-idexed coverage using postgis

Alexander Petkov greenkov at gmail.com
Thu Aug 14 13:42:48 PDT 2008


I would like to clarify that the problem below is  for using
postgis-based tileindex for WCS GetCoverage requests (WMS GetMap
requests work fine).

I did some more poking around. In particular, I tried to use the
postgis-based tileindex, but this time through the OGR driver:
LAYER
  STATUS ON
  NAME "time_idx"
  TYPE POLYGON
  DATA "select * from sometable"
  DEBUG 5
  METADATA
   "wms_srs"   "EPSG:2613"
   "wms_extent" "-2050500.000 -2136500.000 2536500.000 752500.000"
   "wms_title" "TIME INDEX for departure from average images"
  END
  CONNECTION "PG:dbname=blah user=blah host=blah"
  CONNECTIONTYPE ogr
  EXTENT -2050500.000 -2136500.000 2536500.000 752500.000
  PROJECTION
    "init=epsg:2163"
  END
END

This now seems to work, except that looks like I explicitly need to
explicitly specify each and every time position  in my raster layer:
 "wcs_timeposition" "2000-01-06,....,2005-12-27"


Does anyone use WCS for GetCoverage requests with a postgis-based
tileindex, either through a postgis or OGR connection?


Thanks in advance,
Alex



More information about the MapServer-users mailing list