[Geoserver-users] Serving png image tiles from Geoserver

Hi All,

At a client i work for a prototype is made with OpenLayers to request tiles from a webserver to show a map. Nothing fancy just calculating the x,y and z coord from the bounds and zoomlevel and according to a naming convention getting the right tiles.

These tiles are just plain png with a naming convention and no geographic information.

Is there a way to let Geoserver server these files instead of a webserver and getting them through a normal WMS request?

Thanks in advance for any help,

Regards

Kris Geusebroek

Kris Geusebroek ha scritto:

Hi All,

At a client i work for a prototype is made with OpenLayers to request tiles from a webserver to show a map. Nothing fancy just calculating the x,y and z coord from the bounds and zoomlevel and according to a naming convention getting the right tiles.

These tiles are just plain png with a naming convention and no geographic information.

Is there a way to let Geoserver server these files instead of a webserver and getting them through a normal WMS request?

Not that I know of, what you have could be interpreted as a tile
cache or as an image pyramid.
GeoWebCache can probably handle it if you do some coding to support
your specific tile layout. Of course, being GWC a tile cache, it
would only handle wms requests that match exactly with the
available tiles.

If you want to support random WMS requests based on your images
instead, you could try to turn your image set into a image
pyramid, but you would have to add georeferencing to all files
(adding a .pnw and a .prj for each), redistribute the images
in the proper directory layout, mosaic them, and then create
the pyramid metadata files... a hell of a job

Is there any chance you can just take the original raw data,
style it with GeoServer, and use GeoWebCache to slice that
into tiles and serve it?

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.