I need to work out how I am going to server out the tiles and would
like to use Geoserver as I have other data being served by it but
can't work out how to get it working.
Thanks
Murray
If I should make WMS from MapTiler's tiles saved on the local disk I
would use the MapServer's shape file indexing similar to gdaltindex
results: http://www.gdal.org/gdaltindex.html.
Every level of the pyramid should have one shapefile describing the
bounds of the available tiles.
A mapserver .map file would then define the layers with correct
extents and scales for all the shapefile indexes - this way mapserver
would very very efficiently read the existing tile structure.
Generation of such shp and map files can be easily automated via a
script - based on the globalmaptiles.py from
http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/.
In case I would need to provide WMS from the TMS tiles which are on
the remote server, then I would try the gdal's
http://www.gdal.org/frmt_wms.html format and set it up in the
MapsSrver as a datasource.
I don't know about direct usage of MapTiler tiles in GeoServer, I have
heard about the "ImagePyramid"
(http://geoserver.org/display/GEOSDOC/Image+Pyramid) in GeoServer
which supports some kind of tiles but I did not try it with TMS. Maybe
a bit of coding would be necessary. You should discuss it with the
GeoServer's guys.
If you manage to push GeoServer to use local TMS tiles as the data
source then please post here a short report.
Best regards,
Klokan
P.S.
The WMS access feature is suggested here:
http://maptiler.uservoice.com/forums/10188-maptiler-todo/suggestions/125888-tms-tiles-produced-by-maptiler-accessable-trough-wms
--
http://blog.klokan.cz/
http://www.maptiler.org/
http://www.oldmapsonline.org/
http://geo-solutions.blogspot.com/2009/11/preparing-pyramid-for-geoserver-with.html
which uses the gdal_retile to make a pyramid
I am currently trying it out and will post back if I an get it to
work.
There are a number of manual steps in it that look like they could be
easily incorporated into maptiler to create an out put that will plug
straight into the imagepyramid plugin in geoserver
It seems that the accessing of tiles from GeoServer is practically the
same like from MapServer.
There is an ImageMosaic data source for every level of the pyramid
http://docs.geoserver.org/1.7.x/en/user/tutorials/image_mosaic_plugin/imagemosaic.html.
- this is represented by a shape file describing extent and filename
of every tile.
Geoserver has then some specific textual metadata for every level and
then defines the ImagePyramid metadata for the whole pyramid (several
ImageMosaics levels).
It would not be that to implement direct generating of the shapefiles
and metadata from MapTiler/GDAL2Tiles GUI...
It can be even a specialized script - based on the globalmaptiles.py
script and OGR library (for shapefiles). It is probably a task for one
afternoon.
Sponsorship for this development is welcome...
Klokan