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 large map data set of 256x256 jpg images. The file directory is organized by /map_type/zoom/x/y.jpg. I have 12 zoom levels and each zoom level directory has 2^(2*zoom level) images.

I have been researching how to display map data using GeoServer and almost everything I have read says that I need to georeference the images. This would not be practical with the methods I've seen because I have such a large data set.

Is there a way to display the map data based on the file location? I found a similar tile structure on wiki called Slippy Maps but after skimming through it, it sounds like they convert vector data to tiles. All of this is kind of confusing to me. Some clarification on how map data is created and served up would be very appreciated.

share|improve this question
create world files jpgw for each jpg. a simple batch can be create for all your images. [correction .jgw for geoserver] – Mapperz Mar 13 '13 at 15:47
Are thes files some sort of tiles? You could serve them as WMTS service/tiles if you know the rest of the configuration. – Devdatta Tengshe Mar 13 '13 at 15:50
The files are just jpg's. for example, at zoom 0 the directory would be /maps/terrain/0/00000/00000.jpg – Cory Mar 13 '13 at 16:22
@Mapperz, thanks for the info. After I create all of the .jpgw files, how would I tell GeoServer to use the entire file directory instead of one individual file? – Cory Mar 13 '13 at 17:06
individual files required - in Geoserver this is called WorldImage - – Mapperz Mar 13 '13 at 17:20
up vote 0 down vote accepted

I am answering this question based on the assumption that you have a Disk Cache of Tiles, with tiles (in jpeg format) arranged by a standard XYZ grid.

If this is the case, then you do not need Geoserver to serve these tiles. You just need to place them in a location which is accesible to your web server.

You need to know the projection and location of the images.

You can then use OpenLayers.Layer.XYZ to display these tiles in your OpenLayers Application. Here is an example of how tiles can be directly accessed and shown in a map.

You should also have a look at Using Custom Tile Sources / Google-like Tile Layer Support

share|improve this answer
Thank you so much! – Cory Mar 22 '13 at 16:58
Glad to help you out! Please consider marking this answer as accepted, if it answer your question. – Devdatta Tengshe Mar 23 '13 at 5:09

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.