Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate tiled=true for WMS 1.3.0 #7012

Open
nf-s opened this issue Dec 15, 2023 · 4 comments
Open

Investigate tiled=true for WMS 1.3.0 #7012

nf-s opened this issue Dec 15, 2023 · 4 comments
Assignees

Comments

@nf-s
Copy link
Contributor

nf-s commented Dec 15, 2023

We add tiled=true for WMS version 1.1.x but not 1.3.0.

We should look into this and depending on GeoServer configuration - GeoWebCache will only be hit if tiled=true.

@nf-s nf-s self-assigned this Dec 15, 2023
@nf-s
Copy link
Contributor Author

nf-s commented Dec 15, 2023

/** Default WMS parameters for version=1.3.0 */
static defaultParameters130 = {
transparent: true,
format: "image/png",
exceptions: "XML",
styles: "",
version: "1.3.0"
};

/** Default WMS parameters for version=1.1.1 */
static defaultParameters111 = {
transparent: true,
format: "image/png",
exceptions: "application/vnd.ogc.se_xml",
styles: "",
tiled: true,
version: "1.1.1"
};

@nf-s
Copy link
Contributor Author

nf-s commented Dec 15, 2023

GWC might only support WMS 1.1...

@alexgleith
Copy link

There's a few paths to get caching in Geoserver:

  1. Using the "direct integration" (which gets GeoServer's WMS and caches that)
  2. Using the GWC URLs (which goes direct to GWC)

When using 1, there's a setting in GeoServer that says "explicitly require tiled parameter" and if that's false, then you must pass in the tiled=true parameter to get caching. It's probably a good idea for Terria to add tiled=true always, as there's no downside.

When using 2 this isn't a problem, as it doesn't support version 1.3.x...

@nf-s
Copy link
Contributor Author

nf-s commented Dec 15, 2023

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants