﻿{"id":8782,"date":"2019-05-21T05:12:29","date_gmt":"2019-05-21T03:12:29","guid":{"rendered":"http:\/\/www.sigterritoires.fr\/?p=8782"},"modified":"2019-05-21T08:12:45","modified_gmt":"2019-05-21T06:12:45","slug":"understanding-the-wms-and-wfs-geoservices-part-1","status":"publish","type":"post","link":"https:\/\/www.sigterritoires.fr\/index.php\/en\/understanding-the-wms-and-wfs-geoservices-part-1\/","title":{"rendered":"Understanding the WMS and WFS geoservices  (Part 1)"},"content":{"rendered":"\n<p>A geoservice is a way to make geographic information available through\nthe Internet. <\/p>\n\n\n\n<p>Today, almost all products allowing the setting and use of a geoservice\nare based on the OGC standards. The <strong>Open Geospatial Consortium<\/strong>, or <strong>OGC<\/strong>\n<a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=https:\/\/fr.wikipedia.org\/wiki\/Open_Geospatial_Consortium%23cite_note-trademark-1#cite_note-trademark-1\"><sup>,<\/sup><\/a> is an international\nnon-profit organization founded in 1994 to address issues of interoperability\nof geographic information systems (GIS). The purpose of this consortium is to\nbring together all the stakeholders concerned in the development and promotion\nof the <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=https:\/\/fr.wikipedia.org\/wiki\/Standards_ouverts\">open standards<\/a> guaranteeing <a href=\"https:\/\/translate.google.com\/translate?hl=fr&amp;prev=_t&amp;sl=fr&amp;tl=en&amp;u=https:\/\/fr.wikipedia.org\/wiki\/Interop%25C3%25A9rabilit%25C3%25A9_en_informatique\">interoperability<\/a> in the field of geomatics and\ngeographic information and to foster cooperation between developers, suppliers\nand users. <\/p>\n\n\n\n<!--more-->\n\n\n\n<p>The <em>OpenGIS standards and specifications<\/em> developed by the OGC facilitate\nproducing complex systems and information services and promoting open content\nand services accessible and useful with any application. <\/p>\n\n\n\n<p>In this article we will discuss the two main standards used in\ngeoservices: WMS and WFS. <\/p>\n\n\n\n<p>The OGC WMS standard specifies the interface and settings for\ndynamically requesting maps from a server. Each WMS is individually configured\nand can be used for a multitude of different maps, combination of layers and,\neventually, can even be stylized with a different symbology. <\/p>\n\n\n\n<p>The Web Feature Service (WFS) service represents a change in the way\ngeographic information is created, modified, and exchanged over the Internet. Rather\nthan sharing geographic information at the file level using the File Transfer\nProtocol (FTP), for example, WFS provides direct and detailed access to\ngeographic information at e feature and proprietary level. . <\/p>\n\n\n\n<p>This international standard specifies visualization operations, query\noperations, lock operations, transaction operations, and stored and\nparameterized query management operations. <\/p>\n\n\n\n<p>To make it short, it can be said that\nthe WMS protocol makes it possible to broadcast formatted maps, while the WFS\nprotocol allows the dissemination of \u00ab\u00a0raw\u00a0\u00bb geographical data. \n\nIn the first case what will be returned by the\nserver is an image, while in the second it will be vector data as an XML file. \n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"356\" data-attachment-id=\"8783\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/understanding-the-wms-and-wfs-geoservices-part-1\/211-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/211.png?fit=1009%2C562&amp;ssl=1\" data-orig-size=\"1009,562\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"211\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/211.png?fit=640%2C356&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/211.png?resize=640%2C356&#038;ssl=1\" alt=\"\" class=\"wp-image-8783\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/211.png?w=1009&amp;ssl=1 1009w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/211.png?resize=300%2C167&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/211.png?resize=768%2C428&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>One of the main advantages of a geoservice is to overcome the multitude\nof GIS formats. The user, just knows the two protocols. It is the geoservice\nsoftware that takes care of reading and formatting data in different formats. \n\nAn example of this architecture is the use of\nGeoserver. The following image shows the different types of data managed by\nGeoserver. &nbsp;&nbsp;\n\n\n\n<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"464\" data-attachment-id=\"8784\" data-permalink=\"https:\/\/www.sigterritoires.fr\/index.php\/en\/understanding-the-wms-and-wfs-geoservices-part-1\/212-4\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/212.png?fit=829%2C601&amp;ssl=1\" data-orig-size=\"829,601\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"212\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/212.png?fit=640%2C464&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/212.png?resize=640%2C464&#038;ssl=1\" alt=\"\" class=\"wp-image-8784\" srcset=\"https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/212.png?w=829&amp;ssl=1 829w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/212.png?resize=300%2C217&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.sigterritoires.fr\/wp-content\/uploads\/2019\/05\/212.png?resize=768%2C557&amp;ssl=1 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p><strong>The WFS protocol<\/strong> <\/p>\n\n\n\n<p>The WFS protocol makes it possible to put data on line. The user\naccesses the basic information of the entities and their attributes. Of course,\nit is possible to control and limit access to certain entities or properties,\nbut the result of a request to the server will be a data file. <\/p>\n\n\n\n<p>This international standard specifies discovery operations, quering\noperations, lock operations, transaction operations, and stored and\nparameterized query expression management operations. <\/p>\n\n\n\n<p>Discovery operations are used to query the service to determine its\ncapabilities and retrieve the application schema that defines the types of properties\nthat the service provides. <\/p>\n\n\n\n<p>Query operations retrieve entities or entity features values \u200b\u200bfrom the\nunderlying data store based on client-defined constraints on entity properties.\n<\/p>\n\n\n\n<p>Lock operations allow exclusive access to entities for the purpose of\nediting or deleting entities. <\/p>\n\n\n\n<p>Transactional operations are used to create, modify, replace, and delete\nfeatures in the underlying data store. <\/p>\n\n\n\n<p>Stored query operations allow clients to create, drop, list, and\ndescribe parameterized query expressions that are stored by the server and can be\nre-called multiple times using different parameter values. <\/p>\n\n\n\n<p>As it stands, the WFS standard defines eleven operations: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>GetCapabilities (discovery\noperation) <\/li><li>DescribeFeatureType (discovery\noperation) <\/li><li>GetPropertyValue (query\noperation) <\/li><li>GetFeature (query operation) <\/li><li>GetFeatureWithLock (query and\nlock operation) <\/li><li>LockFeature (lock operation) <\/li><li>Transaction (transactional\ntransaction) <\/li><li>CreateStoredQuery (stored query\noperation) <\/li><li>DropStoredQuery (stored query\noperation) <\/li><li>ListStoredQueries (stored query\noperation) <\/li><li>DescribeStoredQueries (stored\nquery operation) <\/li><\/ul>\n\n\n\n<p>In the following article, we will discuss the first four since they are\nthe most common. The other operations concern the updating of the data through\nthe geoservice and are, generally, reserved for a limited number of users. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>A geoservice is a way to make geographic information available through the Internet. Today, almost all products allowing the setting and use of a geoservice are based on the OGC standards. The Open Geospatial Consortium, or&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"give_campaign_id":0,"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1260],"tags":[],"class_list":["post-8782","post","type-post","status-publish","format-standard","hentry","category-non-classe-en"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p6XU0A-2hE","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/comments?post=8782"}],"version-history":[{"count":0,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/posts\/8782\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/media?parent=8782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/categories?post=8782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sigterritoires.fr\/index.php\/wp-json\/wp\/v2\/tags?post=8782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}