<?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-Milos</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-Milos"/>
	<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/wiki/Special:Contributions/Wiki-Milos"/>
	<updated>2026-04-12T18:19:20Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.9</generator>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=India&amp;diff=54340</id>
		<title>India</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=India&amp;diff=54340"/>
		<updated>2011-04-04T15:11:17Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Milos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Find more information on the '''[http://osgeo.in India Chapter of OSGeo]''' web site. &lt;br /&gt;
&lt;br /&gt;
== '''About India OSGeo Chapter''' ==&lt;br /&gt;
&lt;br /&gt;
Geographical Information Systems were seen as very special and very complex domain in India. There is a lot of hype attached with it and with that obviously high cost. So far such systems were seen as something to be used for high level planning and complex scientific operations by large corporates and Govt research agencies or departments only. Also the older mapping policy of India prevented virtually anybody except governments to possess any map data. The picture is however changing fast.&lt;br /&gt;
&lt;br /&gt;
With recent developments in the areas of right-to-information and National Map Policy (http://dst.gov.in/whats_new/press_releases05/cabinet-approves.htm), there is a sudden increased awareness towards GIS based information systems. National Urban Renewal Mission (http://pmindia.nic.in/lspeech.asp?id=235), a well funded initiative has made use of GIS in urban local bodies mandatory. A large portion of geodata will now be freely available.All goverement departments are now trying to find easier ways to manage, update and publish information for the public. There are also large number of NGOs and citizen organisation which are working in areas like ubran poverty, town planning, solid waste management,rural development, school education,environmental issues etc. and they have started understanding and appreciating the importance of community GIS systems.&lt;br /&gt;
&lt;br /&gt;
However growth of GIS is hindered by highly priced proprietory softwares and unavailability of public geodata. Many of such licenced softwares remain unutilized in various government offices because they require either extensive training or easy availability on multiple locations. All this can be changed by the use of Free/Opensource software tools. There is hardly any proprietory GIS software that can show text in Unicode standard in maps . This is significant since all governmet data and most educational institutions work in local language media . FOSS GIS has already shown this solution. Thus, Free/Opensource Geospatial softwares which are much more powerful and usable can be used for developing systems where more and more public participation is sought. &lt;br /&gt;
&lt;br /&gt;
The India OSGeo Chapter is formed to fulfill the mission&lt;br /&gt;
and objectives described in this document. India OSGeo Chapter will earnestly follow the Local Chapter Guidelines stipulated by OSGeo and cooperate closely with OSGeo Board in promoting the use and development of OSGeo projects in India. The India OSGeo Chapter will strive to serve anyone interested in Open Source Geospatial Solutions and related issues, and to cover all the activities associated with the application, development and promotion of Open Source Geospatial solutions in India.&lt;br /&gt;
&lt;br /&gt;
=== Mission ===&lt;br /&gt;
&lt;br /&gt;
* Promoting Free/Opensource GIS tools and publicly available Geodata&lt;br /&gt;
* Advocacy of and promoting Localized GIS&lt;br /&gt;
* Act as a bridge between various groups like Developers, Application Users, NGOs, Government departments&lt;br /&gt;
* mentor various FOSS GIS miniprojects by providing resources such as technical guidence, webspace etc.&lt;br /&gt;
=== Objectives ===&lt;br /&gt;
&lt;br /&gt;
Development:&lt;br /&gt;
* follow up on indian language support in various free/opensource GIS tools like GRASS, MapServer etc.&lt;br /&gt;
* initiative for standardisation of publicly available geodata &lt;br /&gt;
* setting up WMS/WFS based geodata servers using publicly available geodata&lt;br /&gt;
* toolkit for localised GIS including with special focus on schools, governments , public causes such as child malnutririon, mass education. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
POCs ('''P'''roof '''O'''f '''C'''oncept demos):&lt;br /&gt;
* free/opensource based GIS demos&lt;br /&gt;
* localized GIS (interface and maps)&lt;br /&gt;
* Collaborative platforms for participatory governance &lt;br /&gt;
&lt;br /&gt;
Regional Events: &lt;br /&gt;
* Workshops and Training sessions for&lt;br /&gt;
** comp science students/teachers&lt;br /&gt;
** geo-informatics/geology/geography/civil engineering students and teachers&lt;br /&gt;
** others&lt;br /&gt;
* Special Lectures&lt;br /&gt;
* Demonstrations&lt;br /&gt;
&lt;br /&gt;
Communication:&lt;br /&gt;
* Networking Local Communities related to geo-issues&lt;br /&gt;
* Mailing Lists&lt;br /&gt;
* Wiki&lt;br /&gt;
&lt;br /&gt;
=== Legal status ===&lt;br /&gt;
&lt;br /&gt;
OSGeo India Chapter is, presently, a voluntary organization, and has not been registered as a legal body. At present, OSGeo legal status is similar to other Open Source related organizations in India such as &amp;quot;Linux India&amp;quot; (http://www.linux-india.org/), &amp;quot;gnomebangalore&amp;quot;(http://www.gnomebangalore.org/) or &amp;quot;KDE India&amp;quot; (http://in.kde.org/). Recently, &amp;quot;Free Software Foundation India&amp;quot; (FSF India) was registered as company and been granted the 80G status under Income Tax Act. India OSGeo Chapter is still a &lt;br /&gt;
nascent voluntary organization and will consider the modalities to&lt;br /&gt;
register as a legal body at some stage in the future. The India OSGeo Chapter will consult a certified tax cosultant when necessary to ensure compliance with the Indian tax laws.&lt;br /&gt;
&lt;br /&gt;
The activities are managed by the '''Office''' located at &amp;lt;br&amp;gt;&lt;br /&gt;
International Institute of Information Technology&amp;lt;br&amp;gt;&lt;br /&gt;
Gachibowli, Hyderabad 500032, Andhra Pradesh, India&amp;lt;br&amp;gt;&lt;br /&gt;
Contact E-mail: rajan at iiit dot ac dot in&lt;br /&gt;
&lt;br /&gt;
== '''India OSGeo Chapter Officers''' ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;India OSGeo Representative&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Dr P.S.Roy&amp;lt;br&amp;gt;&lt;br /&gt;
Deputy Director (RS&amp;amp;GIS-AA)&amp;lt;br&amp;gt;&lt;br /&gt;
National Remote Sensing Agency&amp;lt;br&amp;gt;&lt;br /&gt;
(Deptartment of Space, Government of India)&amp;lt;br&amp;gt;&lt;br /&gt;
Balanagar, Hyderabad-500 037&amp;lt;br&amp;gt;&lt;br /&gt;
Telephone :+91-40-23884255&lt;br /&gt;
Fax: +91-40-23875932&amp;lt;br&amp;gt;&lt;br /&gt;
E-Mail: psr at nrsa dot gov dot in&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;India OSGeo Chapter Coordinator&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Dr. Yashodhan Joshi&amp;lt;br&amp;gt;&lt;br /&gt;
CEO Relatioware&amp;lt;br&amp;gt;&lt;br /&gt;
Pune, India&amp;lt;br&amp;gt;&lt;br /&gt;
yyj at relationware dot in&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;India OSGeo Treasurer&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Dr K.S.Rajan&amp;lt;br&amp;gt;&lt;br /&gt;
Associate Professor&amp;lt;br&amp;gt;&lt;br /&gt;
International Institute of Information Technology&amp;lt;br&amp;gt;&lt;br /&gt;
Gachibowli, Hyderabad-500 032, India&amp;lt;br&amp;gt;&lt;br /&gt;
E-Mail: rajan at iiit dot ac dot in&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;OSGeo Software Development Committee&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Chairpersons&amp;lt;br&amp;gt; &lt;br /&gt;
(Prototyping, Localization, Proof of Concepts etc.)&amp;lt;br&amp;gt;&lt;br /&gt;
Prof. Jitendra Shah&amp;lt;br&amp;gt;&lt;br /&gt;
VJTI Mumbai, India&amp;lt;br&amp;gt;&lt;br /&gt;
jituviju at gmail dot com&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dr. T.V. Ramachandra&amp;lt;br&amp;gt;&lt;br /&gt;
Indian Institute of Science&amp;lt;br&amp;gt;&lt;br /&gt;
Bangalore, India&amp;lt;br&amp;gt;&lt;br /&gt;
cestvr at ces dot iisc dot ernet dot in&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Regional Events Committee&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Chairpersons&amp;lt;br&amp;gt;&lt;br /&gt;
Mr. V. Ravi Kumar*&amp;lt;br&amp;gt;&lt;br /&gt;
Joint Secretory of the OSGeo India registered body and &amp;lt;br&amp;gt;&lt;br /&gt;
Director (Retired*) &amp;lt;br&amp;gt;&lt;br /&gt;
Centre for Geoinformation Management and Training&amp;lt;br&amp;gt; &lt;br /&gt;
Training Inistitute&amp;lt;br&amp;gt; &lt;br /&gt;
Geological Survey of India&amp;lt;br&amp;gt;&lt;br /&gt;
Bandalaguda, &lt;br /&gt;
Hyderabad 500068&amp;lt;br&amp;gt;&lt;br /&gt;
India&amp;lt;br&amp;gt;&lt;br /&gt;
ravivundavalli at yahoo dot com&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Mr. Neeraj Dixit&amp;lt;br&amp;gt;&lt;br /&gt;
Product Manager&lt;br /&gt;
Autodesk India Pvt. Ltd.&amp;lt;br&amp;gt;&lt;br /&gt;
Infrastructure Solutions Division (ISD)&amp;lt;br&amp;gt;&lt;br /&gt;
Neeraj dot Dixit at autodesk dot com&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Education and Training Committee&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
Chairpersons&amp;lt;br&amp;gt;&lt;br /&gt;
Dr. N.J. Pawar&amp;lt;br&amp;gt;&lt;br /&gt;
Department of Geology,&lt;br /&gt;
Pune University&amp;lt;br&amp;gt;&lt;br /&gt;
Ganeshkhind Road&amp;lt;br&amp;gt;&lt;br /&gt;
Pune 411007, India&amp;lt;br&amp;gt;&lt;br /&gt;
njpawar at unipune dot ernet dot in&lt;br /&gt;
&lt;br /&gt;
Dr. S.N. Prasad&amp;lt;br&amp;gt;&lt;br /&gt;
Sàlim Ali Centre for Ornithology and Natural History (SACON)&amp;lt;br&amp;gt;&lt;br /&gt;
Deccan Regional Station,&lt;br /&gt;
Secunderabad - 500 017, India&amp;lt;br&amp;gt;&lt;br /&gt;
Email: narendra_prasad at yahoo dot com&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dr. H.S.Rai&amp;lt;br&amp;gt;&lt;br /&gt;
Professor of Civil Engineering&amp;lt;br&amp;gt;&lt;br /&gt;
Guru Nanak Dev Engineering College&amp;lt;br&amp;gt;&lt;br /&gt;
Ludhiana - 141006&amp;lt;br&amp;gt;&lt;br /&gt;
India &amp;lt;br&amp;gt;&lt;br /&gt;
Email: hardeep.rai at gmail dot com&amp;lt;br&amp;gt;&lt;br /&gt;
Web: [http://hs.raiandrai.com HS.RaiAndRai.com]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Advisors&amp;lt;/b&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dr. S.S. Thigale (spathigale at rediffmail dot com)&amp;lt;br&amp;gt;&lt;br /&gt;
Dr. Rajendra Jagdale (rajendra dot jagdale at gmail dot com)&amp;lt;br&amp;gt;&lt;br /&gt;
Dr. Vishwas S.Kale (vskale at unipune dot ernet dot in)&amp;lt;br&amp;gt;&lt;br /&gt;
Mr. Ashok Saraf (saraf dot ashok at gmail dot com)&amp;lt;br&amp;gt;&lt;br /&gt;
Dr. Venkatesh Raghavan (venkat at osgeo dot org)&amp;lt;br&amp;gt;&lt;br /&gt;
Mr. Kiran Chandra (kiranfsf at gmail dot com)&amp;lt;br&amp;gt;&lt;br /&gt;
Mr. Achuthan Mohan (achuthanmohan at gmail dot com)&amp;lt;br&amp;gt;&lt;br /&gt;
..Add more Advisors here&lt;br /&gt;
&lt;br /&gt;
== '''Initial Membership''' ==&lt;br /&gt;
* Dr. Gautam Talukdar&lt;br /&gt;
* Dr. Tarun P. Singh&lt;br /&gt;
* Amol A. Sale&lt;br /&gt;
* Anand Akmanchi&lt;br /&gt;
* Aneel Kumar.V&lt;br /&gt;
* Anil Kumar.K.V&lt;br /&gt;
* Anivar Aravind&lt;br /&gt;
* Ankur Mehrotra&lt;br /&gt;
* Gangavane&lt;br /&gt;
* Indrajit Patil&lt;br /&gt;
* Jayant Kirtane&lt;br /&gt;
* Kanhaiya K. Kale&lt;br /&gt;
* Mahalakshmi Narayanan&lt;br /&gt;
* Mahesh Jeevane&lt;br /&gt;
* Maneesh Prasad&lt;br /&gt;
* Mohan Patil&lt;br /&gt;
* N.R. Karmarkar&lt;br /&gt;
* Rahul Kaura&lt;br /&gt;
* Sajith&lt;br /&gt;
* Saroj Akiojam&lt;br /&gt;
* Shekhar Krishnan&lt;br /&gt;
* Swapnil K. Hajare&lt;br /&gt;
* Uttam Kumar&lt;br /&gt;
* B.N. Umrikar&lt;br /&gt;
* Vrishali Deosthali&lt;br /&gt;
* A.V.Satya Kumar&lt;br /&gt;
* Praveen Kumar Sinha&lt;br /&gt;
* [http://www.wetlandsofindia.org/santosh/index.html Santosh Gaikwad]&lt;br /&gt;
* C. Pattanaik&lt;br /&gt;
* [http://www.gndec.ac.in/~hsrai/ Hardeep Singh Rai]&lt;br /&gt;
* [http://www.hayda.net/ chat]&lt;br /&gt;
* M.Surendranath&lt;br /&gt;
* Ditty Mathew&lt;br /&gt;
* N.Rajendran&lt;br /&gt;
* Srinivasan K&lt;br /&gt;
* [http://pokercalculator-free.com/ Poker Calculators]&lt;br /&gt;
* Nageswaran B&lt;br /&gt;
* N.R.S.Reddy&lt;br /&gt;
* L.P.Singh&lt;br /&gt;
* [http://www.geocities.com/ajpnaveen/index.htm A.J.Prakash Naveen]&lt;br /&gt;
* S.Ramamurthy&lt;br /&gt;
* B.K. Sahu&lt;br /&gt;
* J.Simhachalam&lt;br /&gt;
* V.Hanumantha Rao&lt;br /&gt;
* S.Ananda Murty&lt;br /&gt;
* K.Seshayya&lt;br /&gt;
* N.Padmayya&lt;br /&gt;
* N.R.Ramesh&lt;br /&gt;
* U.S.N.Reddy&lt;br /&gt;
* R.M.Sundaram&lt;br /&gt;
* [http://5map.in Vimal Kumar]&lt;br /&gt;
* Narayana Aroori&lt;br /&gt;
* P M Bala Manikavelu&lt;br /&gt;
* RVN Srinivas&lt;br /&gt;
* M Arulraj&lt;br /&gt;
* Satya Prasad Sarilla&lt;br /&gt;
* Suresh Verma&lt;br /&gt;
* Kumar Parakram&lt;br /&gt;
* Pranav Kumar&lt;br /&gt;
* Harish Kumar Solanki&lt;br /&gt;
&lt;br /&gt;
  Temporary mailing list - http://wgrass.media.osaka-cu.ac.jp/mailman/listinfo/osgeo_discuss&lt;br /&gt;
&lt;br /&gt;
== '''Meetings of India OSGeo Chapter ''' ==&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;u&amp;gt;4th Oct 2006, Hyderabad&amp;lt;/u&amp;gt; [http://wiki.osgeo.org/index.php/Talk:India Meeting Minutes]&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;u&amp;gt;24th Jan 2006, Hyderabad&amp;lt;/u&amp;gt; &amp;lt;br&amp;gt;&lt;br /&gt;
We are Happy to ANNOUNCE that we had a very successful OSGeo Workshop at Map World Forum 2007 today, and thank all the participants for the same. We are also very grateful to our Sponsors OSGeo.org and our Donors thru GNOME Foundation for the financial support in hosting this event.&amp;lt;br&amp;gt;&lt;br /&gt;
Later in the day, the first meeting of the newly constituted Executive Council (Board) of OSGeo-India was held. &amp;lt;br&amp;gt;&lt;br /&gt;
Details will be posted soon.&lt;br /&gt;
&lt;br /&gt;
== '''Links''' ==&lt;br /&gt;
* India OSGeo Chapter - http://osgeo.in/&lt;br /&gt;
* National Remote Sensing Agency - http://www.nrsa.gov.in/&lt;br /&gt;
* GIS based Village Information System - Maharashtra (Hosting Courtsey : Media Center, Osaka City) - http://gisws.media.osaka-cu.ac.jp/maha_map.dev/&lt;br /&gt;
* GIS based Village Information System - Maharashtra - http://indictrans.in/demos/maha_map.dev/&lt;br /&gt;
* Human Development Index (Jalna, Maharashtra)- http://www.indictrans.in/?q=projects/gis/ghdi&lt;br /&gt;
* Maharashtra Coverage - Neighbourhood Village - http://indictrans.in/demos/maha_map.coverage/village_search_k.php&lt;br /&gt;
* GIS based Slum Information System (Korba Slum, Mumbai) - http://indictrans.in/demos/chameleon/samples/htdocs/korba.phtml&lt;br /&gt;
* Mumbai Free Map - http://mumbai.freemap.in/ | http://www.crit.org.in/projects/gis&lt;br /&gt;
* Bangalore Free Map - http://bangalore.freemap.in/&lt;br /&gt;
* Vasai Virar Subregion Freemap - http://vvsr.freemap.in/&lt;br /&gt;
jaisuvyas&lt;br /&gt;
* Tamil Nadu Maps Online - http://tnmaps.tn.nic.in/?info1.htm&lt;br /&gt;
* Tamil Nadu Census 2001 - http://www.census.tn.nic.in/&lt;br /&gt;
* Tamil Nadu Animal Disease Infformation - http://www.animaldiseaseinfo.tn.nic.in&lt;br /&gt;
* GRASS GIS mirror India - http://wgbis.ces.iisc.ernet.in/grass/index.php&lt;br /&gt;
* GRDSS (GRASS GUI)  - http://wgbis.ces.iisc.ernet.in/foss&lt;br /&gt;
* FOSS at IISc - http://wgbis.ces.iisc.ernet.in/foss  http://www.hayda.net/&lt;br /&gt;
* Visualisation of resource maps of Cheruvannur Grama Panchayat. Panchayats are 3rd stratum of administration in India. [Bilingual: English and Malayalam] - http://cheruvannur.web4all.in/resources/&lt;br /&gt;
* Free GIS India - http://freegis.gnu.org.in/&lt;br /&gt;
* ENVIS Wetland Ecosystems India - http://www.wetlandsofindia.org:8080/sacon/aboutus.jsp/&lt;br /&gt;
* GIS &amp;amp; Language Technology related Applications - http://indictrans.in/demos/GIS_Presentation_20061004.pdf&lt;/div&gt;</summary>
		<author><name>Wiki-Milos</name></author>
	</entry>
	<entry>
		<id>https://wiki.osgeo.org/w/index.php?title=Tile_Map_Service_Specification&amp;diff=54339</id>
		<title>Tile Map Service Specification</title>
		<link rel="alternate" type="text/html" href="https://wiki.osgeo.org/w/index.php?title=Tile_Map_Service_Specification&amp;diff=54339"/>
		<updated>2011-04-04T15:08:09Z</updated>

		<summary type="html">&lt;p&gt;Wiki-Milos: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This document is the work of a loose community of participants interested in client/server mapping solutions that use multi-resolution image pyramids.  It is meant to be used as a baseline for the implementation of client/server mapping software.  It is not an &amp;quot;official standard&amp;quot; nor is it endorsed by OSGeo as an official project or work product of the Foundation.&lt;br /&gt;
&lt;br /&gt;
This document is version &amp;quot;1.0&amp;quot;, and will not be edited further. Changes will be discussed on the [[Tile Map Service Specification Change Requests]] page.&lt;br /&gt;
&lt;br /&gt;
Any new revisions will take place in a new working copy.&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
===Document Scope===&lt;br /&gt;
&lt;br /&gt;
A Tile Map Service (TMS) provides access to cartographic maps of geo-referenced data, not direct access to the data itself.  This document standardizes the way in which map tiles are requested by clients, and the ways that servers describe their holdings.&lt;br /&gt;
&lt;br /&gt;
===Document Form===&lt;br /&gt;
&lt;br /&gt;
This document will proceed from a description of general resources provided by the server to particular resources (such as map tiles) providing examples of access URLs and return values at each stage.&lt;br /&gt;
&lt;br /&gt;
==Specification==&lt;br /&gt;
&lt;br /&gt;
The Tiled Web Service provides access to resources, in particular, to rendered cartographic tiles at fixed scales.  Access to these resources is provided via a &amp;quot;REST&amp;quot; interface, starting with a root resource describing available layers, then map resources with a set of scales, then scales holding sets of tiles.  &lt;br /&gt;
&lt;br /&gt;
Each resource contains the descriptive information and links to further resources.  Note that while the URLs used to access resources may appear to have internal meaning (the resource for version 1.0.0 of the service has &amp;quot;1.0.0&amp;quot; in it's URL) such structure is ''not required'' of them. &lt;br /&gt;
&lt;br /&gt;
The only requirement is that the resource be referenced by a URL (&amp;lt;nowiki&amp;gt;http://tms.osgeo.org/1.0.0/ could be http://tms.osgeo.org/onepointzeropointzero or http://tms.osgeo.org/flipper.xml as long as the value appeared in the href of the &amp;lt;TileMapService&amp;gt; element&amp;lt;/nowiki&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
The value of an &amp;quot;href&amp;quot; '''must''' be an absolute URL (starting with &amp;quot;http://&amp;quot;).  For example: href=&amp;quot;&amp;lt;nowiki&amp;gt;http://www.service.org/subdirectory/tilemap.xml&amp;lt;/nowiki&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
===Root Resource===&lt;br /&gt;
&lt;br /&gt;
The root resource describes the available versions of the &amp;lt;TileMapService&amp;gt; (and possibly other services as well).&lt;br /&gt;
&lt;br /&gt;
Request:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Response (Content-type: text/xml):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
 &amp;lt;Services&amp;gt;&lt;br /&gt;
   &amp;lt;TileMapService title=&amp;quot;Example Tile Map Service&amp;quot; version=&amp;quot;1.0.0&amp;quot; href=&amp;quot;http://tms.osgeo.org/1.0.0/&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileMapService title=&amp;quot;New Example Tile Map Service&amp;quot; version=&amp;quot;1.1.0&amp;quot; href=&amp;quot;http://tms.osgeo.org/1.1.0/&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;FancyFeatureService title=&amp;quot;Features!&amp;quot; version=&amp;quot;0.9&amp;quot; href=&amp;quot;http://ffs.osgeo.org/0.9/&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;/Services&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Request:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://www.osgeo.org/services/root.xml&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Response:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;br /&gt;
 &amp;lt;Services&amp;gt;&lt;br /&gt;
   &amp;lt;TileMapService title=&amp;quot;Example Static Tile Map Service&amp;quot; version=&amp;quot;1.0.0&amp;quot; href=&amp;quot;http://www.osgeo.org/services/tilemapservice.xml&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;/Services&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===TileMapService Resource===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;TileMapService&amp;gt; resource provides description metadata about the service and lists the available &amp;lt;TileMaps&amp;gt;.  &lt;br /&gt;
&lt;br /&gt;
Optional elements in the resource are called out below using the pipe character.  All other elements are mandatory.&lt;br /&gt;
&lt;br /&gt;
Request: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/1.0.0/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Response (Content-type: text/xml):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
 &amp;lt;TileMapService version=&amp;quot;1.0.0&amp;quot; services=&amp;quot;http://tms.osgeo.org&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;Title&amp;gt;Example Tile Map Service&amp;lt;/Title&amp;gt;&lt;br /&gt;
   &amp;lt;Abstract&amp;gt;This is a longer description of the example tiling map service.&amp;lt;/Abstract&amp;gt;&lt;br /&gt;
 | &amp;lt;KeywordList&amp;gt;example tile service&amp;lt;/KeywordList&amp;gt;&lt;br /&gt;
 | &amp;lt;ContactInformation&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactPersonPrimary&amp;gt;&lt;br /&gt;
 |     &amp;lt;ContactPerson&amp;gt;Paul Ramsey&amp;lt;/ContactPerson&amp;gt;&lt;br /&gt;
 |     &amp;lt;ContactOrganization&amp;gt;Refractions Research&amp;lt;/ContactOrganization&amp;gt;&lt;br /&gt;
 |   &amp;lt;/ContactPersonPrimary&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactPosition&amp;gt;Manager&amp;lt;/ContactPosition&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
 |     &amp;lt;AddressType&amp;gt;postal&amp;lt;/AddressType&amp;gt;&lt;br /&gt;
 |     &amp;lt;Address&amp;gt;300 - 1207 Douglas Street&amp;lt;/Address&amp;gt;&lt;br /&gt;
 |     &amp;lt;City&amp;gt;Victoria&amp;lt;/City&amp;gt;&lt;br /&gt;
 |     &amp;lt;StateOrProvince&amp;gt;British Columbia&amp;lt;/StateOrProvince&amp;gt;&lt;br /&gt;
 |     &amp;lt;PostCode&amp;gt;V8W2E7&amp;lt;/PostCode&amp;gt;&lt;br /&gt;
 |     &amp;lt;Country&amp;gt;Canada&amp;lt;/Country&amp;gt;&lt;br /&gt;
 |   &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactVoiceTelephone&amp;gt;12503833022&amp;lt;/ContactVoiceTelephone&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactFacsimileTelephone&amp;gt;12503832140&amp;lt;/ContactFacsimileTelephone&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactElectronicMailAddress&amp;gt;pramsey@refractions.net&amp;lt;/ContactElectronicMailAddress&amp;gt;&lt;br /&gt;
 | &amp;lt;/ContactInformation&amp;gt;&lt;br /&gt;
   &amp;lt;TileMaps&amp;gt;&lt;br /&gt;
     &amp;lt;TileMap &lt;br /&gt;
       title=&amp;quot;VMAP0 World Map&amp;quot; &lt;br /&gt;
       srs=&amp;quot;EPSG:4326&amp;quot; &lt;br /&gt;
       profile=&amp;quot;global-geodetic&amp;quot; &lt;br /&gt;
       href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileMap &lt;br /&gt;
       title=&amp;quot;British Columbia Landsat Imagery (2000)&amp;quot; &lt;br /&gt;
       srs=&amp;quot;EPSG:3005&amp;quot; &lt;br /&gt;
       profile=&amp;quot;local&amp;quot; &lt;br /&gt;
       href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/TileMaps&amp;gt;&lt;br /&gt;
 &amp;lt;/TileMapService&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Request: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://www.osgeo.org/services/tilemapservice.xml&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Response (Content-type: text/xml):&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
 &amp;lt;TileMapService version=&amp;quot;1.0.0&amp;quot; services=&amp;quot;http://www.osgeo.org/services/root.xml&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;Title&amp;gt;Example Static Tile Map Service&amp;lt;/Title&amp;gt;&lt;br /&gt;
   &amp;lt;Abstract&amp;gt;This is a longer description of the static tiling map service.&amp;lt;/Abstract&amp;gt;&lt;br /&gt;
 | &amp;lt;KeywordList&amp;gt;example tile service static&amp;lt;/KeywordList&amp;gt;&lt;br /&gt;
 | &amp;lt;ContactInformation&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactPersonPrimary&amp;gt;&lt;br /&gt;
 |     &amp;lt;ContactPerson&amp;gt;Paul Ramsey&amp;lt;/ContactPerson&amp;gt;&lt;br /&gt;
 |     &amp;lt;ContactOrganization&amp;gt;Refractions Research&amp;lt;/ContactOrganization&amp;gt;&lt;br /&gt;
 |   &amp;lt;/ContactPersonPrimary&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactPosition&amp;gt;Manager&amp;lt;/ContactPosition&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactAddress&amp;gt;&lt;br /&gt;
 |     &amp;lt;AddressType&amp;gt;postal&amp;lt;/AddressType&amp;gt;&lt;br /&gt;
 |     &amp;lt;Address&amp;gt;300 - 1207 Douglas Street&amp;lt;/Address&amp;gt;&lt;br /&gt;
 |     &amp;lt;City&amp;gt;Victoria&amp;lt;/City&amp;gt;&lt;br /&gt;
 |     &amp;lt;StateOrProvince&amp;gt;British Columbia&amp;lt;/StateOrProvince&amp;gt;&lt;br /&gt;
 |     &amp;lt;PostCode&amp;gt;V8W2E7&amp;lt;/PostCode&amp;gt;&lt;br /&gt;
 |     &amp;lt;Country&amp;gt;Canada&amp;lt;/Country&amp;gt;&lt;br /&gt;
 |   &amp;lt;/ContactAddress&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactVoiceTelephone&amp;gt;12503833022&amp;lt;/ContactVoiceTelephone&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactFacsimileTelephone&amp;gt;12503832140&amp;lt;/ContactFacsimileTelephone&amp;gt;&lt;br /&gt;
 |   &amp;lt;ContactElectronicMailAddress&amp;gt;pramsey@refractions.net&amp;lt;/ContactElectronicMailAddress&amp;gt;&lt;br /&gt;
 | &amp;lt;/ContactInformation&amp;gt;&lt;br /&gt;
   &amp;lt;TileMaps&amp;gt;&lt;br /&gt;
     &amp;lt;TileMap &lt;br /&gt;
       title=&amp;quot;Vancouver Island Base Map&amp;quot; &lt;br /&gt;
       srs=&amp;quot;EPSG:26910&amp;quot; &lt;br /&gt;
       profile=&amp;quot;none&amp;quot; &lt;br /&gt;
       href=&amp;quot;http://www.osgeo.org/services/basemap.xml&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/TileMaps&amp;gt;&lt;br /&gt;
 &amp;lt;/TileMapService&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===TileMap Resource===&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;TileMap&amp;gt; is a (usually) cartographically complete map representation.  Sometimes &amp;lt;TileMap&amp;gt;s are built to be used in conjunction, as a set of stacked layers, but they are generally visually complete on their own.  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;TileMap&amp;gt;s are composed of a set of scale-appropriate cartographic renderings, each divided up into regularly spaced image tiles, called &amp;lt;TileSet&amp;gt;s.  Small-scale (eg, 1:10000000) tile sets may only contain a handful of tiles.  Large-scale tile sets (eg, 1:10000) may contain millions of tiles.&lt;br /&gt;
&lt;br /&gt;
At a particular scale, and in a particular cartographic projection, a &amp;lt;TileMap&amp;gt; is represented by a &amp;lt;TileSet&amp;gt;, a coverage of regularly sized and spaced images that taken together form a complete visual representation of the entire area of coverage of the &amp;lt;TileMap&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Request: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/1.0.0/vmap0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Response (Content-type: text/xml):&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;  &lt;br /&gt;
  &amp;lt;TileMap version=&amp;quot;1.0.0&amp;quot; tilemapservice=&amp;quot;http://http://tms.osgeo.org/1.0.0&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;Title&amp;gt;VMAP0 World Map&amp;lt;/Title&amp;gt;&lt;br /&gt;
   &amp;lt;Abstract&amp;gt;A map of the world built from the NGA VMAP0 vector data set.&amp;lt;/Abstract&amp;gt;&lt;br /&gt;
 | &amp;lt;KeywordList&amp;gt;&amp;lt;/KeywordList&amp;gt;&lt;br /&gt;
 | &amp;lt;Metadata type=&amp;quot;TC211&amp;quot; mime-type=&amp;quot;text/xml&amp;quot; href=&amp;quot;http://www.org&amp;quot; /&amp;gt;&lt;br /&gt;
 | &amp;lt;Attribution&amp;gt;&lt;br /&gt;
 |   &amp;lt;Title&amp;gt;National Geospatial Intelligence Agency&amp;lt;/Title&amp;gt;&lt;br /&gt;
 |   &amp;lt;Logo width=&amp;quot;10&amp;quot; height=&amp;quot;10&amp;quot; href=&amp;quot;http://nga.mil/logo.gif&amp;quot; mime-type=&amp;quot;image/gif&amp;quot; /&amp;gt;&lt;br /&gt;
 | &amp;lt;/Attribution&amp;gt;&lt;br /&gt;
 | &amp;lt;WebMapContext href=&amp;quot;http://wms.org&amp;quot; /&amp;gt;&lt;br /&gt;
 | &amp;lt;Face&amp;gt;0&amp;lt;/Face&amp;gt;&lt;br /&gt;
   &amp;lt;SRS&amp;gt;EPSG:4326&amp;lt;/SRS&amp;gt;&lt;br /&gt;
   &amp;lt;BoundingBox 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;Origin x=&amp;quot;-180&amp;quot; y=&amp;quot;-90&amp;quot; /&amp;gt;  &lt;br /&gt;
   &amp;lt;TileFormat width=&amp;quot;256&amp;quot; height=&amp;quot;256&amp;quot; mime-type=&amp;quot;image/jpeg&amp;quot; extension=&amp;quot;jpg&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileSets profile=global-geodetic&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0/0&amp;quot; units-per-pixel=&amp;quot;0.703125&amp;quot; order=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0/1&amp;quot; units-per-pixel=&amp;quot;0.3515625&amp;quot; order=&amp;quot;1&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0/2&amp;quot; units-per-pixel=&amp;quot;0.17578125&amp;quot; order=&amp;quot;2&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0/3&amp;quot; units-per-pixel=&amp;quot;0.08789063&amp;quot; order=&amp;quot;3&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/TileSets&amp;gt;&lt;br /&gt;
 &amp;lt;/TileMap&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Request: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/1.0.0/landsat2000&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Response (Content-type: text/xml):&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
  &amp;lt;TileMap version=&amp;quot;1.0.0&amp;quot; tilemapservice=&amp;quot;http://tms.osgeo.org/1.0.0&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;Title&amp;gt;British Columbia Landsat Imagery (2000)&amp;lt;/Title&amp;gt;&lt;br /&gt;
   &amp;lt;Abstract&amp;gt;Landsat data collected in the year 2000 over British Columbia.&amp;lt;/Abstract&amp;gt;&lt;br /&gt;
 | &amp;lt;KeywordList&amp;gt;&amp;lt;/KeywordList&amp;gt;&lt;br /&gt;
 | &amp;lt;Metadata type=&amp;quot;TC211&amp;quot; mime-type=&amp;quot;text/xml&amp;quot; href=&amp;quot;http://www.org&amp;quot; /&amp;gt;&lt;br /&gt;
 | &amp;lt;Attribution&amp;gt;&lt;br /&gt;
 |   &amp;lt;Title&amp;gt;Government of British Columbia&amp;lt;/Title&amp;gt;&lt;br /&gt;
 |   &amp;lt;Logo width=&amp;quot;10&amp;quot; height=&amp;quot;10&amp;quot; href=&amp;quot;http://gov.bc.ca/logo.png&amp;quot; mime-type=&amp;quot;image/png&amp;quot; /&amp;gt;&lt;br /&gt;
 | &amp;lt;/Attribution&amp;gt;&lt;br /&gt;
 | &amp;lt;WebMapContext href=&amp;quot;http://wms.gov.bc.ca&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;SRS&amp;gt;EPSG:3005&amp;lt;/SRS&amp;gt;&lt;br /&gt;
   &amp;lt;BoundingBox minx=&amp;quot;100000&amp;quot; miny=&amp;quot;100000&amp;quot; maxx=&amp;quot;1800000&amp;quot; maxy=&amp;quot;1800000&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;Origin x=&amp;quot;100000&amp;quot; y=&amp;quot;100000&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileFormat width=&amp;quot;256&amp;quot; height=&amp;quot;256&amp;quot; mime-type=&amp;quot;image/png&amp;quot; extension=&amp;quot;png&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileSets profile=&amp;quot;local&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/2048&amp;quot; units-per-pixel=&amp;quot;2048&amp;quot; order=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/1024&amp;quot; units-per-pixel=&amp;quot;1024&amp;quot; order=&amp;quot;1&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/512&amp;quot; units-per-pixel=&amp;quot;512&amp;quot; order=&amp;quot;2&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/256&amp;quot; units-per-pixel=&amp;quot;256&amp;quot; order=&amp;quot;3&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/128&amp;quot; units-per-pixel=&amp;quot;128&amp;quot; order=&amp;quot;4&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/64&amp;quot; units-per-pixel=&amp;quot;64&amp;quot; order=&amp;quot;5&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/TileSets&amp;gt;&lt;br /&gt;
 &amp;lt;/TileMap&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Request: &lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://www.osgeo.org/services/basemap.xml&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Response (Content-type: text/xml):&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;
  &amp;lt;TileMap version=&amp;quot;1.0.0&amp;quot; tilemapservice=&amp;quot;http://www.osgeo.org/services/tilemapservice.xml&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;Title&amp;gt;Vancouver Island Base Map&amp;lt;/Title&amp;gt;&lt;br /&gt;
   &amp;lt;Abstract&amp;gt;A map of the Vancouver Island built from British Columbia planimetric mapping &lt;br /&gt;
   data and digital elevation hill shading.&amp;lt;/Abstract&amp;gt;&lt;br /&gt;
 | &amp;lt;KeywordList&amp;gt;&amp;lt;/KeywordList&amp;gt;&lt;br /&gt;
 | &amp;lt;Metadata type=&amp;quot;TC211&amp;quot; mime-type=&amp;quot;text/xml&amp;quot; href=&amp;quot;http://www.org&amp;quot; /&amp;gt;&lt;br /&gt;
 | &amp;lt;Attribution&amp;gt;&lt;br /&gt;
 |   &amp;lt;Title&amp;gt;Goverment of British Columbia&amp;lt;/Title&amp;gt;&lt;br /&gt;
 |   &amp;lt;Logo width=&amp;quot;10&amp;quot; height=&amp;quot;10&amp;quot; href=&amp;quot;http://www.gov.bc.ca/logo.gif&amp;quot; mime-type=&amp;quot;image/gif&amp;quot; /&amp;gt;&lt;br /&gt;
 | &amp;lt;/Attribution&amp;gt;&lt;br /&gt;
 | &amp;lt;WebMapContext href=&amp;quot;http://openmaps.gov.bc.ca&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;SRS&amp;gt;EPSG:26910&amp;lt;/SRS&amp;gt;&lt;br /&gt;
 | &amp;lt;Face&amp;gt;0&amp;lt;/Face&amp;gt;&lt;br /&gt;
   &amp;lt;BoundingBox minx=&amp;quot;500000&amp;quot; miny=&amp;quot;4800000&amp;quot; maxx=&amp;quot;700000&amp;quot; maxy=&amp;quot;5500000&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;Origin x=&amp;quot;500000&amp;quot; y=&amp;quot;4800000&amp;quot; /&amp;gt;  &lt;br /&gt;
   &amp;lt;TileFormat width=&amp;quot;256&amp;quot; height=&amp;quot;256&amp;quot; mime-type=&amp;quot;image/png&amp;quot; extension=&amp;quot;png&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileSets profile=&amp;quot;none&amp;quot;&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://www.osgeo.org/services/basemap/L1&amp;quot; units-per-pixel=&amp;quot;6400&amp;quot; order=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://www.osgeo.org/services/basemap/L2&amp;quot; units-per-pixel=&amp;quot;1600&amp;quot; order=&amp;quot;1&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://www.osgeo.org/services/basemap/L3&amp;quot; units-per-pixel=&amp;quot;400&amp;quot; order=&amp;quot;2&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://www.osgeo.org/services/basemap/L4&amp;quot; units-per-pixel=&amp;quot;100&amp;quot; order=&amp;quot;3&amp;quot; /&amp;gt;&lt;br /&gt;
     &amp;lt;TileSet href=&amp;quot;http://www.osgeo.org/services/basemap/L5&amp;quot; units-per-pixel=&amp;quot;25&amp;quot; order=&amp;quot;4&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;/TileSets&amp;gt;&lt;br /&gt;
 &amp;lt;/TileMap&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Each &amp;lt;TileMap&amp;gt; supports one &amp;lt;SRS&amp;gt; and one image format. To support more than one SRS or image format, define extra &amp;lt;TileMaps&amp;gt; in your &amp;lt;TileMapService&amp;gt; for each combination you want.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;TileMap&amp;gt;s have both a &amp;lt;BoundingBox&amp;gt; and an &amp;lt;Origin&amp;gt;.  The &amp;lt;BoundingBox&amp;gt; is the extent of the data of interest -- it might be used by a client to set an initial spatial extent.  The &amp;lt;Origin&amp;gt; is the lower-left corner of the 0/0 tile, and the upper right corner of tile -1/-1 (if you choose to configure your service so that negative tiles are required).  The &amp;lt;Origin&amp;gt; may be outside of the visual region of interest (the &amp;lt;BoundingBox&amp;gt;), for reasons of implementation convenience. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;TileMap&amp;gt;s may participate as a &amp;lt;Face&amp;gt; of a larger complex of &amp;lt;TileMap&amp;gt;s. The OSGPlanet and GeoFusion clients both use separate polar faces in conjuction with equatorial faces (an &amp;quot;earth cube&amp;quot;) to create a single world view from multiple tile maps.  See [[#Using Faces]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;TileMap&amp;gt;s may implement one of three &amp;quot;profile&amp;quot;s, two global profiles in common global projections, or a local profile in an arbitrary projection.  All profiles restrict the service to a fixed set of scales, to allow tilesets from different services to be more easily overlaid.&lt;br /&gt;
&lt;br /&gt;
===Profiles===&lt;br /&gt;
&lt;br /&gt;
Using this server specification will ensure that clients can easily consume your tiled map data.  However, it will not guarantee that clients can efficiently overlay your data with data from other tile map servers.  In order to maximize the interoperability of your tile map with other tile maps, you must implement the a &amp;quot;profile&amp;quot; for your tile map.&lt;br /&gt;
&lt;br /&gt;
The profile a &amp;lt;TileMap&amp;gt; supports is advertised in the &amp;quot;profile&amp;quot; attribute of the &amp;lt;TileSets&amp;gt; element.  The &amp;quot;profile&amp;quot; will be one of:&lt;br /&gt;
&lt;br /&gt;
* none&lt;br /&gt;
* global-geodetic&lt;br /&gt;
* global-mercator&lt;br /&gt;
* local&lt;br /&gt;
&lt;br /&gt;
====global-geodetic====&lt;br /&gt;
&lt;br /&gt;
If the profile type is set to &amp;quot;global-geodetic&amp;quot;, the &amp;lt;TileMap&amp;gt; must meet the following requirements:&lt;br /&gt;
&lt;br /&gt;
* Must use &amp;lt;SRS&amp;gt;EPSG:4326&amp;lt;/SRS&amp;gt;&lt;br /&gt;
* Must provide &amp;lt;TileSet&amp;gt;s with units-per-pixel meeting the following formula for any integral value of &amp;quot;n&amp;quot; greater than or equal to 0: units-per-pixel = 0.703125 / 2^n&lt;br /&gt;
** This scaling allows an initial zoom level that consists of 2 256x256 pixel tiles covering the whole earth, with an &amp;lt;Origin&amp;gt; of (-180,-90).  Other combinations of tile size and &amp;lt;Origin&amp;gt; are also possible at this scale.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;TileSets profile=&amp;quot;global-geodetic&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0/0&amp;quot; units-per-pixel=&amp;quot;0.703125&amp;quot; order=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0/1&amp;quot; units-per-pixel=&amp;quot;0.3515625&amp;quot; order=&amp;quot;1&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0/2&amp;quot; units-per-pixel=&amp;quot;0.17578125&amp;quot; order=&amp;quot;2&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/vmap0/3&amp;quot; units-per-pixel=&amp;quot;0.08789063&amp;quot; order=&amp;quot;3&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;/TileSets&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====global-mercator====&lt;br /&gt;
&lt;br /&gt;
If the profile type is set to &amp;quot;global-mercator&amp;quot;, the &amp;lt;TileMap&amp;gt; must meet the following requirements:&lt;br /&gt;
&lt;br /&gt;
* Must use &amp;lt;SRS&amp;gt;OSGEO:41001&amp;lt;/SRS&amp;gt;&lt;br /&gt;
* Must provide &amp;lt;TileSet&amp;gt;s with units-per-pixel meeting the following formula for any integral value of &amp;quot;n&amp;quot; greater than or equal to 0: units-per-pixel = 78271.516 / 2^n&lt;br /&gt;
** This scaling allows an initial zoom level that consists of four 256x256 pixel tiles covering the whole earth, with an &amp;lt;Origin&amp;gt; of (-20037508.34, -20037508.34).  Other combinations of tile size and &amp;lt;Origin&amp;gt; are also possible at this scale.&lt;br /&gt;
&lt;br /&gt;
====local====&lt;br /&gt;
&lt;br /&gt;
Unlike the global profiles, the &amp;quot;local&amp;quot; profile is built from the bottom up, starting with a smallest possible scale of one unit per pixel and compounding upwards from there.  Local profiles can be in any projection, but are at a fixed set of scales.&lt;br /&gt;
&lt;br /&gt;
If the profile type is set to &amp;quot;local&amp;quot;, the &amp;lt;TileMap&amp;gt; must meet the following requirements:&lt;br /&gt;
&lt;br /&gt;
* May use any coordinate system, and must identify that coordinate system in the &amp;lt;SRS&amp;gt;.&lt;br /&gt;
* Must provide &amp;lt;TileSet&amp;gt;s with units-per-pixel meeting the following formula for any integral value of &amp;quot;n&amp;quot; greater than or equal to 0: units-per-pixel = 2^n&lt;br /&gt;
* Must provide &amp;lt;TileSet&amp;gt; sub-directories below the &amp;lt;Profile&amp;gt; href value, using the value of &amp;quot;n&amp;quot; appropriate for that &amp;lt;TileSet&amp;gt; as the sub-directory name.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;SRS&amp;gt;EPSG:3005&amp;lt;/SRS&amp;gt;&lt;br /&gt;
 &amp;lt;BoundingBox minx=&amp;quot;100000&amp;quot; miny=&amp;quot;100000&amp;quot; maxx=&amp;quot;1800000&amp;quot; maxy=&amp;quot;1800000&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;Origin x=&amp;quot;100000&amp;quot; y=&amp;quot;100000&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;TileSets profile=&amp;quot;local&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/6&amp;quot; units-per-pixel=&amp;quot;2048&amp;quot; order=&amp;quot;0&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/5&amp;quot; units-per-pixel=&amp;quot;1024&amp;quot; order=&amp;quot;1&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/4&amp;quot; units-per-pixel=&amp;quot;512&amp;quot; order=&amp;quot;2&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/3&amp;quot; units-per-pixel=&amp;quot;256&amp;quot; order=&amp;quot;3&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/2&amp;quot; units-per-pixel=&amp;quot;128&amp;quot; order=&amp;quot;4&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;TileSet href=&amp;quot;http://tms.osgeo.org/1.0.0/landsat2000/1&amp;quot; units-per-pixel=&amp;quot;64&amp;quot; order=&amp;quot;5&amp;quot; /&amp;gt;&lt;br /&gt;
 &amp;lt;/TileSets&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Tile Resources===&lt;br /&gt;
&lt;br /&gt;
The origin of a &amp;lt;TileMap&amp;gt; is defined in the coordinates of the spatial reference system of the &amp;lt;TileMap&amp;gt;.  The x-coordinate of the tile numbers increases with the x-coordinate of the spatial reference system, and the y-coordinate of the tile numbers also increases with the y-coordinate of the spatial reference system.&lt;br /&gt;
&lt;br /&gt;
Tiles are addressed under the &amp;quot;href&amp;quot; specified in the &amp;lt;TileSet&amp;gt; appending the &amp;quot;x&amp;quot; tile coordinate as a directory name and using the &amp;quot;y&amp;quot; tile coordinate as the file name, with the file &amp;quot;extension&amp;quot; from the &amp;lt;TileFormat&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
 The tile at the origin of the tile set in the first zoom level of vmap0.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/1.0.0/vmap0/levelzero/0/0.jpg&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 The tile near the middle of the tile set in the third zoom level of vmap0.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/1.0.0/vmap0/leveltwo/3/4.jpg&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 The tile near the middle of the tile set in the fifth zoom level of landsat2000.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/1.0.0/landsat2000/1/8500/8500.png&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 The tile at the origin of the tile set in the first zoom level of basemap.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://www.osgeo.org/services/basemap/L1/0/0.png&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===TileMap Diagram===&lt;br /&gt;
&lt;br /&gt;
[[Image:Tms.png]]&lt;br /&gt;
&lt;br /&gt;
===Error Handling===&lt;br /&gt;
&lt;br /&gt;
When an error occurs in the server, it is important that the client be able easily notice that an error has occurred, and ascertain ''why'' the error occured so the user can be notified if necessary.&lt;br /&gt;
&lt;br /&gt;
The tile map server uses HTTP error codes to relay the general reason for an error condition, and an XML payload to communicate the specific reason for the failure in human readable language.&lt;br /&gt;
&lt;br /&gt;
Only HTTP error codes given in this specification should be used to return errors to the client.&lt;br /&gt;
&lt;br /&gt;
* The client requests a nonexistent resource URL.  Return HTTP error code 404 (Not Found)&lt;br /&gt;
* The server fails in processing a response for a valid resource URL.  Return HTTP error code 500 (Internal Server Error)&lt;br /&gt;
&lt;br /&gt;
Servers are optionally allowed to return content, even when throwning an error code.  The following is the XML format for a tile map server error message.  If the Content-type of the return on an error is set to text/xml, this format is the required form of the response.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; ?&amp;gt;&lt;br /&gt;
 &amp;lt;TileMapServerError&amp;gt;&lt;br /&gt;
   &amp;lt;Message&amp;gt;The requested tile is outside the bounding box of the tile map.&amp;lt;/Message&amp;gt;&lt;br /&gt;
 &amp;lt;/TileMapServerError&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Implementation Advice==&lt;br /&gt;
&lt;br /&gt;
===Spatial Referencing Systems===&lt;br /&gt;
&lt;br /&gt;
Spatial referencing systems for the tile map service will be defined using the EPSG database as a reference for &amp;quot;well-known&amp;quot; projections, subject to interpretations, given below.  &lt;br /&gt;
&lt;br /&gt;
There are two substantial implementation issues with using the EPSG database as a source of truth for spatial reference systems:&lt;br /&gt;
&lt;br /&gt;
* Firstly, the EPSG database has some specific definitions for commonly used geodetic coordinate systems, in particular EPSG:4326 -- geodetic coordinates relative to the WGS84 spheroid.  The EPSG definition for 4326 says that the coordinate order is latitude, longitude and that the units are degrees, minutes, seconds.  However, common usage of EPSG:4326 in web mapping says that the coordinate order is longitude, latitude and the units are decimal degrees.&lt;br /&gt;
* Secondly, the EPSG database does not include every commonly used spatial reference system.  There are still many local systems which are not included in the database, though the EPSG does make an effort to include new systems as they are brought to their attention.  However, the EPSG does not catalogue commonly used global and large area systems, presumably as a matter of policy.  For example, no EPSG identifier is provided for a Mercator projection of the world, or an Albers projection of North America.&lt;br /&gt;
&lt;br /&gt;
The issues will be dealt with by fiat in this specification, matching implementation practice rather than following the database definition:&lt;br /&gt;
&lt;br /&gt;
* For all geodetic coordinate systems in the EPSG database, the tile map service specification will treat the coordinate order as longitude, latitude and the units as decimal degrees.&lt;br /&gt;
* Spatial reference systems not defined in the EPSG database may be defined in the tile map service specification itself, using an OSGEO authority string.&lt;br /&gt;
** '''OSGEO:41001''' &amp;lt;nowiki&amp;gt;PROJCS[&amp;quot;WGS84 / Simple Mercator&amp;quot;, GEOGCS[&amp;quot;WGS 84&amp;quot;, DATUM[&amp;quot;WGS_1984&amp;quot;, SPHEROID[&amp;quot;WGS_1984&amp;quot;,6378137,298.257223563]], PRIMEM[&amp;quot;Greenwich&amp;quot;,0], UNIT[&amp;quot;Decimal_Degree&amp;quot;, 0.0174532925199433]], PROJECTION[&amp;quot;Mercator_1SP&amp;quot;], PARAMETER[&amp;quot;central_meridian&amp;quot;,0], PARAMETER[&amp;quot;false_easting&amp;quot;,0], PARAMETER[&amp;quot;false_northing&amp;quot;,0], UNIT[&amp;quot;Meter&amp;quot;,1]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
** '''OSGEO:42310''' &amp;lt;nowiki&amp;gt;PROJCS[&amp;quot;WGS84+GRS80 / Mercator&amp;quot;, GEOGCS[&amp;quot;WGS 84&amp;quot;, DATUM[&amp;quot;WGS_1984&amp;quot;, SPHEROID[&amp;quot;GRS 1980&amp;quot;,6378137,298.257222101], TOWGS84[0,0,0]], PRIMEM[&amp;quot;Greenwich&amp;quot;,0], UNIT[&amp;quot;Decimal_Degree&amp;quot;,0.0174532925199433]], PROJECTION[&amp;quot;Mercator_1SP&amp;quot;], PARAMETER[&amp;quot;central_meridian&amp;quot;,0], PARAMETER[&amp;quot;false_easting&amp;quot;,0], PARAMETER[&amp;quot;false_northing&amp;quot;,0], UNIT[&amp;quot;Meter&amp;quot;,1]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
** '''OSGEO:42101''' &amp;lt;nowiki&amp;gt;PROJCS[&amp;quot;WGS 84 / LCC Canada&amp;quot;, GEOGCS[&amp;quot;WGS 84&amp;quot;, DATUM[&amp;quot;WGS_1984&amp;quot;, SPHEROID[&amp;quot;WGS_1984&amp;quot;,6378137,298.257223563]], PRIMEM[&amp;quot;Greenwich&amp;quot;,0], UNIT[&amp;quot;Decimal_Degree&amp;quot;,0.0174532925199433]], PROJECTION[&amp;quot;Lambert_Conformal_Conic_2SP&amp;quot;], PARAMETER[&amp;quot;central_meridian&amp;quot;,-95.0], PARAMETER[&amp;quot;latitude_of_origin&amp;quot;,0], PARAMETER[&amp;quot;standard_parallel_1&amp;quot;,49.0], PARAMETER[&amp;quot;standard_parallel_2&amp;quot;,77.0], PARAMETER[&amp;quot;false_easting&amp;quot;,0.0], PARAMETER[&amp;quot;false_northing&amp;quot;,-8000000.0], UNIT[&amp;quot;Meter&amp;quot;,1]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
** '''OSGEO:42304''' &amp;lt;nowiki&amp;gt;PROJCS[&amp;quot;NAD83 / NRCan LCC Canada&amp;quot;, GEOGCS[&amp;quot;NAD83&amp;quot;, DATUM[&amp;quot;North_American_Datum_1983&amp;quot;, SPHEROID[&amp;quot;GRS_1980&amp;quot;,6378137,298.257222101], TOWGS84[0,0,0]], PRIMEM[&amp;quot;Greenwich&amp;quot;,0], UNIT[&amp;quot;Decimal_Degree&amp;quot;,0.0174532925199433]], PROJECTION[&amp;quot;Lambert_Conformal_Conic_2SP&amp;quot;], PARAMETER[&amp;quot;central_meridian&amp;quot;,-95.0], PARAMETER[&amp;quot;latitude_of_origin&amp;quot;,49.0], PARAMETER[&amp;quot;standard_parallel_1&amp;quot;,49.0], PARAMETER[&amp;quot;standard_parallel_2&amp;quot;,77.0], PARAMETER[&amp;quot;false_easting&amp;quot;,0.0], PARAMETER[&amp;quot;false_northing&amp;quot;,0.0], UNIT[&amp;quot;Meter&amp;quot;,1]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Maximizing Cacheability===&lt;br /&gt;
&lt;br /&gt;
Tile maps are usually base maps, and usually represent data that changes on a very slow cycle.  They are also usually large in volume, comprising potentially millions of different tiles.  Given these basic facts, the aggressive use of caching strategies can optimize performance of tile map services.&lt;br /&gt;
&lt;br /&gt;
Caching can happen at multiple layers between the server and the client:&lt;br /&gt;
&lt;br /&gt;
* At the client itself, as the user-agent caches results on the local disk.&lt;br /&gt;
* In a shared cache at an intermediate ISP, allowing multiple users of the ISP to pull data from the cache.&lt;br /&gt;
* In a cache on the server itself, to move load from the tile generator to a simpler caching process.&lt;br /&gt;
&lt;br /&gt;
In order for caching to occur at any of these layers, the caching mechanisms need to know when a resource is cachable.  &lt;br /&gt;
&lt;br /&gt;
If your tile server is written using a scripting or programming language, you will probably be constructing your HTTP headers yourself, and it is important to include cache control headers when doing so to allow caching to occur.&lt;br /&gt;
&lt;br /&gt;
There are different cache headers for HTTP 1.0 and HTTP 1.1, and because both protocols are in active use, it is important to include both.&lt;br /&gt;
&lt;br /&gt;
For HTTP 1.0, use the &amp;quot;Expires&amp;quot; header.  If you expect your data to change no more than once per week, set your Expires header to one week in the future.  For example, if it is January 1, 2007, and you wanted your tiles to expire no more than one week after they are retreived, you would set your header using this PHP invocation:&lt;br /&gt;
&lt;br /&gt;
 header('Expires: Mon, 8 Jan 2007 14:57:12 GMT');&lt;br /&gt;
&lt;br /&gt;
Or, to always set the Expires header to one week in the future:&lt;br /&gt;
&lt;br /&gt;
 header('Expires: ' . gmdate('D, j M Y H:i:s T', time() + 7 * 24 * 60 * 60));   // time + 7 days worth of seconds&lt;br /&gt;
&lt;br /&gt;
For HTTP 1.1, use the &amp;quot;Cache-control&amp;quot; header.  Unlike the older &amp;quot;Expires&amp;quot; header, &amp;quot;Cache-control&amp;quot; does not have a clock reference, just a time period to reatain the data, thereby avoiding the clock sychronization issues of &amp;quot;Expires&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
 header('Cache-Control: max-age=86400, must-revalidate');&lt;br /&gt;
 header('Cache-Control: ' . 7 * 24 * 60 * 60 );&lt;br /&gt;
&lt;br /&gt;
Read about HTTP 1.1 cache control headers in the [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9 W3.org specification].&lt;br /&gt;
&lt;br /&gt;
===Implementing Cacheability===&lt;br /&gt;
&lt;br /&gt;
You can trust that the somewhere on the internet, someone will respect your cache control headers and your content will be cached, ''or'' you can set up your own cache.  If you are running Apache 2.0 adding [http://httpd.apache.org/docs/2.0/mod/mod_cache.html mod_cache caching] to your tms is laughably easy.  &lt;br /&gt;
&lt;br /&gt;
Just add a mod_cache directive inside your &amp;lt;VirtualHost&amp;gt; definition:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;IfModule mod_disk_cache.c&amp;gt;&lt;br /&gt;
  CacheRoot /tmp/apache-cache &lt;br /&gt;
  CacheSize 1024000&lt;br /&gt;
  CacheEnable disk /cgi-bin/tms&lt;br /&gt;
  CacheDirLevels 5&lt;br /&gt;
  CacheDirLength 3&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This example is for a disk cache, probably what you will use for your TMS, since the data volumes tend to be high.  Note how the CacheEnable directive allows you to very precisely control which content you are going to cache.  In my case, I am only caching the output from my TMS server, nothing else.  If I wanted, I could be even narrower and restrict caching to just one tile map inside my service, or just one tile set.&lt;br /&gt;
&lt;br /&gt;
===URLs That are Actually Scripts===&lt;br /&gt;
&lt;br /&gt;
For large implementations of the tile map server specification, the data will not be statically pre-built, but will be demand-generated by some kind of backend service.  That means that URLs that appear to be static may actually be dynamic.&lt;br /&gt;
&lt;br /&gt;
The [http://hoohoo.ncsa.uiuc.edu/cgi/env.html CGI specification] allows this trivially, by passing any path information after the CGI executable in the URL back to the executable in the PATH_INFO environment variable:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/cgi-bin/tms/1.0.0/vmap0&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 PATH_INFO = 1.0.0/vmap0&lt;br /&gt;
&lt;br /&gt;
If &amp;quot;tms&amp;quot; is the CGI executable, it can easily extract the remaining path information and use that for processing purposes.&lt;br /&gt;
&lt;br /&gt;
Note that by default some versions of Microsoft IIS do not conform to the CGI specification for this behavior (Apache does).  See the note at http://support.microsoft.com/kb/q184320/ for information on how to enable this bahavior in IIS.&lt;br /&gt;
&lt;br /&gt;
Note that it is allowable for URLs to include &amp;quot;.&amp;quot;s in the middle of paths, so that executable scripts (like PHP files) can be legally used as TMS servers.&lt;br /&gt;
&lt;br /&gt;
 Here is a root resource:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/tms.php&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 Here is the a tile request on that server:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;http://tms.osgeo.org/tms.php/1.0.0/thetilemap/firstlevel/2/1.jpg&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, the simplest way to extract information from the incoming script invocation is to take the incoming PATH_INFO environment variable, strip the &amp;quot;/&amp;quot; character from the start and end of the string, and then split the string into an array using the &amp;quot;/&amp;quot; character.  In this manner, the first element of the array will be the version, the second element will be the tile map, the third will be the level, the fourth will be the tile &amp;quot;x&amp;quot; and the fifth will be the tile &amp;quot;y&amp;quot; (with a .extension).&lt;br /&gt;
&lt;br /&gt;
===Using Faces===&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;face-id&amp;quot; attribute of the &amp;lt;TileMap&amp;gt; referenced in the &amp;lt;TileMapService&amp;gt; is used for some specialized clients.  How that attribute is used by each client is described here.&lt;br /&gt;
&lt;br /&gt;
''To be filled in by implementation knowledge...''&lt;br /&gt;
&lt;br /&gt;
===Reference Implementations===&lt;br /&gt;
&lt;br /&gt;
====Servers====&lt;br /&gt;
&lt;br /&gt;
* TileCache&lt;br /&gt;
** http://www.tilecache.org/&lt;br /&gt;
&lt;br /&gt;
====Clients====&lt;br /&gt;
&lt;br /&gt;
* Worldkit: http://worldkit.org/tilemap/&lt;br /&gt;
* Openlayers: http://openlayers.org/&lt;br /&gt;
* Cadcorp SIS: [http://wiki.osgeo.org/images/a/a5/CadcorpTmsClient.png Screenshot]&lt;br /&gt;
* [http://www.merkaartor.org/ Merkaartor], an [http://www.osm.org OpenStreetMap] editor, can use a TMS server as source for background layers: ''Note that like Google's map tiles OpenStreetMap counts tile 0,0 from the top-left not the bottom-left.''&lt;br /&gt;
&lt;br /&gt;
===Returning Error Codes===&lt;br /&gt;
&lt;br /&gt;
If your tile map server is a static set of files, you will find that your web server sets the appropriate error codes automatically when people ask for resources that do not exist, or the server suffers a failure.  &lt;br /&gt;
&lt;br /&gt;
However, if your tile map server is dynamic, you will have to set the HTTP status codes yourself, otherwise the HTTP server will assign a code of 200 (OK) for your error message XML document, which would be wrong.  In PHP, an error return function might look like this:&lt;br /&gt;
&lt;br /&gt;
 header(&amp;quot;HTTP/1.0 404 Not Found&amp;quot;);&lt;br /&gt;
 header(&amp;quot;Content-type: text/xml&amp;quot;);&lt;br /&gt;
 print &amp;quot;&amp;lt;?xml version='1.0' ?&amp;gt;&amp;quot;;&lt;br /&gt;
 print &amp;quot;&amp;lt;TileMapServerErrror&amp;gt;&amp;quot;;&lt;br /&gt;
 print &amp;quot;&amp;lt;Message&amp;gt;You requested a map tile [ $path_info ] that does not exist.&amp;lt;/Message&amp;gt;&amp;quot;;&lt;br /&gt;
 print &amp;quot;&amp;lt;/TileMapServerError&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
Note that in addition to setting the error code the Content-type was also correctly set.  Also note that cache headers were ''not'' set, since errors are not a good thing to cache.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [http://pokercalculator-free.com/  Poker Odds Calculator]&lt;br /&gt;
* [http://pokercalculator-free.com/  Poker Calculator]&lt;br /&gt;
* [http://www.peej.co.uk/articles/rest.html What is REST]&lt;br /&gt;
* [http://wiki.openstreetmap.org/wiki/Slippy_map_tilenames OpenStreetMap's &amp;quot;Slippy tiles&amp;quot;]. ''Note that like Google map tiles, their grid counting starts from the top-left not the bottom-left.''&lt;br /&gt;
&lt;br /&gt;
[[Category:Standards]]&lt;br /&gt;
[[Category:Tiling]]&lt;/div&gt;</summary>
		<author><name>Wiki-Milos</name></author>
	</entry>
</feed>