14 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 = ...
user avatar
12 votes
Accepted

Setting height and width to TileWMS layer in OpenLayers 3

I had similar problem, adding pixelRatio: 1, to ol.Map section solved the problem. http://jsfiddle.net/jLmyo3gL/2/
user avatar
  • 136
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 ...
user avatar
  • 75.5k
5 votes
Accepted

Geoserver Caching does not save tiles

Tomcat and Geoserver need write permissions. You need to give tomcat7 ownership of /opt/gwc
user avatar
  • 3,834
5 votes
Accepted

OpenLayers map displays on Desktop but will not display on Mobile?

The error message means that you are using a WMS-C tile service which does not support the pixel ratio of the mobile device you were trying. To fix this, just remove the serverType config option of ...
user avatar
  • 2,953
5 votes
Accepted

Display tile grid borders with leaflet (visual debugging)

Leaflet tiles have the leaflet-tile class You can use css to make the border visible .leaflet-tile { border: solid black 5px; } This would create black borders for each tile. It worked for this ...
user avatar
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. ...
user avatar
  • 13.1k
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 = ...
user avatar
  • 10.2k
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 ...
user avatar
  • 75.5k
4 votes
Accepted

GeoServer GeoWebCache seeding dies prematurely

I found the answer to the issue, although there is no available solution. It is a known bug where GeoWebCache stops forcefully. It looks like there is no current solution for bug # GEOS-6278: https:/...
user avatar
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 ...
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 ...
user avatar
  • 75.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 ...
user avatar
  • 15.8k
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 ...
user avatar
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 ...
user avatar
4 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. ...
user avatar
  • 53.3k
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: ...
user avatar
  • 33.1k
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 ...
user avatar
  • 15.8k
4 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 ...
user avatar
  • 2,056
4 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 ...
user avatar
  • 53.3k
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 "...
user avatar
  • 15.8k
3 votes

Where is my Geowebcache tile directory?

An easy way of finding GeoWebCache's tile directory is having a look at the bottom of the GeoWebCache homepage:
user avatar
  • 545
3 votes

How to use a common GeoWebCache for multiple Geoservers?

Just set up GWC on a machine and point it to the loadbalancer that controls access to your GeoServers. Then each tile request will be sent to the next available GeoServer in exactly the same way as ...
user avatar
  • 75.5k
3 votes
Accepted

How to optimise rendering of layer-groups in Geoserver

Ciao, a few things: It looks to me you are mostly rendering vector data, hence JAI does not helpat all If you are mostly serving vector data with complex styling rules, I am hoping you are using a ...
user avatar
  • 1,421
3 votes
Accepted

In Geoserver, is Max Render time for WMS adjusted according to metatile size?

The same max render time is applied to any WMS request. When doing meta-tiling the internal GeoWebCache makes a single WMS request, which is subject to the max render time. So, if you want to render ...
user avatar
  • 15.8k
3 votes
Accepted

Is it possible to expose Bing Maps as a WMS endpoing via GeoWebCache?

A Bing Maps partner already exposes Bing Maps as a WMS service: http://www.onterrasystems.com/web-mapping-mapsavvy/
user avatar
3 votes

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 ...
user avatar
  • 75.5k
3 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 ...
user avatar
3 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 ...
user avatar
  • 329
3 votes

GeoWebCache missing Vector tiles

Turning off parameter simplification on the fly in the store configuration solves the problem.
user avatar

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