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 = ...
Brian Burns's user avatar
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 ...
Ian Turton's user avatar
  • 81.5k
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. ...
user30184's user avatar
  • 65.4k
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. ...
Alex Leith's user avatar
  • 13.5k
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 = ...
Mike's user avatar
  • 12.5k
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 ...
Ian Turton's user avatar
  • 81.5k
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 ...
webrian's user avatar
  • 2,171
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 ...
user30184's user avatar
  • 65.4k
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 ...
Steve Omondi's user avatar
4 votes
Accepted

GeoWebCache Upgrade Error

A quick google of Unsupported major.minor version 51.0 leads to How to fix: Unsupported major.minor version 51.0 error?. Basically you need Java 7 for recent versions of GeoWebCache (and GeoServer and ...
Ian Turton's user avatar
  • 81.5k
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 ...
Andrea Aime's user avatar
  • 17.4k
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 ...
Son of a Beach's user avatar
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 ...
mangomap.com's user avatar
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 ...
user435421's user avatar
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 ...
mikeo's user avatar
  • 339
4 votes

GeoWebCache missing Vector tiles

Turning off parameter simplification on the fly in the store configuration solves the problem.
Clément's user avatar
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: ...
MappaGnosis's user avatar
  • 33.9k
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"?> <...
Ian Turton's user avatar
  • 81.5k
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 ...
Andrea Aime's user avatar
  • 17.4k
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 ...
ThomasG77's user avatar
  • 30.7k
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, ...
user30184's user avatar
  • 65.4k
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 ...
Ian Turton's user avatar
  • 81.5k
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 "...
Andrea Aime's user avatar
  • 17.4k
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.
Stefan Simon's user avatar
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 ...
missmarkov's user avatar
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 ...
Ian Turton's user avatar
  • 81.5k
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 ...
Ian Turton's user avatar
  • 81.5k
3 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 ...
Ian Turton's user avatar
  • 81.5k
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 ...
user59563's user avatar
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 ...
user30184's user avatar
  • 65.4k

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