Tag Info

Hot answers tagged

6

The cache directory at C:/Users/Russell/.qgis/cache/ is actually the WMS-C/WMTS cache as @jef has mentioned. That's why it's in the Network tab of the Options dialog along with the WMS search address and proxy settings. The naming is unfortunate but it has nothing to do with the render caching which is used to speed up redraws and other common operations. ...


5

FeatureLayers and RasterLayers are layers created in memory, not in the scratch workspace (in background processing they create a file referencing the memory position but that is all). In order to remove those layers residing in memory, you need to explicitly delete them one by one using arcpy (they do not fall out of scope until Python exits). Note that ...


5

If you want the ArcGIS Online basemaps in-house ... you could also just buy the ArcGIS Data Appliance - http://www.esri.com/software/arcgis/data-appliance.


4

You could create a TEMPORARY (or better UNLOGGED if you use pg9+) table to store the precalculated data (along with trigger functions to keep it in sync), but that's not an out-of-the-box solution as you'd have to write the queries yourself. But before you do that, you may want to try EXPLAIN and EXPLAIN ANALYZE on your view query, you may be able to find ...


4

There is a sample on how to store tiles into HTML5 web storage in ESRI JavaScript API. See Sample: Tiles in Local Storage


4

I think you would be violating the "Terms of Use" (third party terms here). It clearly says you cannot, "Store the results derived from Licensee's use of Web Service(s) for the purpose of creating a value-added, Webenabled Application that Licensee intends to resell, license, or otherwise distribute to third parties without the prior express written ...


4

GeoCache is not the only caching software (even if it fits nicely in the Geoserver ecosystem and UI). You could try MapCache (from the fine MapServer folks) which states to support vendor params (see last item on feature list). I could not find documentation on the matter, but the author(s) will usually answer quickly to well-termed questions. If MapCache ...


4

Given that you are requesting WMS tiles, you can use a cache service like WMS-C (WMS Cached), Tile Map Service (TMS) or Web Map Tile Service (WMTS); the latter is an OGC standard. There are several implementations of these standards; to mention some, there are GeoWebCache, TileCache or MapProxy. Because you are using GeoServer, I think that the best ...


4

The JSON response from the server should contain an error object (in JSON) that you might be able to use to tell your cache server to dismiss. I wasn't able to match your "Invalid URL" using ESRI's online servers, but got a similar light-pink error with the following URL: ...


4

Byte (see QNetworkDiskCache::setMaximumCacheSize). The cache is mainly used for WMS-C/WMTS - so you're probably not using that.


4

There are several overlapping issues here. ArcGIS Desktop is single-threaded, but can make use of a multi-core machine because it can then get the exclusive use of one core. Unless there's a Direct Connect connection to an enterprise geodatabase, in which case, each connection will be run as an additional thread. ArcGIS Server supports multiple cores ...


4

Turns out that ESRI just added this feature, but only for users of ArcGis server - the public server will have it turned off. The feature is called ExportTiles and it has been introduced in 10.2.1 for REST API: It'll export things into ArcGis's .Tpk or bundled image formats.


3

HTTP POST requests are not normally cached - see this StackOverflow question: http://stackoverflow.com/questions/626057/is-it-possible-to-cache-post-methods-in-http However if you switch your WFS layer to use GET requests rather than POST requests then these requests can be cached. I had to apply a patch to my OpenLayers installation to get this to work ...


3

With your purpose, i think mapproxy (www.mapproxy.org) is the best choice. MapProxy not only caches tiles, wms source but also serve the cached tiles as TMS, WMS.


3

For caching postgres queries you should take a look ad pgPool II. pgPool is a middleware for postgres which, among other useful things, has an in-memory cache for queries. Please note that if even a single parameter changes the results will not be fetched from the cache (for obvious reasons). Depending on how the queries are made if the BBOX changes the ...


3

