[mapserver-users] Problems with time-enabled WMS (WMS-T) in a cascaded layer
William Hudspeth
bhudspeth at edac.unm.edu
Thu Mar 24 12:31:56 PDT 2011
Hello,
I am trying to make time-enabled WMS-T requests to a cascaded layer that
originates from the NASA MODIS services. I can successfully make calls
to directly to the NASA service as below:
http://neowms.sci.gsfc.nasa.gov/wms/wms?version=1.1.1&service=WMS&request=GetMap&SRS=EPSG:4326&FORMAT=image/jpeg&STYLES=&BBox=-120.000,26.000,-97.000,44.000&Width=600&Height=470&Layers=MOD13A2_E_NDVI&TIME=2000-02-18
...other applicable dates include 2000-05-09, 2000-03-22, and
2011-02-02...
The NASA getCapabilities URL for this layer is:
http://neo.sci.gsfc.nasa.gov/FGDCMetadata?datasetId=MOD13A2_E_NDVI
and the NASA getCapabilites URL for the entire WMS service is:
http://neowms.sci.gsfc.nasa.gov/wms/wms?version=1.3.0&service=WMS&request=GetCapabilities
When I try to pass a &TIME argument to the cascaded layer, I only get
the image for the default time as specified in the NASA getCapabilities
call to the WMS service....
My cascaded URL looks like this:
http://edacwms.unm.edu/cgi-bin/mapfiles/epht_environment/epht_enviro_wms?version=1.1.1&SERVICE=WMS&REQUEST=GetMap&FORMAT=image/jpeg&STYLES=&SRS=EPSG:26913&BBOX=-1011825.41,2963772.82,1141463.33,4903085.27&Width=600&Height=470&Layers=MOD13A2_E_NDVI&TIME=2000-05-09
and the LAYER definition looks like this:
LAYER
NAME "MOD13A2_E_NDVI"
TYPE RASTER
CONNECTION "http://neowms.sci.gsfc.nasa.gov/wms/wms?"
CONNECTIONTYPE WMS
STATUS ON
METADATA
"wms_name" "MOD13A2_E_NDVI"
"wms_server_version" "1.1.1"
"wms_srs" "EPSG:4326"
"wms_abstract" "Vegetation Index NDVI 16 day - Terra/MODIS"
"wms_title" "Vegetation Index NDVI 16 day - Terra/MODIS"
#"wms_time" "2011-02-02"
"wms_format" "image/jpeg"
"wms_connectiontimeout" "60"
"wms_latlonboundingbox" "-180 -90 180 90"
"wms_transparent" "FALSE"
"wms_timeextent"
"2000-02-18,2000-03-06,2000-03-22,2000-04-07,2000-04-23,2000-05-09,2000-05-25,2000-06-10,2000-06-26,2000-07-12,2000-07-28,2000-08-13,2000-08-29,2000-09-14,2000-09-30,2000-10-16,2000-11-01,2000-11-17,2000-12-03,2000-12-19,2001-01-01,2001-01-17,2001-02-02,2001-02-18,2001-03-06,2001-03-22,2001-04-07,2001-04-23,2001-05-09,2001-05-25,2001-06-10,2001-06-26,2001-07-12,2001-07-28,2001-08-13,2001-08-29,2001-09-14,2001-09-30,2001-10-16,2001-11-01,2001-11-17,2001-12-03,2001-12-19,2002-01-01,2002-01-17,2002-02-02,2002-02-18,2002-03-06,2002-03-22,2002-04-07,2002-04-23,2002-05-09,2002-05-25,2002-06-10,2002-06-26,2002-07-12,2002-07-28,2002-08-13,2002-08-29,2002-09-14,2002-09-30,2002-10-16,2002-11-01,2002-11-17,2002-12-03,2002-12-19,2003-01-01,2003-01-17,2003-02-02,2003-02-18,2003-03-06,2003-03-22,2003-04-07,2003-04-23,2003-05-09,2003-05-25,2003-06-10,2003-06-26,2003-07-12,2003-07-28,2003-08-13,2003-08-29,2003-09-14,2003-09-30,2003-10-16,2003-11-01,2003-11-17,2003-12-03,2003-12-19,2004-01-01,2004-01-17,2004-02-02,2004-02-18,2004-03-06,2004-03-22,2004-04-07,2004-04-23,2004-05-09,2004-05-25,2004-06-10,2004-06-26,2004-07-12,2004-07-28,2004-08-13,2004-08-29,2004-09-14,2004-09-30,2004-10-16,2004-11-01,2004-11-17,2004-12-03,2004-12-19,2005-01-01,2005-01-17,2005-02-02,2005-02-18,2005-03-06,2005-03-22,2005-04-07,2005-04-23,2005-05-09,2005-05-25,2005-06-10,2005-06-26,2005-07-12,2005-07-28,2005-08-13,2005-08-29,2005-09-14,2005-09-30,2005-10-16,2005-11-01,2005-11-17,2005-12-03,2005-12-19,2006-01-01,2006-01-17,2006-02-02,2006-02-18,2006-03-06,2006-03-22,2006-04-07,2006-04-23,2006-05-09,2006-05-25,2006-06-10,2006-06-26,2006-07-12,2006-07-28,2006-08-13,2006-08-29,2006-09-14,2006-09-30,2006-10-16,2006-11-01,2006-11-17,2006-12-03,2006-12-19,2007-01-01,2007-01-17,2007-02-02,2007-02-18,2007-03-06,2007-03-22,2007-04-07,2007-04-23,2007-05-09,2007-05-25,2007-06-10,2007-06-26,2007-07-12,2007-07-28,2007-08-13,2007-08-29,2007-09-14,2007-09-30,2007-10-16,2007-11-01,2007-11-17,2007-12-03,2007-12-19,2008-01-01,2008-01-17,2008-02-02,2008-02-18,2008-03-06,2008-03-22,2008-04-07,2008-04-23,2008-05-09,2008-05-25,2008-06-10,2008-06-26,2008-07-12,2008-07-28,2008-08-13,2008-08-29,2008-09-14,2008-09-30,2008-10-16,2008-11-01,2008-11-17,2008-12-03,2008-12-19,2009-01-01,2009-01-17,2009-02-02,2009-02-18,2009-03-06,2009-03-22,2009-04-07,2009-04-23,2009-05-09,2009-05-25,2009-06-10,2009-06-26,2009-07-12,2009-07-28,2009-08-13,2009-08-29,2009-09-14,2009-09-30,2009-10-16,2009-11-01,2009-11-17,2009-12-03,2009-12-19,2010-01-01,2010-01-17,2010-02-02,2010-02-18,2010-03-06,2010-03-22,2010-04-07,2010-04-23,2010-05-09,2010-05-25,2010-06-10,2010-06-26,2010-07-12,2010-07-28,2010-08-13,2010-08-29,2010-09-14,2010-09-30,2010-10-16,2010-11-01,2010-11-17,2010-12-03,2010-12-19,2011-01-01,2011-01-17,2011-02-02"
#"wms_timeextent"
"2000-02-18,2000-03-06/2000-12-19/P16D,2001-01-01/2001-12-19/P16D,2002-01-01/2002-12-19/P16D,2003-01-01/2003-12-19/P16D,2004-01-01/2004-02-18/P16D,2004-03-06/2004-12-19/P16D,2005-01-01/2005-12-19/P16D,2006-01-01/2006-12-19/P16D,2007-01-01/2007-12-19/P16D,2008-01-01/2008-02-18/P16D,2008-03-06/2008-12-19/P16D,2009-01-01/2009-12-19/P16D,2010-01-01/2010-12-19/P16D,2011-01-01/2011-02-02/P16D"
"wms_timeitem" "TIME"
"wms_timedefault" "2011-02-02"
"wms_timeformat" "YYYY-MM-DD"
#"wcs_resolution" "0:6 0:6"
#"wcs_bandcount" "1"
#"wcs_size" "2700 319"
END #METADATA
END #LAYER
Any help greatly appreciated...
Bill
More information about the MapServer-users
mailing list