question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow for bounds to be specified for WMS layers so requests aren't made outside the bbox

See original GitHub issue

WMS layers have a BoundingBox defined which defines the location of the data. It is more efficient to not request data that is outside of the bounding box, because it just results in needless HTTP requests that result in empty/transparent tiles.

There should be a way to configure the bounding box for the layer for TileLayer.WMS, ideally accounting for the CRS.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
IvanSanchezcommented, Sep 26, 2016

@kaynz @ericdahl Can you check if this is solved in master by #4646? If not, please provide a fiddle/codepen/playground that displays this behaviour.

0reactions
perliedmancommented, Aug 9, 2017

@ericdahl great to hear! Only took us a year to notice, but I’m closing this now. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bounding box coordinates and strange WMS behavior
I'm having trouble with using OpenLayers to render a GeoServer WMS layer. I have searched about it on the internet but have found...
Read more >
WMS Layer Bounding Box Issues - Esri Community
Solved: I am trying to use a wms layer in my flex viewer (see ... When I specify wkid="4283" it sends the massive...
Read more >
Using WMS service layers—ArcMap | Documentation
A WMS service layer is made up of three entries that are arranged hierarchically in the table of contents. At the top is...
Read more >
Basics of the WMS specification | GEOG 585: Web Mapping
The WMS receives a request detailing the bounding box (or extent) of the map, the layers to include, the projection to use, and...
Read more >
WMS Server — MapServer 8.0.0 documentation
A WMS (or Web Map Server) allows for use of data from several ... Layers set to STATUS ON or STATUS OFF can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found