<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sarawut Ninsawat &#187; wcs wms time mapserver</title>
	<atom:link href="http://www.ninsawat.com/?feed=rss2&#038;tag=wcs-wms-time-mapserver" rel="self" type="application/rss+xml" />
	<link>http://www.ninsawat.com</link>
	<description>A Personal Blog but not private</description>
	<lastBuildDate>Sat, 02 Aug 2025 08:02:05 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.2</generator>
	<item>
		<title>WMS and WCS Time</title>
		<link>http://www.ninsawat.com/?p=53&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wms-and-wcs-time</link>
		<comments>http://www.ninsawat.com/?p=53#comments</comments>
		<pubDate>Wed, 03 Jun 2009 07:29:55 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[mapserver]]></category>
		<category><![CDATA[mapserver WxS]]></category>
		<category><![CDATA[wcs]]></category>
		<category><![CDATA[wms]]></category>
		<category><![CDATA[wcs wms time mapserver]]></category>

		<guid isPermaLink="false">http://www.ninsawat.com/?p=53</guid>
		<description><![CDATA[รับรู้มาตั้งนานแล้วว่า Mapserver support WMS และ WCS Time เช่นในกรณี MODIS data set ซึ่งจะมีภาพทุก ๆ วัน ก็จะเป็นประโยชน์มากวิธีการทำก็มีใน http://mapserver.org/ogc/wms_time.html และ http://mapserver.org/ogc/wcs_server.html#wcs-server มาสรุปสั้น ๆ ให้ได้ใจความ ก่อนอื่นทำความเข้าใจก่อนว่า 1 ไฟล์ภาพ คือ ข้อมูล หนึ่งวัน หรือหนึ่งเวลา อาจจะมีหลาย band ก็ได้ ขั้นที่ 1 ก็ทำการสร้าง index file ด้วยคำสั่ง -gdaltindex inde.shp image/*.tif ก็จะได้ไฟล์ index มาซึ่งจะมี colume &#8220;location&#8221;  ที่มี path และ filename อยู่ ก็ทำการสร้าง colume เพิ่มมาใหม่ด้วย โปรแกรม GIS&#8230;]]></description>
				<content:encoded><![CDATA[<p>รับรู้มาตั้งนานแล้วว่า Mapserver support WMS และ WCS Time</p>
<p>เช่นในกรณี MODIS data set ซึ่งจะมีภาพทุก ๆ วัน ก็จะเป็นประโยชน์มากวิธีการทำก็มีใน</p>
<p>http://mapserver.org/ogc/wms_time.html และ http://mapserver.org/ogc/wcs_server.html#wcs-server</p>
<p>มาสรุปสั้น ๆ ให้ได้ใจความ</p>
<p>ก่อนอื่นทำความเข้าใจก่อนว่า 1 ไฟล์ภาพ คือ ข้อมูล หนึ่งวัน หรือหนึ่งเวลา อาจจะมีหลาย band ก็ได้</p>
<p>ขั้นที่ 1 ก็ทำการสร้าง index file ด้วยคำสั่ง</p>
<p>-gdaltindex inde.shp image/*.tif</p>
<p>ก็จะได้ไฟล์ index มาซึ่งจะมี colume &#8220;location&#8221;  ที่มี path และ filename อยู่</p>
<p>ก็ทำการสร้าง colume เพิ่มมาใหม่ด้วย โปรแกรม GIS เช่น Mapwindos, Qgis etc.. ตั่งชื่ออะไรก็ได้ ให้ข้อมูลเป็นชนิด Text</p>
<p>จากนั้นอาจจะต้องหาวิธีใส่ข้อมูลวันที่เข้าไป ในแต่ละ records.</p>
<p>เสร็จไปขั้นแรก</p>
<p>2. ก็มาสร้าง map file โดยทำการสร้าง layer สำหรับ tile index ซึ่งก็เป็นแบบทั่วไปของ Polygon SHP</p>
<p>3. ทำการสร้าง Layer สำหรับภาพ Modis โดยมีข้อมูลที่สำคัญตามนี้</p>
<p>Layer</p>
<p>NAME modisa <em>ชื่อข้อมูล</em></p>
<p>Projection</p>
<p>&#8220;init=epsg:4326&#8243;</p>
<p>End</p>
<p>TYPE RASTER</p>
<p>DUMP True</p>
<p>TILEINDEX &#8220;location&#8221; <em>ชื่อ colume ที่มี path และ filename</em></p>
<p>TILEINDEX &#8220;time_idx&#8221; <em>ชื่อ layer ของ tileindex</em></p>
<p>METADATA</p>
<p>&#8220;wms_timextent&#8221; &#8220;2008-09-01/2008-09-05 <em>จากวันที่ 1 ถึง 5<br />
</em></p>
<p>&#8220;wms_timeitem&#8221; &#8220;dtime&#8221; <em>ชื่อ colume ใน shp ที่มีข้อมูลวันที่</em></p>
<p>&#8220;wms_timedefault&#8221; &#8220;2008-09-01&#8243;</p>
<p>&#8230;&#8230; และอื่นที่ ๆจำเป็นสำหรับ wms implementation</p>
<p>&#8220;wcs_timeitem&#8221; &#8220;dtime&#8221;</p>
<p>&#8220;wcs_timeposition&#8221; &#8220;2008-09-01/2008-09-05&#8243;</p>
<p>&#8230;&#8230;</p>
<p>END</p>
<p>เป็นที่น่าสังเกตว่า</p>
<p>wcs_timeextent สามารถกำหนดเป็น แบบ range ได้ หลังจาก Mapserver version 5.4.1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ninsawat.com/?feed=rss2&#038;p=53</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
