New answers tagged

1

One way of doing it (using MapProxy, as recommended by nmtoken, but not necessarily for proxying, just for downloading): Open the WMS capabilities XML and look at the MinScaleDenominator value for the layer. Convert the MinScaleDenominator value to zoom level using the table at https://wiki.openstreetmap.org/wiki/MinScaleDenominator Get Mapproxy. I used the ...


0

Okay finally I've found out the reason myself. "OpenLayers" works fine with Single Layers until they are not grouped twice (Child > Parent Groups). The layers which are in "Landcover_Group", and then being "within Landcover_Group" are placed in "Road_Land" group, cannot be open with "OpenLayers". The ones ...


2

The anchor just controls the relative position of the label bbox and the label point, e.g., the label point is typically the centroid of the polygon (when it's inside the polygon), setting it to 1 0.5 means it's at the right/middle of the label bbox. Think of it as a text alignment offering more options than just "right, center, left" and "...


0

If you want the actual data then you need to use a WFS request rather than a WMS request.


0

Is there a way to get the attribute table of a layer using WMS? No, a WMS layer doesn't have any attributes. It is an image (mostly) representation of a set of data. The GetFeatureInfo request gives access to the underlying data.


0

The indexer.properties file must be created before the imageMosaic extension is called. I completed the process using R and include the script below. Per folder, this script: Deletes any pre-existing mosaic index files (caution, will delete all files not ending in tif) Adds an indexer.properties file to enable sorting by resolution Adds an external image ...


0

I found the solution in another forum thread, just right here : WMS GetFeatureInfo and Leaflet Stefan added the few lines of code that make it right : getFeatureInfoUrl: function (latlng) { // Construct a GetFeatureInfo request URL given a point var point = this._map.latLngToContainerPoint(latlng, this._map.getZoom()), size = this....


Top 50 recent answers are included