Hi,<br><br>Right now, I need to do some testing on the SQL commands, to be sure that all possibilities are coded. I'll keep you in the loop.<br><br>Denis<br><br><div><span class="gmail_quote">2006/10/6, Steve Lime <<a href="mailto:Steve.Lime@dnr.state.mn.us">
Steve.Lime@dnr.state.mn.us</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">We need to get WCS time support and WMS time support in sync. Please
<br>include me on the bug...<br><br>Steve<br><br>>>> Yewondwossen Assefa <<a href="mailto:assefa@DMSOLUTIONS.CA">assefa@DMSOLUTIONS.CA</a>> 10/04/06 2:54 PM >>><br>Denis,<br><br> Sorry for the delay.
<br><br> Please enter a bug (WMS Server module) and code contribution and I<br>will integrate it in mapserver.<br><br>Thanks.<br><br>Denis Nadeau wrote:<br>> Hi,<br>><br>> I would like to change some of the code in
mappostgis.c to reflect C<br>> 5.2 Nearest Value instructions found in WMS 1.1.1 specifications for<br>> "TIME" parameter.<br>><br><a href="http://portal.opengeospatial.org/files/?artifact_id=1081&version=1&format=pdf">
http://portal.opengeospatial.org/files/?artifact_id=1081&version=1&format=pdf</a><br><br>><br><<a href="http://portal.opengeospatial.org/files/?artifact_id=1081&version=1&format=pdf">http://portal.opengeospatial.org/files/?artifact_id=1081&version=1&format=pdf
</a>><br>><br>> Here what it says in the WMS 1.1.1 doc.<br>><br>> "If a request does includes an imprecise dimensional value, and<br>nearest<br>> value behavior has been declared, then the server shall compute and
<br>send<br>> the nearest available value. The value shall be rounded, not merely<br>> truncated."<br>><br>> Right now, mapserver is using date_trunc function to allow the user to<br><br>> specify months, days, hours or minutes. I think this could be
<br>enhanced<br>> to get the nearest time value in Postgres. For example, NASA GES has<br>3<br>> hourly data. If the user specify 2006-09-28T02:00 a blank image is<br>> return, the user needs to be exact 2006-09-28T03:00. Same thing with
<br>> 10-day data, 2006-09-03 will return a blank image. User have to<br>hit<br>> the right date 2006-08-10, 2006-08-20, 2006-08-31, 2006-09-10,....<br>><br>> Example<br>> Tropical Rain data 3B42_V6_10_DAY:
<br>><br><a href="http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20">http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20
</a><br><br>><br><<a href="http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20">http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20
</a>><br>><br>> blank image<br>><br><a href="http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20T04:00">
http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20T04:00</a><br><br>><br><<a href="http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20T04:00">
http://g0hep12u.ecs.nasa.gov/mapserv-bin/wms_ogc?SERVICE=WMS&VERSION=1.1.1&REQUEST=Getmap&layers=bluemarble,TRMM_3B42_V6_10_DAY&BBOX=-180,-50,180,50&TIME=2005-08-20T04:00</a>><br>><br>><br>> Let me know if this make sense to you. I would be happy to contribute
<br><br>> some coding for this.<br>><br>><br>> Denis<br>><br>><br><br><br>--<br>----------------------------------------------------------------<br>Assefa Yewondwossen<br>Software Analyst<br><br>Email: <a href="mailto:assefa@dmsolutions.ca">
assefa@dmsolutions.ca</a><br><a href="http://www.dmsolutions.ca/">http://www.dmsolutions.ca/</a><br><br>Phone: (613) 565-5056 (ext 14)<br>Fax: (613) 565-0925<br>----------------------------------------------------------------
<br></blockquote></div><br>