<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki-Demgeorge5</id>
	<title>OSGeo - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.osgeo.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Wiki-Demgeorge5"/>
	<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/wiki/Special:Contributions/Wiki-Demgeorge5"/>
	<updated>2026-04-13T02:12:19Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=WMS_Tiling_Client_Recommendation&amp;diff=50344</id>
		<title>WMS Tiling Client Recommendation</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=WMS_Tiling_Client_Recommendation&amp;diff=50344"/>
		<updated>2010-09-13T05:42:12Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Demgeorge5: /* Miscellany */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
This document details extensions to and constraints on the OGC WMS 1.1.1&lt;br /&gt;
specification for the purpose of (a) improving the quality and scalability of&lt;br /&gt;
tiled maps, particularly on the Web, and (b) making it possible to cache the&lt;br /&gt;
results of tiled WMS requests.&lt;br /&gt;
&lt;br /&gt;
This recommendation relies on two basic concepts to support this purpose:&lt;br /&gt;
First, cachability of map imagery can be improved by&lt;br /&gt;
using image tiles of fixed width and height, referenced to some fixed&lt;br /&gt;
geographic grid at fixed scales. A &amp;quot;valid&amp;quot; tile request is one that conforms to&lt;br /&gt;
the specification of fixed image parameters and geographic grid(s) for a given&lt;br /&gt;
layer. By analogy, an &amp;quot;invalid&amp;quot; tile request is one that does not.&lt;br /&gt;
&lt;br /&gt;
Second, caching of HTTP GET requests is further made possible by&lt;br /&gt;
constraining the URL parameters used in the request. This recommendation&lt;br /&gt;
identifies the WMS GetMap parameters minimally needed for a client to&lt;br /&gt;
request a valid tile.&lt;br /&gt;
&lt;br /&gt;
For more information and further background, please refer to the [[TilingStandard]]&lt;br /&gt;
and [[Tile Map Service Specification]] documents on this wiki.&lt;br /&gt;
&lt;br /&gt;
== Tiling Profiles ==&lt;br /&gt;
&lt;br /&gt;
WMS servers that support tiling should publish a profile as part of their&lt;br /&gt;
GetCapabilities advertisement, which specifies all of the information needed to&lt;br /&gt;
request valid tiles from the tile server. The required information comes in two&lt;br /&gt;
varieties: (1) WMS request parameters which must be supplied to the server&lt;br /&gt;
verbatim, and (2) a tile grid definition, which a client can use to calculate&lt;br /&gt;
the extents of valid tiles.&lt;br /&gt;
&lt;br /&gt;
=== Verbatim Request Parameters ===&lt;br /&gt;
&lt;br /&gt;
Each tiling profile needs to establish verbatim values for the following&lt;br /&gt;
WMS request parameters:&lt;br /&gt;
&lt;br /&gt;
* ''srs''&lt;br /&gt;
* ''height''&lt;br /&gt;
* ''width''&lt;br /&gt;
* ''format''&lt;br /&gt;
&lt;br /&gt;
Additionally, each tiled layer is defined in terms of verbatim values for:&lt;br /&gt;
&lt;br /&gt;
* ''layers''&lt;br /&gt;
* ''styles''&lt;br /&gt;
&lt;br /&gt;
=== Tile Grid Definition ===&lt;br /&gt;
&lt;br /&gt;
Rather than rely on the much-overloaded concept of &amp;quot;scale,&amp;quot; this recommendation&lt;br /&gt;
instead will describe scales or zoom levels in terms of &amp;quot;resolution,&amp;quot; defined&lt;br /&gt;
in terms of map units (typically degrees or meters) per pixel.&lt;br /&gt;
&lt;br /&gt;
In order to be cacheable, requested tiles must have bounding boxes aligned to a&lt;br /&gt;
set of consistent grids at successively larger map resolutions in geographic&lt;br /&gt;
space. Tile grids originate in the lower left corner of the tiled layer's&lt;br /&gt;
''BoundingBox''.&lt;br /&gt;
&lt;br /&gt;
A tiling profile must supply a list of supported resolutions, corresponding to&lt;br /&gt;
the different &amp;quot;zoom levels&amp;quot; it may be used to serve.&lt;br /&gt;
&lt;br /&gt;
The bounding box for a valid tile request must align to the grid given by the&lt;br /&gt;
layer's tiling profile. In practical terms, this means the ''bbox'' coordinates&lt;br /&gt;
must be equal to the grid origin, plus some non-negative integer multiple of&lt;br /&gt;
the tile size in pixels, multiplied by one of the supported resolutions listed&lt;br /&gt;
in the layer's tiling profile.&lt;br /&gt;
&lt;br /&gt;
=== Global Profiles ===&lt;br /&gt;
&lt;br /&gt;
The following pre-defined global profiles use resolution values that are related by&lt;br /&gt;
powers of two. Servers may offer tiles at as many resolution levels as are&lt;br /&gt;
appropriate to the data represented.&lt;br /&gt;
&lt;br /&gt;
==== Unprojected Profile ====&lt;br /&gt;
&lt;br /&gt;
All tiling WMS servers should be able to deliver tiles in a generic &amp;quot;unprojected&amp;quot; global&lt;br /&gt;
profile, with the following tiling parameters:&lt;br /&gt;
&lt;br /&gt;
* Width: 256 px&lt;br /&gt;
* Height: 256 px&lt;br /&gt;
* Format: image/png&lt;br /&gt;
* SRS: EPSG:4326&lt;br /&gt;
* BoundingBox: -180 -90, 180 90&lt;br /&gt;
* Resolutions: 0.703125, 0.3515625 ...&lt;br /&gt;
&lt;br /&gt;
There are two tiles at the highest resolution of the Unprojected Profile.&lt;br /&gt;
&lt;br /&gt;
==== Mercator Profile ====&lt;br /&gt;
&lt;br /&gt;
* Width: 256 px&lt;br /&gt;
* Height: 256 px&lt;br /&gt;
* Format: image/png&lt;br /&gt;
* SRS: OSGEO:41001&lt;br /&gt;
* BoundingBox: -20037508.34 -20037508.34 20037508.34 20037508.34&lt;br /&gt;
* Resolutions: 156543.03390625 78271.516953125 ...&lt;br /&gt;
&lt;br /&gt;
There is one tile at the highest resolution of the basic Mercator profile.&lt;br /&gt;
&lt;br /&gt;
=== GetCapabilities Responses ===&lt;br /&gt;
&lt;br /&gt;
==== Internal DTD ====&lt;br /&gt;
&lt;br /&gt;
Tiling WMS servers should include the following internal DTD to advertise the&lt;br /&gt;
presence of tiling metadata, as recommended by the OGC WMS 1.1.1 specification:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;!DOCTYPE WMT_MS_Capabilities SYSTEM&lt;br /&gt;
  &amp;quot;http://schemas.opengeospatial.net/wms/1.1.1/WMS_MS_Capabilities.dtd&amp;quot; [&lt;br /&gt;
  &amp;lt;!ELEMENT VendorSpecificCapabilities (TileSet*) &amp;gt;&lt;br /&gt;
  &amp;lt;!ELEMENT TileSet (SRS, BoundingBox?, Resolutions, Width, Height, Format, Layers*, Styles*) &amp;gt;&lt;br /&gt;
  &amp;lt;!ELEMENT Resolutions (#PCDATA) &amp;gt;&lt;br /&gt;
  &amp;lt;!ELEMENT Width (#PCDATA) &amp;gt;&lt;br /&gt;
  &amp;lt;!ELEMENT Height (#PCDATA) &amp;gt;&lt;br /&gt;
  &amp;lt;!ELEMENT Layers (#PCDATA) &amp;gt;&lt;br /&gt;
  &amp;lt;!ELEMENT Styles (#PCDATA) &amp;gt;&lt;br /&gt;
 ]&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Example VendorSpecificCapabilities ====&lt;br /&gt;
&lt;br /&gt;
A suitable tiling WMS GetCapabilities response might look like this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
&amp;lt;WMT_MS_Capabilities&amp;gt;&lt;br /&gt;
  ...&lt;br /&gt;
  &amp;lt;VendorSpecificCapabilities&amp;gt;&lt;br /&gt;
    &amp;lt;TileSet&amp;gt;&lt;br /&gt;
      &amp;lt;SRS&amp;gt;EPSG:4326&amp;lt;/SRS&amp;gt;&lt;br /&gt;
      &amp;lt;BoundingBox srs=&amp;quot;EPSG:4326&amp;quot; minx=&amp;quot;-180&amp;quot; miny=&amp;quot;-90&amp;quot; maxx=&amp;quot;180&amp;quot; maxy=&amp;quot;90&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;Resolutions&amp;gt;0.703125 0.3515625 0.17578125 0.087890625 0.04394531250&amp;lt;/Resolutions&amp;gt;&lt;br /&gt;
      &amp;lt;Width&amp;gt;256&amp;lt;/Width&amp;gt;&lt;br /&gt;
      &amp;lt;Height&amp;gt;256&amp;lt;/Height&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;image/png&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;Layers&amp;gt;coastline&amp;lt;/Layers&amp;gt;&lt;br /&gt;
      &amp;lt;Styles&amp;gt;&amp;lt;/Styles&amp;gt;&lt;br /&gt;
    &amp;lt;/TileSet&amp;gt;&lt;br /&gt;
    &amp;lt;TileSet&amp;gt;&lt;br /&gt;
      &amp;lt;SRS&amp;gt;OSGEO:41001&amp;lt;/SRS&amp;gt;&lt;br /&gt;
      &amp;lt;BoundingBox srs=&amp;quot;OSGEO:41001&amp;quot; minx=&amp;quot;-20037508.34&amp;quot; miny=&amp;quot;-20037508.34&amp;quot; &lt;br /&gt;
                                     maxx=&amp;quot;20037508.34&amp;quot;  maxy=&amp;quot;20037508.34&amp;quot; /&amp;gt;&lt;br /&gt;
      &amp;lt;Resolutions&amp;gt;&lt;br /&gt;
         156543.03 78271.52 39135.76 19567.88 9783.94 4891.97 &lt;br /&gt;
      &amp;lt;/Resolutions&amp;gt;&lt;br /&gt;
      &amp;lt;Width&amp;gt;256&amp;lt;/Width&amp;gt;&lt;br /&gt;
      &amp;lt;Height&amp;gt;256&amp;lt;/Height&amp;gt;&lt;br /&gt;
      &amp;lt;Format&amp;gt;image/png&amp;lt;/Format&amp;gt;&lt;br /&gt;
      &amp;lt;Layers&amp;gt;coastline&amp;lt;/Layers&amp;gt;&lt;br /&gt;
      &amp;lt;Styles&amp;gt;&amp;lt;/Styles&amp;gt;&lt;br /&gt;
    &amp;lt;/TileSet&amp;gt;&lt;br /&gt;
   &amp;lt;/VendorSpecificCapabilities&amp;gt;&lt;br /&gt;
   ...&lt;br /&gt;
&amp;lt;/WMT_MS_Capabilities&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This declaration asserts that our hypothetical tiling WMS server supports tiling in the two basic global profiles for the &amp;lt;code&amp;gt;coastline&amp;lt;/code&amp;gt; layer defined elsewhere in the capabilities response. Note that the ''Resolutions'' list is whitespace separated.&lt;br /&gt;
&lt;br /&gt;
== Tile Requests ==&lt;br /&gt;
&lt;br /&gt;
Requests for map tiles from a WMS server should include the vendor-specific&lt;br /&gt;
parameter &amp;lt;code&amp;gt;tiled=true&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Verbatim request parameters must be given in a tiled WMS request exactly as&lt;br /&gt;
specified in the tiling profile / layer definition.&lt;br /&gt;
&lt;br /&gt;
Valid tile requests must include all mandatory WMS GetMap parameters, e.g. ''service'', ''version'', ''request'',   ''layers'', ''styles'', ''srs'', ''bbox'', ''width'', ''height'', ''format''. Hopefully, standard Web caches will be smart enough not to care about parameter ordering. Values for the ''request'' parameter should follow the mixed-caps case used in the WMS spec, e.g. &amp;quot;GetMap&amp;quot;, &amp;quot;GetCapabilties&amp;quot;, and so on.&lt;br /&gt;
&lt;br /&gt;
URL parameter names should be given in lowercase (constraining &amp;amp;sect;6.4.1 of the WMS 1.1.1 spec). Any characters in URL parameter values other than alphanumerics and the punctuation characters '''-''', '''_''', '''.''', ''':''', and ''',''' should be URL-escaped. Spaces in URL parameter values should be escaped using ''+''. &lt;br /&gt;
&lt;br /&gt;
Valid tile requests must omit any optional WMS request parameters, except those required in practice by the server in question. &lt;br /&gt;
&lt;br /&gt;
All decimal values given in a tiled WMS request (e.g. in the &amp;lt;code&amp;gt;bbox&amp;lt;/code&amp;gt;&lt;br /&gt;
parameter) should be rounded to six places, with trailing zeros omitted.&lt;br /&gt;
&lt;br /&gt;
By convention, the non-standard SRS codes proposed by the associated [[Tile Map Service Specification]] are recommended for use in tiled WMS requests as well.&lt;br /&gt;
&lt;br /&gt;
=== Invalid Requests ===&lt;br /&gt;
&lt;br /&gt;
If a request is made with &amp;lt;code&amp;gt;tiled=true&amp;lt;/code&amp;gt;, a tiling WMS server may&lt;br /&gt;
respond with HTTP 404 or 500 to indicate that a request fails to meet the&lt;br /&gt;
recommendations given here.&lt;br /&gt;
&lt;br /&gt;
== Miscellany ==&lt;br /&gt;
&lt;br /&gt;
This recommendation is based on discussion at the [[FOSS4G 2006 Tiling BOF|FOSS4G Birds of a Feather Session on Web Map Tiling]] in Lausanne, Switzerland on 12 Sep 2006.&lt;br /&gt;
&lt;br /&gt;
By consensus of that meeting, the recommendation is published under a Creative&lt;br /&gt;
Commons Attribution-ShareAlike license.&lt;br /&gt;
&lt;br /&gt;
[[Category:Tiling]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Related Links==&lt;br /&gt;
&lt;br /&gt;
[http://cargames.com.au/ '''car games''']&lt;br /&gt;
&lt;br /&gt;
[http://www.unbeatable.co.uk/pages/Electronics/TV-and-Video/Flat-Panel-Televisions/ '''lcd tv''']&lt;/div&gt;</summary>
		<author><name>Wiki-Demgeorge5</name></author>
	</entry>
</feed>