How to access the 'Tiled wms' as given in this page http://onearth.jpl.nasa.gov/tiled.html using mapping kit? I tried various variants of the wms url, but no success. Is it possible to access this at all?

Comments

jpulles’s picture

At the moment you cannot specify explicitly the parameters needed for a tiled wms layer.

What you could try if you know the maximum resolution and bounding box for a tiled layer is to create a map context with the width/height and bounding box set to such values that the correct tiles are requested.
When the map is shown, the maximum resolution is calculated as the width of the extent divided by the width of the map (NOT the width of the tile). In addition the default tile size is 256, which may be different from the onearth site.

Would it be possible to try to show the onearth layer as an OpenLayers TMS layers, like the example at http://openlayers.org/dev/examples/spherical-mercator.html? I will add support for this to this kit.

jannalexx’s picture

did u manage to access those tiled map services?

jpulles’s picture

No, a service like the one at http://onearth.jpl.nasa.gov/wms.cgi?request=GetTileService cannot be used at the moment. When tiling is supported by the mapping kit, it will be tiling like implemented by TileCache.

jannalexx’s picture

Title: accessing Nasa's onearth wms » Tile Map Services support
Category: support » feature

Changing to feature request

TMS Tile Map Services support

http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification
http://www.tilecache.org/

many maps are being served this way
many thanks in advanced for considering this in your very nice work

jpulles’s picture

Assigned: Unassigned » jpulles

Thank you for this feature request.

At present, it is already possible to define tms layers, with the limitation that they must be compatible with OpenStreetMap. See http://aardbodem.nl/?q=node/82 for an example.
The TMS layer will be extended to accept the definition of a tile cache layer in terms of resolutions, bbox, srs, levels etc. In case you have specific ideas about how to implement it, please let me know.

Kind regards,
John