Questions tagged [getfeatureinfo]
A WMS (Web Map Service) request that retrieves data, for a pixel location on a map.
315
questions
0
votes
0
answers
13
views
GeoServer GroupLayer GetFeatureInfo returns wrong layer feature
I'm currently facing an issue with GeoServer and its GroupLayer functionality. I have created a GroupLayer named confini containing three layers: tutorial:Reg01012023_WGS84 (Regions), tutorial:...
0
votes
0
answers
17
views
Point Stacker GetFeatureInfo
I've got a sld globally inspired by those posts (and a lot of others):
GeoServer – Creating Stacked Points
GeoServer Point Stacker: does identify work on non-clustered points?
Point Stacker in ...
2
votes
0
answers
35
views
QGIS: Calculate distance between two point layers based on matching ID
I have two point vectors in QGIS. One contains several coordinates, which are grouped geographically by a reference in the field name PID.
I also have a point vector of the centroids from each group ...
1
vote
1
answer
134
views
WMS request response in GeoJSON
I am trying to fetch data from geoserver WMS layer in geojson.
When previewing layer everything works fine:
http://79.101.20.137:8080/geoserver/eig/wms?service=WMS&version=1.1.0&request=GetMap&...
2
votes
0
answers
71
views
Get all info feature of layers within polygon from another layer
I found this example here - (question details for example). It allows to get all the features in the drawn polygon. It's almost what i needed, but instead of drawing, I want when clicking on the ...
0
votes
1
answer
104
views
How to set permalink for `featureInfo` in WMS layer
I'm using this example from openlayers to update browser URL with zoom level and center. It's working fine but what I want now is to update browser URL with featureInfo of WMS layer. And when the user ...
0
votes
0
answers
32
views
Openlayers WMS Info map.on function
I have some doubts when displaying the information of several wms layers in openlayers using the map.on function. I show the information in a div perfectly if I click on the layer on the map, but if I ...
2
votes
2
answers
132
views
Changing size of leaflet.wms plugin popup in Leaflet?
I've created a webmap viewer with Leaflet and used the plugin leaflet.wms to call the WMS GetFeatureInfo service to query a map layer and return information about the underlying features. My code is ...
0
votes
1
answer
210
views
Problem with Fetch API using URL built by GetFeatureInfo in Openlayers
I request the feature info URL from Spanish land register WMS service successfully using:
const url = wmsSource.getFeatureInfoUrl(
evt.coordinate,
view.getResolution(),
view.getProjection()...
0
votes
1
answer
208
views
Get multiple FeatureInfo from multiple WMS layers stacked on top of each other
I have two layers of WMS layers stacked on top of each other and each contains its own feature information. Upper layer has style=line and bottom layer has style=color, and some lines of the upper ...
-3
votes
1
answer
248
views
How to scrape data from WMS
I'm struggling with a problem which I'd like to solve. In general, when I use the "identify" tool on a WMS I can see, in the debug panel, the BBOX of the feature I clicked on.
I suppose that ...
2
votes
1
answer
141
views
How to identify features from WMS in QField?
Does the function "Identify Features", from QGIS Desktop, to query data from a WMS service exist in QField?
2
votes
1
answer
1k
views
WMS GetFeatureInfo in Leaflet to get selected polygon
I'm using Leaflet with WMS layers served by GeoServer.
The layers are displayed correctly on the map, also over a OSM background.
I want to catch the user click on the map and by using the X-Y ...
1
vote
1
answer
192
views
Retrive WMS layer info in a geoportal using Open Layers
I've created a viewer using Open Layers 6. Within the script, I've got the following code to retrieve the info of a WMS layer, and it works fine, added directly into the html file within the section.
...
1
vote
0
answers
247
views
Get multiple features from WMS
I am trying to retrieve more than one feature from a WMS service. I had success on some by using a combination of feature_count and setting the width and height to 2 with a x/y value of 1. But on some,...
1
vote
1
answer
134
views
Change layer popup style of KML served by GeoServer WMS service?
I need to change the style of the popup page in the KML (network) file sent by the WMS server. I looked at the GeoServer documents for this, but I couldn't find a .ftl file on my Linux server. There ...
0
votes
1
answer
153
views
GetFeatureInfo in OpenLayers only if the layer is visible
I'm using the following code in Open Layers 6, and it shows the feature info, even if the layer is not visible
map.on('singleclick', function(evt){
document.getElementById('info').innerHTML = '...
3
votes
3
answers
139
views
Expose only selective features/attributes of a shapefile while publishing on GeoServer as WMS
I am trying to use WMS GetFeatureInfo request to popup display the feature/attributes of multiple WMS layers in OpenLayers. The problem is there too many attributes in each layer.
Is these any ...
3
votes
1
answer
168
views
How to define propertynames for GetFeatureInfo
We make a GetFeatureInfo call to a GeoServer and expect a geojson return.
Is it possible to define human-readable property names?
something like: baujahr -> Baujahr
or eigentuemer_organisationstyp -...
0
votes
1
answer
442
views
GetFeatureInfo request from GeoServer responds with empty array
I am using the vue-leaflet and axios plugin in vue.js to make a GetFeatureInfo request to WMS tile layers served by Geoserver/Geowebcache for a certain point on the map, defined as marker.
I am ...
3
votes
2
answers
346
views
Failed to run GetFeatureInfo: precision cannot be greater than 7 or less than -7
I have an environment consisting in Geoserver 2.20 + Postgresql 14 + Postgis 3.1.4, in which I'm trying to run the following GetFeatureInfo request on a database containing geographic information:
...
1
vote
1
answer
88
views
GeoServer - GetFeatureInfo GeoJSON - different precision in different workspaces
I've just set up my GeoServer and app to work with application/json GetFeatureInfo requests. One of the advantages of this is that it returns the feature in GeoJSON format along with the attributes. ...
2
votes
1
answer
272
views
GetMap Request WMS
I formulate a GetFeatureInfo request that returns the feature information of the centre point of the map. The GetFeatureInfo request for WMS is:
http://geoservices-inspire.irisnet.be/geoserver/...
0
votes
2
answers
852
views
Get info for all features upon click with betterWms Leaflet plugin?
var layer = L.tileLayer.betterWms("http://localhost:8080/geoserver/wms", {
layers: 'data',
format: 'image/png',
transparent: true,
}).addTo(map);
When adding this GROUP WMS ...
2
votes
1
answer
80
views
GeoServer 2.20.1 doesn't respect multiple styles with query layers
I'm having a minor issue with GetFeatureInfo and I quite frankly don't know how to solve it.
It's a bit of a long story but here goes:
When I make the following request to our GeoServer it'll return ...
0
votes
1
answer
156
views
GeoServer GetFeatureInfo request property ordering
I am attempting to transition from text/HTML to application/JSON info_format in my GetFeatureInfo requests. The issue I'm running into is that when I use a GetFeatureInfo request with a PostgreSQL ...
1
vote
0
answers
133
views
MapServer Template
I have a wms mapfile to publish routing data line. Some of the lines have the same position and lie on top of each other, but have different values. I filter the objects with the attribute "...
1
vote
2
answers
362
views
GeoServer GetFeatureInfo Results Format - Without Geometries
In GeoServer, is there a way to only retrieve the attributes/properties of features, without geometries, using the GetFeatureInfo request?
I need to use the GetFeatureInfo request to retrieve features'...
1
vote
1
answer
250
views
How do I set the root-layer of a MapServer WMS to queryable="0"?
Problem
Problem Summary
I want the response of all the MapServer WMS GetCapabilities requests to not show queryable="1" in the root layers XML node.
Status Quo
The GetCapabilities response ...
3
votes
2
answers
211
views
Prevent WMS GetFeatureInfo returning geometry in MapServer 6.4
When I send a GetFeatureInfo request to my Mapserver 6.4 WMS, the response contains the geometry. I want to disable this, as it is far too large in size. However, I am serving the same data as a WFS ...
1
vote
1
answer
395
views
PyQGIS WMS GetFeatureInfo
How does QGIS do the GetFeatureInfo Requests when I select a raster layer (WMS Layer) and use the Identify tool on the map?
And how do I implement this in my PyQGIS Plugin, so I can send ...
1
vote
1
answer
280
views
Struggling to return GetFeatureInfo over QGIS Server and MapServer WMS layers [duplicate]
I have a HTML/Leaflet page utilising BetterWMS script (https://gist.github.com/rclark/6908938). The script returns GetFeatureInfo over WMS layers. Unfortunately it is not working with WMSs published ...
2
votes
1
answer
274
views
BetterWMS script doesn't work with QGIS Server and MapServer WMSs
I have a HTML/Leaflet page utilising BetterWMS script below. The script returns GetFeatureInfo over WMS layer. Unfortunately it is not working with WMSs published by Qgis Server and MapServer, ...
1
vote
2
answers
1k
views
Extract attribute data from features on a WMS source
I need to extract attribute data from all features from a WMS source.
So far I've managed to get them "manually" specifying coordinates for each feature using Python and OWSlib like this:
...
1
vote
1
answer
345
views
Fetch point data from image WMS
Based on the previous questions I asked, I got a way to fetch the clicked point information, but I want the exact value of gray_index, but as you can see the answer is text or HTML. In the image below,...
0
votes
0
answers
35
views
I have these variables in Leaflet map .. my difficulty is in visualizing the information using a popup in the Leaflet [duplicate]
var ProvinciasWMS = L.tileLayer.wms('http://localhost:8080/geoserver/Mocambique/wms?',{
layers:'Mocambique:Provincias_Moz',
version: '1.1.0',
transparent:'true',
format: 'image/png',
...
1
vote
1
answer
809
views
Show WMS information in popup on Leaflet map?
I need to view WMS information through a popup in Leaflet map. I tried with the code below, but the popup doesn't come out with information, but automatically downloads a file.
map = L.map(document....
0
votes
0
answers
334
views
WMS tile layer getfeatureinfo OpenLayers
I'm using this link to try and add the WMS GetFeatureInfo Tile Layer functionality to my OpenLayers map
http://astuntechnology.github.io/osgis-ol3-leaflet/ol3/05-WMS-INFO.html
My code is currently as ...
0
votes
0
answers
124
views
GeoServer GetFeatureInfo on RGBA 70GB raster returns empty feature response
I have trouble getting feature response from GetFeatureInfo (to get raster values at a point) from GeoServer on very big raster - approx 70GB TIFF. Wierdly enough, the WMS service itself (GetMap) ...
0
votes
0
answers
455
views
Get feature of point shapefile for WMS created in GeoServer?
I created a WMS from a polygon shapefile in GeoServer and next I created a WMS from a point shapefile. Then I wrote HTML code that add WMS polygon and shapefile on a base map and that is done, but I ...
3
votes
0
answers
351
views
GetFeatureInfo of a specific GeoServer layer by selecting it from a set of GeoServer layergroup
I have multiple Geoserver layers, suppose 2 here (Rainfall and Maximum Temperature)
and I want to extract the feature of that layer which I check/switch in the sidebar,
But for now I just get the ...
0
votes
1
answer
321
views
Issues with GeoServer GetFeatureInfo request parameters
I managed to make GetFeatureInfo request but it has some issues still.
This is code:
function request(e) {
var BBOX = that.mymap.getBounds().toBBoxString();
var WIDTH = 101;
var HEIGHT = 101;
/...
1
vote
0
answers
534
views
GeoServer GetFeatureInfo parameters
I have a Leaflet map where on click I send GetFeatureInfo request to GeoServer, but the content of the HTML it returns is empty. I suppose I am computing parameters that I pass incorrectly, this is my ...
1
vote
0
answers
181
views
WMS GetFeatureInfo not working
I created a WMS in a QGIS project and serve it with QGIS Server.
When I click on a feature on the WMS map, no attribute information is displayed.
I guess, the attributes are not exposed to the WMS but ...
2
votes
2
answers
2k
views
Showing WMS layer data and marker popup simultaneously in Leaflet
I need to show WMS layer information and if there are some marker
or other layers at the same coordinate, it should show both
data of WMS layer and marker information.
But when marker covers wms layer,...
0
votes
1
answer
279
views
On clicking over the desired polygon using getFeatureInfoUrl of openlayers 6, Why the tile layer (WMS) is showing values of the adjacent polygon?
window.onload = init;
function init(){
//Geoserver dynamic layer
// wmsSource = indialayersource
var india_dist_rainfall_layer_source = new ol.source.TileWMS({
url: "http:/...
0
votes
0
answers
302
views
GetFeatureInfo works over HTTP but not HTTPS
I have GeoServer up and running with ProxyPass allowing access over HTTPS and I have the proxy base URL set to https://maps.tellus-toolkit.com/geoserver/ Everything is working as expected apart from a ...
1
vote
1
answer
2k
views
Show all data of the WMS GeoServer layer on single click at web page using OpenLayers 6 WMS GetFeatureInfo (Tile Layer)
I have a vector layer in my GeoServer, which I want to publish on the web page.
When I open this layer manually from GeoServer, it shows the attribute table of the place/polygon, while clicking on ...
0
votes
1
answer
481
views
GetFeatureInfo is not working on multiple layer
This is my map URL: http://34.84.56.42:8080/app/
When I click on the map, I'm able not to get the information (GetFeatureInfo) of the overlay layers. I can get only GetFeatureInfo of the top layer.
I ...
0
votes
0
answers
44
views
Unable to get output for WMSGetFeatureInfo in OpenLayers
Can anyone please help me on using the WMSGetFeatureInfo in OpenLayers. I am able to add WMS Layers on top of OpenStreetMap. But while using the FeatureInfo functionality I am not getting the results. ...