[mapserver-users] GetCoverage with WCS 2.0.0: Unknown parameter time
Stephan Meißl
stephan at meissl.name
Fri Aug 17 05:05:15 PDT 2012
Hi Jonas,
sorry for my late reply. Could you please try with MapServer 6.0.3 and
report back? I suspect it's related to #4307 [1].
cu
Stephan
[1] https://github.com/mapserver/mapserver/issues/4307
On Tue, 2012-07-17 at 12:06 -0500, Jonas Eberle wrote:
> Hi Stephan,
>
> I am using Mapserver 6.0.1.
>
> At the bottom the two layers, within the WEB section I have the the validation block for parameter time.
>
> This was the request with WCS 2.0.0:
>
> http://artemis.geogr.uni-jena.de/cgi-bin/mapserv?map=/home/mapserver/modis/map.map&SERVICE=WCS&REQUEST=GetCoverage&VERSION=2.0.0&coverageID=NDVIData&format=GTiff&time=2012-04-01
>
> The following request works with WCS 1.0.0:
>
> http://artemis.geogr.uni-jena.de/cgi-bin/mapserv?map=/home/mapserver/modis/map.map&SERVICE=WCS&REQUEST=GetCoverage&VERSION=1.0.0&coverage=NDVIData&format=GTiff&time=2012-04-01&CRS=EPSG:4326&RESX=0.05&RESY=0.05
>
> Thanks,
> Jonas
>
>
> WEB
> #.....
> VALIDATION
> 'time' '^[0-9\-]+$'
> END
> #.....
> END
>
> LAYER
> NAME 'time_idx_test'
> TYPE POLYGON
> CONNECTIONTYPE POSTGIS
> CONNECTION "host=localhost dbname=** user=**
> password=****** port=5432"
> DATA "geom from mod13c2_ndvi"
>
> METADATA
> "ows_title" "MOD13C2_NDVI TIME INDEX"
> "ows_srs" "EPSG:900913 EPSG:4326"
> "ows_extent" "49 85 180 44"
> "ows_timeextent" "2000-02-01/2012-05-01/P1M"
> "ows_timeitem" "date"
> "ows_timedefault" "2012-05-01"
> "ows_enable_request" "*"
> END
>
> FILTERITEM 'date'
> FILTER '%time%'
> END
>
> LAYER
> NAME 'NDVIData'
> STATUS ON
> DEBUG 5
> TYPE RASTER
>
> TILEITEM 'location'
> TILEINDEX 'time_idx_test'
>
> PROJECTION
> "init=epsg:4326"
> END
> METADATA
> "wcs_label" 'NDVI data'
> "ows_extent" "49 44 180 85"
> "wcs_size" "7200 3599"
> "wcs_bandcount" "1"
> "ows_srs" 'EPSG:4326'
> "wcs_rangeset_axes" 'bands'
> "wcs_rangeset_name" 'bands'
> "wcs_timeposition" "2000-02-01,2000-03-01,2000-04-01,2012-04-01"
> "wcs_timeitem" 'date'
> "wcs_enable_request" "*"
> END
> END
>
> ----- Ursprüngliche Mail -----
> > Hi Jonas,
> >
> > which version of MapServer are you using? I guess variable
> > substitution
> > should also be available in WCS 2.0. Could you send a short Mapfile
> > and
> > request to reproduce the behavior?
> >
> > cu
> > Stephan
> >
> >
> > On Tue, 2012-07-17 at 11:51 -0500, Jonas Eberle wrote:
> > > Hi list,
> > >
> > >
> > > I tried to use WCS 2.0.0 with Mapserver. Having time series layers
> > > with a tile index layer, I used variable substitution for the
> > > different times. This works fine for WCS 1.0.0.
> > >
> > >
> > > Trying the GetCoverage request with WCS 2.0.0 I get the following
> > > error message right after executing the request:
> > > msWCSParseRequest20(): WCS server error. Unknown parameter: 'time'.
> > >
> > > Is there an other possibility to use variable substitution with
> > > GetCoverage request in WCS 2.0.0?
> > >
> > >
> > > Thanks,
> > > Jonas
> > >
> > >
> > > _______________________________________________
> > > mapserver-users mailing list
> > > mapserver-users at lists.osgeo.org
> > > http://lists.osgeo.org/mailman/listinfo/mapserver-users
> >
> >
> >
More information about the MapServer-users
mailing list