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.

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. fileinfo.com/extension/jpgw 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 - docs.geoserver.org/stable/en/user/data/raster/worldimage.html –  Mapperz Mar 13 '13 at 17:20

1 Answer 1

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

 
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.