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


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

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

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

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

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

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


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

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

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


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


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

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

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


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

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

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

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

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


2

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


2

Luckily a standardized series of bounding boxes already exists, the TMS tile scheme. If your ok with making more requests for smaller amounts of data, splitting it into tiles can work very well, it caches well, and makes nice looking URLs. Once you have a tile coordinate(zoom/x/y) it can be converted to a bounding box, fetch the data, then depending on the ...


1

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.


1

Generally I would not suggest cascading services like this, but it is doable, and there are a few points that you should be aware of: In ArcGIS 10, WMS services were not supported in MSD based services. So we had to use a MXD based service. I am not aware of whether it is supported in ArcGIS 10.1 or not. In your tiling process, you will be making a lot of ...


1

Well, it's been a few days. I've since given up on GeoWebCache and flopped over to MapProxy. It's MUCH more customizable. It's yaml configuration is open enough to allow me to specify the vendor keys in its own config, along with as many different providers/layers/caching routines I need. I highly recommend it!


1

There's an easy "fix" if you're brave enough to change the code source of QGIS: Open 'qgsmaptoolpan.cpp', and into the corresponding 'canvasMoveEvent' member, add the sentence "mCanvas->refresh();" as follows: void QgsMapToolPan::canvasMoveEvent( QMouseEvent * e ) { if (( e->buttons() & Qt::LeftButton ) ) { mDragging = true; // move map ...


1

Well there is lots of options you can do to improve speed. It depends on your skills. If you have long queries you may be in need to tune Postgresql memory resources. If you have javascript skills you can override the WMSGetFeatureInfo control from Openlayers and cache results into control to avoid repeated queries. If you know a little about server ...


1

I know this question has been asked some time ago, but just wanted to share what ESRI said about this if others run into this issue. The "Automatic cache updating" radio button or honored when you are going through the publishing or re-publishing process. If you don't want the server to cache your service automatically, just make sure the setting is set to ...


1

If you are using Quantum GIS, you could utilise the OpenLayers plugin. Progams such as Mapertive can download tiles from OpenStreetMap, using the generate-tiles method. Other programs may be available for other sources. Mapertive exports the images into the 'Tiles' subfolder. Once you have the tiles downloaded, make a copy of one of the files in the ...



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