Import Tile Cache

With this functionality you can import tiles from an existing tile cache or a tile package. The target map must not necessarily have the same spatial reference as the source tile cache. A projection on the fly is performed automatically, if the target map has a different spatial reference. For local reference system, this only works well for small scales (for example >1:100.000). Try it out to check whether it works for your projection.

To import a tile cache, open the gView-Data-Explorer and navigate to Tile-Caches tree node an double click the "create new connection" icon. In the dialog you must specify a lot of settings (tile cache extent, scales,spatial reference, url to the tiles, copyright information, etc):


For simplification you can import an already configured tile cache with the "import" button. With the setup, a configuration for Open Street Map tiles is available. You can use this for allmost all Web-Mercator tile caches (Bing, Yahoo, Google) only by changing the the urls (and copyright ;-))
An import of WMT-S or AGS tile configuration is coming soon...


As you can see here, it is possible to define different urls to the tile images in one configuration. Here, three servers are definied and gView will load the tiles from this servers randomly to increase performance. Confirm this dialog and test the tile cache. Double click it in the gView DataExplorer Contents-View and open the "Preview" tab of the "Cache" item:


Important: You must have access to the internet!
Now you can load the tile cache to any gView Carto map by using the Add-Data-Dialog as usual.
Every tile you add a tile cache to a map, the Copyright-Information appears on the bottom right corner of you map. A click on the link, shows detailed information.

The tiles will now downloaded from the internet server(s). For performance reasons, the tiles will cached on your local computer. So every tile is only downloaded one time. If you access a tile a second time, gView will load it from the local tile cache directory. You can manage the local tile cache, by double-clicking the "Local Caching Properties..." item in the gView DataExplorer Contents-View:


Tile caches can used in the same way as any other data sources. You can, for example create a map (gView Carto) containing a tile cache and publish this map to a gView Map Server. With the MapServer you can than export the tile cache as WMS/IMS service for every spatial reference...
Important: gView MapServer (gView MapServer Tasker windows service) must have access to the internet!

Last edited Nov 30, 2012 at 12:37 PM by gisdev1, version 13


No comments yet.