Hot answers tagged

9

I added aerial imagery from GIS server and created fishnet over the area of interest: I use fishnet as index layer for my data driven pages, making sure the sorting order coincides with record order in fishnet table. I applied script (see below) to travel through pages, export them to temp raster, clip it to PNG raster named after page name. Result shows ...


7

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 ...


6

If you have built a cache using ISpatialCacheManager3 then IFeatureClass.GetFeature should work faster ... Enabling feature caching improves the performance of all spatial searches whose query geometry lies within the cached area and and also improves the performance of all queries that retrieve features by object ID (for example, GetRow, ...


6

Basically, the Editor extension, when in edit mode, manages a set of snap agents (see ISnapEnvironment). Each of these snap agents may have an associated feature cache (IFeatureSnapAgent.FeatureCache) so that snapping can be done without executing a spatial query every time you move the mouse cursor. So there is not a single feature cache, but typically more ...


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

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.


5

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


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

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

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

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

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.


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

You name 500MB cache size because of the setting you get when running the caching process after publishing a map service. This is the default setting you get in ArcGIS Desktop which can be seen in ArcMap > Customize > ArcMap Options > Sharing tab. You can disable this warning if you know that you are going to generate multiple caches of bigger size. Why ...


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

If I understood correct your problem is that it is impossible to determine the combination of layers with each request as users can select any of the 140 layers and the client is sending one request for all layers combined (ie not a request for each layer). In that case you could try fronting your WMS servers with a caching service like MapProxy or Mapcache ...


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

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

You can't do it in a single service, but you could do it with two services using scale ranges for visibility. Cache the one and leave the other dynamic. As far as creating tiles on demand: Space, I understand. If you don't have it you don't have it. Speed "issues" only occur for the first person ever to request the area. Thereafter, it goes as fast as ...


3

As you can see here it is a known issue. There is bug submitted to GWC GitHub: https://github.com/GeoWebCache/geowebcache/issues/232


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 ...


3

The problem in this case was rather stupid:) The cache mentioned above was residing in a folder, that was located in another folder, that was located in another folder. So despite the fact that I registered the main folder as a cache folder for the server, it couldn't read inside all these folders. So we created a new folder, named it exactly as the map ...


3

concerning your question about how to update the bounding-boxes: Choose the layers menu: -- Click on the layer in the layers list: -- Recalculate the bounds If the extent keeps changing you could perhaps try to set the extent manually to the world extent...


2

I went to ESRI support for this one, and the person who called me back (I wish I'd written down his name) was unusually helpful. The answer strikes me as a bit strange. The instructions say ESRI Data & Maps for ArcGIS Server contains map documents that you will publish on your GIS server as services. These are located in the source_documents folder ...



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