Thanks! Here are some details of my local TMS The OL code for the TMS: layerTMS = new OpenLayers.Layer.TMS("UN Rivers", [ "/Users/maning/Desktop/un_river_webmap/" ], { 'layername': 'un_rivers', 'type': 'png' } );
And here's the json file included in the /Users/maning/Desktop/un_river_webmap/1.0.0/un_rivers/ {"name": "un_rivers_label", "bounds": "116.63212537765496,4.0636545687393815,127.42069959640494,19.147174999388017", "version": "1.0.0", "formatter": null, "type": "overlay", "description": ""} A generic solution that can ingest other local TMS would be good for everyone. On Thu, May 26, 2011 at 3:47 AM, Pirmin Kalberer <pi...@sourcepole.com> wrote: > Hi Maning, > > Am Mittwoch, 25. Mai 2011, 10.43:27 schrieb maning sambale: >> How to load a local TMS in QGIS? I created a TMS for an openlayers >> basemap and overlay. I want to use the same tiles in QGIS. The >> metadat is in json format. > > I would be happy to include a patch for TMS layers to the OpenLayers plugin. > It would need a few lines of Python and your Openlayers code. > See also http://hub.qgis.org/projects/openlayers/wiki > > Pirmin > > > -- > Pirmin Kalberer > Sourcepole - Linux & Open Source Solutions > http://www.sourcepole.com > -- cheers, maning ------------------------------------------------------ "Freedom is still the most radical idea of all" -N.Branden wiki: http://esambale.wikispaces.com/ blog: http://epsg4253.wordpress.com/ ------------------------------------------------------ _______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user