It depends on tiling software. For example, in MapProxy (what is excellent choice for tiling), you can define 'coverages' in your configuration: http://mapproxy.org/docs/1.5.0/seed.html#id7, and regenerate only those areas. So, whenever your polygons change, define new coverage and re-seed your cache.


3

I'm afraid the answer is: You can stop QGIS from blinking by funding a developer to implement a non-blinking version.


3

As said the cache is only use for network accesses - probably most useful for tiles in WMS-C and WMTS, but also use for the capabilities of WMS, WCS, WFS and for SVGs in case they aren't local. It's created on demand - ie. only when a network reply should be save for later reuse.


3

I think you should investigate Basemap Layers: Basemap layers are a kind of map layer that provides a framework onto which you display your dynamic operational information. Basemap display performance is very fast. Since basemap layers are relatively static and do not change frequently, their display can be computed once and reused many times. ...


3

The expression "host the OpenLayers map on site" isn't much clear as using OpenLayers is more a client side topic: OpenLayers is a JavaScript library and works on the browser. Using OpenLayers doesn't depend in any way on the hosting machine. So I assume you would like to set up a geographic server. The things you should care about are: processing power ...


2

There are a few options using TileMill/Mapbox/MBTiles... Not html5 though. You may want to explore other options for android than html5!! MBTilesDroidSplitter : https://github.com/djcoin/MBTilesDroidSpitter Locus : http://www.locusmap.eu/ Nutiteq : http://www.nutiteq.com/android-mapping-api-sdk


2

Assuming your dataset doesn't change on a regular basis I think @dariapra's approach is the best for rendering images, but unfortunately it won't change the performance of your GetFeatureInfo requests - the database still needs to be queried each time. You might consider using GDAL's ogr2ogr (or pg2shp but I've never used this) to export your dataset into a ...


2

Check out this article reviewing Cloud Web Mapping APIs It has some of the answers you are looking for and handy links to the licensing docs. I think you will need to read the key sections yourself to make a call on this as offline usage depends very much on how you are planning to implement the solution.


2

The HTML5 specs have a feature that does exactly what you need, for the details see the documentation on the Mozilla Developers Network: https://developer.mozilla.org/en/DOM/Manipulating_the_browser_history Unfortunately this means you will have to code the integration between OpenLayers and the different browser history implementations yourself. There are ...


2

in tiling world there are some ways for caching tiles. in my application i am using gdal which is an excellent tool for both conversion and tiling. with sid files you can translate it to tif and then with gdal2tiles.py will help you to tile your data.... some example codes: gdal_translate -of GTiff -co "TILED=YES" some.sid some.tif gdal2tiles -title "Sid ...


2

What type of strategy are you using? If you are using the boundingBox strategy, at each pan/zoom OL will do a new request to get the features that are inside the map. Depending on how many features you have, to lower the number of ajax request you can try to use the OpenLayers.Strategy.Fixed instead. About caching, OpenLayers has a caching controls, but I ...


2

If I read this right, it sounds like you are a bit familiar with arcpy refresh issues. I believe you will be able to get by this if you use arcpy.RefreshCatalog() arcpy.RefreshCatalog documentation


2

Tile packages are just normal zip files which contain the images in a "bundle" format along with metadata in more familiar formats. The bundle format is proprietary and undocumented. Some details including initial code sample are available on the ArcGIS forums.


2

I was indeed correct with my hypothesis. The correct way to set up Apache so that our requests are never duplicated unless required is to set a Expires mod in the HTTPD.conf file. First, enable the module: LoadModule expires_module modules/mod_expires.so Then, turn on caching for PNG images: ExpiresActive on ExpiresByType image/png "access plus 1 year" ...


2

The updated=1372394902000 Parameter is basically the Unix epoch time in milseconds. Your tile is being requested with a HTTP GET request. What you need to know about Http Get's is that you can pile on any arbitrary parameters at the end of a Get Request, and if the parameter does not make sense to the server, it will ignore it. This fact is exploited ...



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