<?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; OpenLayers WMS</title>
	<atom:link href="https://www.ninsawat.com/?feed=rss2&#038;tag=openlayers-wms" rel="self" type="application/rss+xml" />
	<link>https://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 1.3.0 กับ OpenLayers</title>
		<link>https://www.ninsawat.com/?p=54&#038;utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wms-130-%25e0%25b8%2581%25e0%25b8%25b1%25e0%25b8%259a-openlayers</link>
		<comments>https://www.ninsawat.com/?p=54#comments</comments>
		<pubDate>Fri, 05 Jun 2009 03:28:13 +0000</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
				<category><![CDATA[openlayers]]></category>
		<category><![CDATA[wms]]></category>
		<category><![CDATA[OpenLayers WMS]]></category>

		<guid isPermaLink="false">http://www.ninsawat.com/?p=54</guid>
		<description><![CDATA[มากันอีกแล้วกับ version ใหม่ สิ่งสำคัญในการเปลี่ยนแปลงครั้งนี้คือ ระบบ North-South , East-West แล้วก็ จาก SRS มาเป็น CRS ระบบใหม่นั้นจะให้ การอ้างอิง Axis เป็นไปตามค่าที่ระบุใน GetCapabilities  ดังนั้นจะใช้อย่างไรก็ต้องทำการศึกษาให้ดี รายละเอียดเพิ่มเติมก็ลองดูจาก http://mapserver.org/ogc/wms_server.html#wms-1-3-0-support ตัวอย่าง website ภาพถ่ายทางอากาศของญี่ปุ่นที่ support WMS 1.3.0 เท่านั้น http://orthophoto.mlit.go.jp:8888/wms/service/wmsRasterTileMap?VERSION=1.3.0&#038;REQUEST=GetCapabilities&#038;Service=WMS แล้วเราจะใช้ WMS 1.3.0 กับ OpenLayers ได้ไหม คำตอบก็คือได้ แต่ไม่สมบูรณ์ เพราะได้รับการยืนยันจาก Chris Schmidt ว่าไม่รับรองการรองรับกับ WMS 1.3.0 แต่ต้องทำการตั้งค่า option ของ layers สะนิดหน่อยให้ใช้  Version 1.3.0 และ CRS layer = new&#8230;]]></description>
				<content:encoded><![CDATA[<p>มากันอีกแล้วกับ version ใหม่ สิ่งสำคัญในการเปลี่ยนแปลงครั้งนี้คือ</p>
<ul>
<li>ระบบ North-South , East-West</li>
<li>แล้วก็ จาก SRS มาเป็น CRS</li>
</ul>
<p>ระบบใหม่นั้นจะให้ การอ้างอิง Axis เป็นไปตามค่าที่ระบุใน GetCapabilities  ดังนั้นจะใช้อย่างไรก็ต้องทำการศึกษาให้ดี รายละเอียดเพิ่มเติมก็ลองดูจาก http://mapserver.org/ogc/wms_server.html#wms-1-3-0-support</p>
<p>ตัวอย่าง website ภาพถ่ายทางอากาศของญี่ปุ่นที่ support WMS 1.3.0 เท่านั้น</p>
<p>http://orthophoto.mlit.go.jp:8888/wms/service/wmsRasterTileMap?VERSION=1.3.0&#038;REQUEST=GetCapabilities&#038;Service=WMS</p>
<p>แล้วเราจะใช้ WMS 1.3.0 กับ OpenLayers ได้ไหม คำตอบก็คือได้ แต่ไม่สมบูรณ์ เพราะได้รับการยืนยันจาก Chris Schmidt ว่าไม่รับรองการรองรับกับ WMS 1.3.0</p>
<p>แต่ต้องทำการตั้งค่า option ของ layers สะนิดหน่อยให้ใช้  Version 1.3.0 และ CRS</p>
<p>layer = new OpenLayers.Layer.WMS(&#8220;MLIT photo&#8221;, &#8220;http://orthophoto.mlit.go.jp:8888/wms/service/wmsRasterTileMap&#8221;,</p>
<p>{layers:&#8221;ORTHO&#8221;,</p>
<p>CRS:&#8221;EPSG:4612&#8243;,</p>
<p>VERSION:&#8221;1.3.0&#8243;</p>
<p>} );</p>
<p>แต่ก็ไม่คิดว่าน่าจะใช่วิธีที่ถูกต้อง เพราะใน URL ที่ส่งไปก็ยังมี SRS อยู่ด้วยต้องทำการหาวิธีที่ถูกต้องต่อไป</p>
<p>เท่าที่ใช้ดูเวลา zoom เข้าไปบางทีก็มีปัญหา แล้วก็ cache บางทีก็ต่อกลับหัวกลับข้าง คาดว่าคงเป็นปัญหาด้าน lon/lat และ lat/lon</p>
<p>ก็อาจจะต้องทำการแก้ไขสร้าง Layer Class ขึ้นมาใหม่ให้สำหรับ wms 1.3.0 โดยการจำลองจาก Layer WMS เดิมแล้วก็ทำการสลับค่า coordinate สะ</p>
]]></content:encoded>
			<wfw:commentRss>https://www.ninsawat.com/?feed=rss2&#038;p=54</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
