Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a local tile source of OSM tiles. I'd like to show the tile zoom, x, y on the tile so that I can optimize and create small offline groups of tile for specific areas(polygons).

I can get the tile boundary to show by setting a negative gutter, but I need the tile url info (zoom, x, y) to help with the manual optimization.

I saw an online resource a while back that showed this exact information on a map, but I've lost it :(

I know this is probably a simple problem to solve, but I haven't found any solutions after a while of playing around with it and many searches. Here is my layer

var newLayer = new OpenLayers.Layer.OSM("GC-h", "tiles/GC/composite_h/${z}/${x}/${y}.png", {numZoomLevels: 19, gutter: -1, isBaseLayer: false});


share|improve this question

After half an hour of searching I found a service which generates images with your custom size and text. You can use this, and put x/y/z as text:

Sample image with given URL

It may have limiting usage terms.

share|improve this answer

Your Answer


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.