17
votes
Display tile grid borders with leaflet (visual debugging)
Another option is to create a plugin like so -
L.GridLayer.GridDebug = L.GridLayer.extend({
createTile: function (coords) {
const tile = document.createElement('div');
tile.style.outline = ...
6
votes
Can I Use GeoWebCache for seeding UMN MapServer Mapfiles?
You can set up GeoWebCache to request WMS layers from any WMS server. This may be easiest with a standalone install of GWC but should be possible in the integrated version too. You need to edit the ...
5
votes
GeoWebCache: Where to configure the max number of threads when seeding tiles
The web interface of GWC seems to use name "task" where it probably should be "thread". Task means a job that aims at seeding the area of the given bounding box and it can use one or more threads.
...
5
votes
Accepted
Cache not created on Geoserver with data from Postgres
I know these GeoServer errors look incomprehensible, and that is very long, but here's the salient part:
ServiceException: This request used more time than allowed and has been forcefully stopped. ...
5
votes
Accepted
How to pass tile size of to 512 using OpenLayer 3 and GeoServer 2.14
Your resolutions array is based on a different extent to the tilegrid (and also assumes 256px tiles). Assuming your server is using a standard EPSG:3857 tilegrid this should work:
var tileGrid = ...
5
votes
Accepted
GeoServer GeoWebCache with ImageMosaic
You need to set a Parameter filter, the easy way to do this is to go to the Tile Caching tab of the Layer page.
TIME is available in the Add Filter combo box and then you can choose to add either ...
5
votes
Accepted
Cache on demand from GeoWebCache
This is the default behavior, see also https://docs.geoserver.org/stable/en/user/geowebcache/index.html
It says: caching (storing) tiles as they are requested, eliminating redundant request processing ...
5
votes
Accepted
Geoserver XYZ tile service
By the GeoWebCache documentation https://www.geowebcache.org/docs/current/services/tms.html the flipY parameter is what need.
The TMS specification has the TileGrid Map origin located at bottom left ...
4
votes
Seed in Geoserver doesn't work
I had this problem a number of time in the past and then I realized it's an Authentication problem between GWC and Geoserver. As was also noted by @Nuno Oliviera or Geosever dev team, GWC has not ...
4
votes
Accepted
Can not find "application/json;type=geojson" in Geoserver Tile cache format
You are probably mixing up a tutorial for the OpenGeo Suite with an official GeoServer (the suite contains a modified one, different style, extra non default plugins, don't know if there are other ...
4
votes
Accepted
Prevent GeoWebCache from re-rendering tiles when the data is updated
Use the standalone GeoWebCache then you have full control over when it's cleared.
That said, unless you are pre-caching then it's probably not a good idea delaying the cache delete as any areas that ...
4
votes
Accepted
GeoServer - Layer Renders Differently based on WMS vs. GWC
The WMS image is rendered based on the BBOX (extent) for the entire image request. The labeling rules apply to the extent of the WMS image request.
The GWC images are each rendered for either each ...
4
votes
Accepted
Could not locate a layer <...> with id <...> GWC configuration seems to be out of synch
The problem was that few layer groups were assigned to different workspace while member stores were not. Then geoserver was stopped for a restart and was unable to go up because:
Layer group within a ...
4
votes
Accepted
GeoServer GWC Direct Integration SLD_BODY Null Pointer
For the time being I have a couple workarounds to this problem:
Don't use GWC Direct Integration if any layer will ever need to accept an sld_body or sld parameter. Work around this by leaving Direct ...
4
votes
GeoWebCache missing Vector tiles
Turning off parameter simplification on the fly in the store configuration solves the problem.
4
votes
Accepted
Leaflet shows a Gray area with GeoServer TMS
I notice that you are using leaflet v 0.7x. This is rather old and leaflet 1.x is recommended. The -y option is only available in leaflet 1.x. In the older version you need to use the option tms: ...
4
votes
Labels disappear while zooming
You are not using a fixed location for your labels therefore the partials strategy is unable to work correctly as it needs to know exactly where the label is going to be drawn on each tile.
Add the ...
4
votes
Modify GeoServer Caching Defaults via REST
Have a look in the resource endpoint - on my machine http://localhost:8080/geoserver/rest/resource/gwc-gs.xml
gives me, usually I GET it, edit and then PUT it back.
<?xml version="1.0"?>
<...
4
votes
Accepted
Set min and max zoom level to include a specific layer in GeoServer vector tiles
Associate them with a SLD style that disables rendendering at the desired scale denominators. In GeoServer the PBF contents are driven by the default style, both in terms of scale dependencies and ...
4
votes
Accepted
Syntax for adding GeoServer / GeoWebCache WMTS or TMS tiles to QGIS as XYZ Tiles layer
You need to use this URL https://gis.lmi.is/geoserver/gwc/service/wmts?Service=WMTS&Request=GetCapabilities&Version=1.0.0
For a WMTS, you need to replace after the base URL (all the url before ...
3
votes
GeoWebCache: Missing tiles after reseed
a team member found the issue.
For geojson tiles seed, you need to set on the layer Metatiling factors to 1x1 instead the default 4x4, otherwise GWC will consider that already generated 16 tiles.
3
votes
Batch process for seeding multiple BBox areas in Geoserver
GeoWebCache does not have queuing system for seeding processes. Therefore you can't just send hundreds of seeding requests with REST API because that would start them all at the same time. However, ...
3
votes
Accepted
GeoServer does not generate cache
From the error message: Service WMS is disabled you have turned the WMS service off (or your user does not have permission to use it).
It should all work if you turn the WMS back on or sort out the ...
3
votes
Using GeoWebCache tiles with default geoserver url
The error happens because the tiles you're requesting are misaligned vs the cached grid, see user30184 comment about it.
In order to use the GeoServer WMS endpoint and get cached tiles:
Go in "...
3
votes
GeoServer caching request not aligned to grid(s)
I figured out the solution. My projection extent was wrong, which I realised by looking into the GWC GET request info in my web browser. I saw my extent was different from the one assigned to the tile ...
3
votes
Accepted
Geoserver 2.12.1 GWC cannot seed
This is a known bug - something is going wrong creating the tile and is returning an XML image, change the error format to INIMAGE using EXCEPTIONS=application/vnd.ogc.se_inimage to see the error ...
3
votes
Accepted
How properly calculate BBox for mocked GetMap request?
The easy way to do this is to make WMTS requests instead of WMS requests since then all you need to do is specify the zoom level, row and column number to get a hit.
If you have to calculate the tile ...
3
votes
Accepted
Map legend is not working in GWC WMS and WMTS
I have fixed this problem. Previously at the time of publishing the layer, I had selected Tile Image Formats: JPEG. Whereas Map legend supports only PNG format. So NOW, I have selected Tile Image ...
3
votes
GeoWebCache Internals
Have you already read https://www.geowebcache.org/docs/current/concepts/gridsets.html? The result of request bbox-A is not saved into cache but the tiles which intersects with bbox-A. In case of ...
3
votes
Accepted
Optimizing/Speeding up GeoServer/GeoWebCache to cache layer groups containing thousands of GeoTIFFs
You should create an image mosaic layer rather than a layer group (which assumes the layers are roughly on top of each other and doesn't have any indexing).
Checkout the tutorial for more details.
If ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
geowebcache × 330geoserver × 273
tiles × 44
openlayers-2 × 29
wms × 29
openlayers × 25
wmts × 23
cache × 14
geoserver-rest-api × 11
tilecache × 11
postgis × 9
coordinate-system × 9
leaflet × 9
vector-tiles × 9
tile-map-service × 9
google-maps × 7
tomcat × 6
raster × 5
web-mapping × 5
java × 5
postgresql × 4
openstreetmap × 4
boundless-suite × 4
getfeatureinfo × 4
standalone × 4