Hot answers tagged

2

Column and row along with the zoom level are needed to identify a specific tile. This section in the osm wiki shows how they are calculated.


1

The .osm file is the raw data that you can download from the OSM server. It contains nodes with coordinates and attributes ("tags"), lines with the nodes they are built from, and relations containing nodes, lines or othe relations. You will need a software that transforms that file to something that can be displayed. One choice is the Mapnik or tilemill ...


1

Instead of creating a tile layer inside your getTile callback, you'll have to create an ol.layer.Tile with an ol.source.XYZ and a custom tileUrlFunction and tileLoadFunction: new ol.layer.Tile({ source: new ol.source.XYZ({ tileUrlFunction: function(tileCoord) { // create a simplified url for use in the tileLoadFunction return tileCoord....


1

This is very old question, but there are (at least) two important caveats, depending on the task at hand. The task may result in rendering a (very) large number of empty tiles without specific management of the tile creation process. The size on disk of a tile pyramid may be much (more than 100%) larger than expected from the sum of its component file ...



Only top voted, non community-wiki answers of a minimum length are eligible