Download presentation
Presentation is loading. Please wait.
2
The Dynamic WMS Web Client Development with AJAX
Pisut Nakmuenwai Computer Scientist Amornchai Prakobya Geoinfomatics Scientist Geo-Infomatics and Space Technology Development Agency
3
Objective Develope WMS web client JavaScript class libraries widely use for most agencies of WMS server Improve capability of existing GISTDA WMS Web client Engine by using AJAX
4
Application (Thick) Client
WMS Specification GetCapabilities Capabilities XML WMS Client WMS Server GetMap Image Map UMN MapServer Web (Thin) Client ArcIMS GetFeatureInfo Application (Thick) Client Text/Plain MapGuide GetLegend Graphics Others Image Legend
5
WMS Specification GetCapabilities Required
?service=wms &version=1.1.1 &request=getcapabilities WMS Capabilities XML MINE Type “ application/vnd.ogc.wms_xml “ This is cause of unnormally parsing in Browser “text/plain” and “text/xml”
6
WMS Specification GetMap Required
?service=wms &version=1.1.1 &format=image/png; mode=24bit &request=getmap &bbox=98.19,16.01,102.11,18.36 &layers=landsat5,RADARSAT &styles=default,default &width=788&height=462 &srs=EPSG:24047
7
WMS Specification GetLegendGraphic SLD Only
?service=wms &version=1.1.1 &format= &request= ?service=wms &version=1.1.1 &format=image/png; mode=24bit &request=getlegendgraphic SLD (Styled Layer Descriptors) Supported DescribeLayer GetLegendGraphic GetStyles PutStyles
8
WMS Specification GetFeatureInfo Optional
?service=wms &version=1.1.1 &info_format=text/plain &request=getfeatureinfo &query_layers=Layer01 &feature_count=1 &x=100&y=200 &……GetMap Parameters…..
9
What Dynamic WMS mean Automaticaly … GetCapabilities at first use
GetLegendGraphics each layers Preloading image map Image map format supporting list Reprojection BBOX when SRS change Visulization with theme support Others function …
10
Outsource JavaScript Engine
Architecture MapControl MapTOC Map Display Layer Manager MapObject Geometry MapController WMSConnecter Outsource JavaScript Engine XML parser Map Reprojecter & Proj4
11
Implementation Outsource JavaScript Engine …
XML parser “XML for <Script>” version Map Reprojecter “General Cartographic Transformation Package - JavaScript Edition (GCTP-JS)” version
12
Data Flow Diagram MapObject MapControl MapTOC HttpRequest HttpResponse
GISTDA Engine MapObject MapControl MapTOC XML Parser Map Projection 1st Time Use Service Variable AJAX HttpRequest HttpResponse Getcapability Capability XML Map Server
13
Data Flow Diagram MapObject MapTOC HttpRequest HttpResponse GetMap
GISTDA Engine MapObject MapControl MapTOC XML Parser Map Projection 1st Time Draw Map Default Map New Map Zooming,Reprojection AJAX HttpRequest HttpResponse GetMap Image Map Map Server
14
Data Flow Diagram MapObject MapControl MapTOC HttpRequest HttpResponse
GISTDA Engine MapObject MapControl MapTOC XML Parser Map Projection 1st TOC Initialize Legend Graphic AJAX HttpRequest HttpResponse GetLegendgraphic Legend Graphic Map Server
15
Interface Titlebar
16
Interface Toolbar NorthArrow Default Extent Pan Overview 2X Zoom In
Drag Zoom In Snapshot 2X Zoom Out Drag Zoom Out Feature Info
17
Interface Toolbar
18
Interface Toolbar
19
Interface Toolbar
20
Interface Toolbar
21
Interface Table Of Content Checkbox to visible or invisible layer
Single click to activate layer To time single click to hide/show legend graphic Doubleclick to show LayerInfo
22
Interface Table Of Content LayerInfo Dialog
23
Interface Map Viewer Mouse & Keyboard Control
24
Conclusion … Able to connect web map servers developed by various vendors. Create TOC by paticulary request legend graphics Preloading image for better visualization On the fly projection supported Easy to change user interface by skin 100% OOP very simply to integrated into each others
25
Next Step Improve & Develope … 100% Thai supported XML parser
Client tile download image map More map projection support User logon with deferent theme Display map from many sources Layer arrangement Support WMS, WFS , WCS and Others Virtual web map server for offline using without installation by C# (Standalone Application)
26
Thank You .
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.