Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

If a spatial database is configured to display maps through WMS, is it always configured to display through TMS and WMTS also? Or is this something that must be configured on the server side separately?

share|improve this question
add comment

1 Answer 1

A spatial database by itself wouldn't render a map in response to a WMS request. That's where a web mapping engine comes into the equation. The web server recognises a WMS request, defers it to the web mapping engine. The web mapping engine pulls the data from the database and returns an map image. In a WMS request you can specify any size, bounding box and scale. That makes it really flexible, but every request has to go through all the steps I just described. That's fine for one client application or the end user is willing to sacrifice speed over real time data.

A TMS or WMTS is a tile cache: all map images are rendered at specific scales and specific sizes (typically 256*256 pixels). In case a client application requests a map tile through a TMS or WMTS request, the web mapping engine, or even the web server can respond with a pre-rendered iamge file without having to pull any data from the database! A tile cache is rendered through a separate piece of software, a tiling engine that actually makes requests for map images to a web mapping engine, for example using the WMS protocol.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.