WEB MAP SERVICE (WMS) FOR GEOLOGICAL · PDF fileWEB MAP SERVICE (WMS) - ... (Internet...
Transcript of WEB MAP SERVICE (WMS) FOR GEOLOGICAL · PDF fileWEB MAP SERVICE (WMS) - ... (Internet...
WEB MAP SERVICE (WMS) FOR GEOLOGICAL DATA
GEORGE TUDOR
WEB MAP SERVICE (WMS) - GENERALITIES
• Projects with data from different sources
• Geological data are in different GIS software format
• Large amount of working for data conversion, integration and reproduction of data
• Difficulty to update data from other institutions
WEB MAP SERVICE (WMS) - GENERALITIES
• Standard protocol for serving georeferenced map images over the internet that are generated by a map server using data from a GIS database
• The specification was developed and first published by the Open Geospatial Consortium (OGC) in 1999 – an international voluntary standard organization, for open standards for geospatial content and services, GIS data processing and data sharing
WEB MAP SERVICE (WMS) - GENERALITIES
• WMS (Web Map Service) returns GIS data as image
• WFS (Web Feature Service) returns feature data (vector data) – use XML –based on GML format
• WCS (Web Coverage Service) returns coverage data, especially as raster data
WEB MAP SERVICE (WMS)
GIR GIS
DATABASE
WEB SERVER MAP SERVER WEB
BROWSER DESKTOP GIS
GEOLOGICAL GIS DATA LAYERS (lithology, geological limits, mineral resources)
GIS SERVER SOFTWARE (MapServer, GeoServer, ArcGIS Server)
WEB SERVER SOFTWARE (Apache, IIS, etc)
Web browser software (Internet Explorer, Firefox, Opera, Chrome, etc) ArcGIS, QuantumGIS
GIS DATA GEOFERRENCED IMAGES FROM VECTOR DATA
HTTP PROTOCOL GEOFERRENCED
IMAGES REQUEST
RETURN HTML OUTPUT PICTURE OUTPUT
REQUEST REQUEST
RETURN
INTE
RN
ET
SERVER SIDE CLIENT SIDE
WEB MAP SERVICE (WMS) - REQUESTS
A WMS-compliant server must be able to handle a least the following 3types of WMS requests:
• GetCapabilities: return an XML document with metadata of the information
• GetMap: return an image of a map according to the user's needs.
• GetFeatureInfo: return info about feature(s) at a query (mouse click) location.
WEB MAP SERVICE (WMS) – URL AND COMMANDS
WMS address: • http://37.128.225.60/ArcGIS_Server_IGR/services/GIR_Bedrock_and_Sup
erficial_Lithostratigraphy/MapServer/WMSServer?
WMS request for Capabilities • http://37.128.225.60/ArcGIS_Server_IGR/services/GIR_Bedrock_and_Sup
erficial_Lithostratigraphy/MapServer/WMSServer?service=wms&request=GetCapabilities&version=1.3.0
DNS ARCGIS SERVER INSTANCE
FOLDER NAME
SERVICE TYPE
GIS DATABASE
SPATIAL DATABASE SQL DATABASE
MAPSERVER
CGI-REQUEST
APPLICATIONS
WMS FOR MAPSERVER (OPEN SOURCE TECHNOLOGY)
MAP FILE
HTML TEMPLATE
WEB SERVER
SERVER
CLIENT
Internal database: vector, raster: External database: WMS, WFS
PICTURE OUTPUT
GIF, PNG, JPEG. BMP. SWF, GTIFF
RUN /mapserv.exe/*.map, pa- rameters
Apache Server
INTERNET
GETMAP, GETCAPABILITIES GETMAPINFO
WEB BROWSERS GIS DESKTOP
Map file
• A map file is a simple text file used by MapServer to configure various features of maps (layers, colors, symbols, labels, etc)
• It is composed by hierarchical objects, which start with a specific keyword (MAP, WEB,etc) and finish with the keybord END:
Map, Web,Layer, Class, Projection, Legend, Metadata, Outputformat
Map file - example • # Start of map file
• #
• MAP
• NAME GIR_RO_Bedrock_and_Superficial_Geology #Root layer name
• STATUS ON
• SIZE 600 600
• EXTENT 134649.999723 233779.998862 868460.000278 752129.999473 #Change to appropriate coordinates for your data
• UNITS meters # UNITS [feet|inches|kilometers|meters|miles|dd] Units of the map coordinates. Used for scalebar and scale computations.
• SHAPEPATH "data"
• IMAGECOLOR 255 255 255
• OUTPUTFORMAT
• NAME png
• DRIVER "GD/PNG"
• MIMETYPE "image/png"
• IMAGEMODE RGBA #All colours and alpha based transparency
• EXTENSION "png"
• FORMATOPTION "INTERLACE=ON"
• #####Slow connections will profit from this option
• END
• # If you know you have fewer than 256 colours there may be a small decrease
• # in image sizes if you use the below (default) OUTPUTFORMAT settings rather
• # than those above.
• # OUTPUTFORMAT
• # NAME png
• # DRIVER "GD/PNG"
• # MIMETYPE "image/png"
• # IMAGEMODE PC256
• #####Only 256 colours, may be insufficient for geological maps.
• # EXTENSION "png"
• # END
GIS DATABASE
SPATIAL DATABASE SQL DATABASE
ARCGIS DESKTOP - ARCINFO
ARCGIS SERVER
APPLICATIONS
WMS FOR ARCGIS SERVER
MXD FILES
VECTOR AND RASTER DATA
WEB SERVER
SERVER
CLIENT
Internal database: vector, raster: External database: WMS, WFS
PICTURE OUTPUT
GIF, PNG, JPEG. BMP. SWF, GTIFF
ARCGIS SERVER MANAGER ARCCATALOG
Apache Server, IIS
INTERNET
GETMAP, GETCAPABILITIES GETFEATUREINFO,
WEB BROWSERS GIS DESKTOP
MAP SERVICE
IMAGE SERVICE
WMS FOR ARCGIS SERVER - MANAGER
WMS FOR ARCGIS SERVER ARCCATALOG
WMS FOR ARCGIS SERVER – QUANTUM GIS
WMS FOR ARCGIS SERVER – CAPATIBILITY XML FORMAT
WMS FOR ARCGIS SERVER – PRINTED GEOLOGICAL MAP AT 200K SCALE
ONEGEOLOGY
A project to make web-accesible the best available geological map data worldwide at a scale of about 1:1.000.000, as a Geological Survey contribution
GEOLOLOGICAL
SURVEY’S
WMS
WFS
ONEGEOLOGY PORTAL DISPLAY ALL MAPS
http://portal.onegeology.org GEOLOGICAL SURVEY’S SERVERS
SERVICES WEB APPLICATION PORTAL
GML CLIENT
255 WMS AND 24 WFS
ONEGEOLOGY GeoSciML GeoSciML – a standard schema for geological data, an extension of GML (Geography Markup Language) GeoSciML Data Model, as a series of class diagrams with properties and relationships between geological features (unit types, age, composition, metamorphism, vocabularies, etc)
Interoperability
semantic
schematic
syntax
systems
Data Content (Ontologies, Vocabularies)
Data Structure (GeoSciML, Earth Resources ML)
Data Language (GML, XML) – delivers the model to web services
Data Services (WMS, WFS, WCS)
ONEGEOLOGY GeoSciML
GeoSciML – a standard schema for geological data
GS1
GS2
GSn
WMS, WFS
WMS, WFS
WMS, WFS
GS1 SCHEMA
GS2 SCHEMA
GSn SCHEMA
GEOLOGICAL SURVEY
GML CLIENT
IUGS – International Union of Geological Sciences CGI – Commision for the Management and Application of Geoscience Information IWG – Interoparability Working Group Multi-lingual thesaurus working group
WMS FOR ONEGEOLOGY PROJECT
ONEGEOLOGY THE BASIC FUNCTIONS OF THE PORTAL
•NAVIGATION: ZOOM, PAN, •GET INFORMATION TOOL •HELP MENU •MULTI-LAYER MAP VIEW •OPACITY SELECTION •LEGEND VIEWER •LINK TO GOOGLE EARTH •DETAILS OF GEOLOGICAL SURVEY •BRIEF DESCRIPTION OF DATA LAYER •CONDITIONS OF USE INFORMATION FOR EACH LAYER •AVAILABLE IN 2 LANGUAGES •LAYERS MANAGEMENT •PRINT •LOAD KML •OVERVIEW MAP •METADATA •VOCABULARIES •CATALOG OF SERVICES/MAPS
WMS FOR ONEGEOLOGY - LAYERS
WMS FOR ONEGEOLOGY – GetCapability - METADATA
WMS FOR ONEGEOLOGY - GetFeatureInfo
WMS FOR ONEGEOLOGY - VOCABULARIES
WMS IN GEOPORTAL - IGR
WMS SERVICES FOR TOPOGRAPHICAL MAPS (1:100.000 AND 1:25.000)
ARCGIS ONLINE – SPATIAL DATA AS SERVICES IN CLOUDING
ARCGIS ONLINE – SPATIAL DATA AS SERVICES IN CLOUDING
SPATIAL DATA FROM WMS SERVICES AND ARCGIS ONLINE
CONCLUSIONS
• The specification was developed and first published by the Open Geospatial Consortium (OGC) in 1999
• Standards and procedures for the use of distribuited spatial data from distributed data sources over the internet
• Generate maps with the exchange of shared services from different sources and different software systems
• Original vector data are not accessible and are updated by data owner