Skip to main content

Questions tagged [getfeatureinfo]

A WMS (Web Map Service) request that retrieves data, for a pixel location on a map.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

ArcGIS Online WMS GetFeatureInfo request

At the moment I'm trying to add a WMS in ArcGIS Online and I can't seem to figure out how to make a GetFeatureInfo call. Using it in the URL does not work for me as ArcGIS Online does not accept this ...
spatialNB's user avatar
0 votes
1 answer
45 views

Uncaught TypeError: wmsLayers.getSource is not a function

wms appears but when clicked an error appears like this and the popup does not appear I want to use WMS GetFeatureInfo (Tile Layer) whose info is taken from WMS Geoserver to display popup information ...
user238348's user avatar
0 votes
1 answer
402 views

OpenLayers add features to vectorLayer from GetFeatureInfo query in TypeScript

Stack: OpenLayers 8.2.0, Typescript 5.3.3, GeoServer 2.22 Goal: Clicking on a map triggers a GetFeatureInfo request which returns feature info (correctly displayed) and geometries. I would like to ...
FloCAD's user avatar
  • 33
0 votes
0 answers
30 views

GetFeatureInfo problem with .ftl and .sld

I'm configuring a WMS that exposes measurements read from GRIB files. I initially configured the layer that uses the default style (Raster.sld), then I configured two .ftl files to change the display ...
Marco Maisano's user avatar
0 votes
1 answer
54 views

Leaflet plugin Leaflet-WMS.js Gives sometimes weird x-y coodinates [closed]

I am adding a Point-WMS-TileLayer to a Leaflet-Map. In addition I am using Leaflet-WMS plugin to get a onClick a Map-PopUp with the specific GetFeatureInfo for the clicked Point. If the Sites load and ...
jules2703's user avatar
4 votes
2 answers
248 views

QGIS identify tool is not aware of all available INFO_FORMAT parameters in the WMS GetFeatureInfo capabilities

When using a WMS service providing the following GetFeatureInfo capabilities: Why does QGIS (3.32.3-Lima at the time of writing) only offer two formats (text/xml; subtype=gml/3.2.1 and text/plain) ...
swiss_knight's user avatar
  • 10.4k
0 votes
1 answer
108 views

Extract/retrieve projection from a ESRI File Geodatabase (gdb) using QGIS

I downloaded a .gdb file (file size is 39Gb) from FEMA Harvey Flood Depth Grid. As I understand, the file gdb file is used to generate the 3x3 flood depth grid shown at the attached picture. k.imgur....
Sung's user avatar
  • 1
0 votes
4 answers
612 views

How to get a WMS GetFeatureInfo response with MapServer in JSON format?

I use Mapserver with the Leaflet JS library and I want to display some attributes informations of a raster file by clicking on the map. Therefore I use the GetFeatureInfo WMS request in order to ...
Julien's user avatar
  • 131
0 votes
1 answer
66 views

Publish the band descriptions from a TIFF in a WMS service with GeoServer

I have a multiband TIFF, where each band represents a time slice of a dataset. The date of each band is stored in the Band Description. See the output from gdalinfo here: Band 1 Block=476x1 Type=...
staf's user avatar
  • 326
1 vote
0 answers
47 views

Getting WMS layer data using OpenLayers

I want to fetch WMS data but not for one feature. I want all the data fetched. I want all the table of attributes of the shapefile itself. const municipalitiesLocal = new TileLayer({ source: new ...
Sergio Merdani's user avatar
0 votes
1 answer
101 views

Problem with GetFeatureInfo request on INSPIRE cadastre using Leaflet

Using Leaflet with the https://github.com/heigeo/leaflet.wms library, I have problems with GetFeatureInfo on the WMS INSPIRE cadastre. However the normal WMS works without problems. In the case of ...
paralosreg's user avatar
0 votes
0 answers
45 views

GetFeatureInfo not working in R with leaflet.extras2

leaflet.extras2 provides a working example for clicking on a feature and displaying its attributes; however, when I try to run it with my geoserver it doesn't display attributes, I assume there's a ...
Elio Diaz's user avatar
  • 3,486
0 votes
0 answers
33 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:...
stefano_rizzo's user avatar
0 votes
0 answers
234 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 ...
FloCAD's user avatar
  • 33
2 votes
1 answer
399 views

Calculating distance between two point layers based on matching ID using QGIS

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 ...
MrBeardo's user avatar
0 votes
1 answer
630 views

Pick data from WMS layer

I have a cadastral map as WMS in QGIS. Using the QGIS tool "Identify Features" I can click at the map and view a HTML table showing the cadastral number: Is there any way I can pick that ...
Morten's user avatar
  • 183
1 vote
1 answer
505 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&...
user2727167's user avatar
2 votes
0 answers
142 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 ...
Jayzz's user avatar
  • 85
0 votes
1 answer
116 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 ...
Jayzz's user avatar
  • 85
0 votes
0 answers
89 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 ...
user68481's user avatar
0 votes
1 answer
228 views

GeoServer Error getFeatureinfo when I click to any geometry in preview layer

I have a layer on GeoServer in preview layer. I see geometry of my layer but when I click to display data, it shows me this error. Any idea how to solve it? java.io.IOException: Schema '...
resuk's user avatar
  • 51
2 votes
2 answers
262 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 ...
jpinilla's user avatar
  • 3,230
0 votes
1 answer
341 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()...
geraldo's user avatar
  • 960
0 votes
1 answer
474 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 ...
Jayzz's user avatar
  • 85
-2 votes
1 answer
583 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 ...
Danamaita's user avatar
2 votes
1 answer
253 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?
joe_gerner's user avatar
2 votes
1 answer
3k 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 ...
Cheshire Cat's user avatar
1 vote
1 answer
393 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. ...
jpinilla's user avatar
  • 3,230
1 vote
0 answers
502 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,...
DataKek's user avatar
  • 11
1 vote
1 answer
189 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 ...
firstlord's user avatar
  • 149
0 votes
1 answer
350 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 = '...
jpinilla's user avatar
  • 3,230
3 votes
3 answers
343 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 ...
rss's user avatar
  • 61
3 votes
1 answer
305 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 -...
domiSchenk's user avatar
0 votes
1 answer
689 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 ...
Naomi's user avatar
  • 41
3 votes
2 answers
525 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: ...
Jucjon's user avatar
  • 93
1 vote
1 answer
149 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. ...
giscoder12's user avatar
2 votes
1 answer
627 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/...
Walker's user avatar
  • 301
0 votes
2 answers
1k 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 ...
Shakil Hossain's user avatar
2 votes
1 answer
130 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 ...
Benjamin Mikkelsen's user avatar
0 votes
1 answer
298 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 ...
giscoder12's user avatar
1 vote
0 answers
168 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 "...
joe_gerner's user avatar
1 vote
2 answers
639 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'...
henrykodev's user avatar
1 vote
1 answer
362 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 ...
SvenTUM's user avatar
  • 151
3 votes
2 answers
332 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 ...
Tom Chadwin's user avatar
  • 5,852
1 vote
1 answer
646 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 ...
Steven Grether's user avatar
1 vote
1 answer
425 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 ...
Melanie's user avatar
  • 159
2 votes
1 answer
388 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, ...
Melanie's user avatar
  • 159
2 votes
2 answers
2k 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: ...
Gonzalo Aspee's user avatar
1 vote
1 answer
563 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,...
amin's user avatar
  • 67
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', ...
Nelson Vilanculos's user avatar

1
2 3 4 5
7