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
1
vote
0answers
18 views

Read the attributes of a WMS layer by clicking on the map

I'm trying to display a popup (containing the attribute data) by clicking on an entity in my layer with the WMSGetFeatureInfo control from OpenLayers. It's turning but without displaying the popup ...
0
votes
0answers
21 views

Display attributes information of a layer in a popup (OpenLayers) [closed]

Je suis entrain de crée un site web , je travaille avec geoserver, openlayers 2-13-1 , geoext2-1-0 , j'arrive pas à afficher la carte et la couche des provinces d'une ville . J'ai besoin d'afficher ...
0
votes
0answers
21 views

Why I can see my WMS layer but when I click on layer, OpenLayers WMSGetfeatureInfo is empty?

I added a layer to my map by WMS service, I can see my layer, but when I click on layer It seems it can't return layer attributes (info). This is my code (I did get help from OpenLayers examples): var ...
1
vote
1answer
21 views

Getinfo only returns the first cover inserted

I'm using GetInfo to view the cover information and my problem using this command is: The information displayed is not from the cover seen on the map, but from the first cover inserted in the code. I ...
0
votes
1answer
45 views

Trouble with using Freemarker to formate Date for GeoServer GetFeatureInfo

I'm having some trouble while trying to use the Freemarker Template to display dates in the desired format. I store points with a date information in a PostGIS database written through an FME-process ...
0
votes
2answers
61 views

Get attribute table from WMS GeoServer in OpenLayers

I have WMS so I can easily display it in the map, but I want to get the attribute table of the layer from WMS. All solutions I found are about getFeatureInfo which is giving properties when clicking ...
2
votes
0answers
18 views

GetFeatureInfo with leaflet.extras2 and Shiny

I am building an R Shiny App that utilizes the following WMS. However, the GetFeatureInfo capabilities for click-enabled popup (leaflet.extras2 functionality) returns a summary of the GetCapabilities. ...
0
votes
0answers
30 views

Using WMS getFeatureInfo() in shiny and leaflet

I like to get the getFeatureInfo by a click like it is mentioned in this post so that the information is shown in a popup window. I tried trevis solution but it is not working for me. If I use addWMS()...
0
votes
1answer
76 views

QGIS Server: GetFeatureInfo over WMS layer returns empty sets

I am developing a webmap application using Leaflet + QGIS Server 3.4 on a Debian platform. I have my HTML/Leaflet page ready, based on this code. Basically, the user has the choice between several ...
0
votes
0answers
32 views

Using alias name instead of field name in GetFeatureInfo in GeoServer

I've created a Leaflet map and use GetFeatureInfo to send request to GeoServer. Everything is ok but I want to use Alias field name instead of field name. Indeed I want to replace real field with ...
1
vote
1answer
62 views

OpenLayers getGetFeatureInfoUrl with dragBox in CQL

I tried to request Geoserver (2.16) WMS with the function getGetFeatureInfoUrl (From openlayers 6+) I tried this by passing the dragBox extent as a CQL filter. dragBox.on("boxend", () => { ...
0
votes
0answers
42 views

featureInfo limited to first match after qgis2web WMS export

Here's my problem: I created a WMS using PostGIS and GeoServer and integrated it into QGis. So far everything worked fine. Then I wanted to display the WMS as a webpage and exported it using qgis2web....
2
votes
2answers
152 views

How to view URL of GetFeatureInfo request in QGIS?

I have a WMS layer in QGIS. I am using the Identify Features tool to perform a GetFeatureInfo request. It retrieves the expected attribute data in the Identify Results panel. However I would like to ...
0
votes
0answers
78 views

Failed to run GetFeatureInfo and rendering coverage on the fast path error in Geoserver

My layer in geoserver was working fine before 20 days. When I used my system after 20 days for a specific layer Geoserver gave an error : Failed to run GetFeatureInfo on layer [Layer Name]. The layer ...
1
vote
1answer
120 views

WMS GetFeatureInfo request with buffer doesn't return any result (OpenLayers/MapServer)

I'm using OpenLayers 4 to build a GetFeatureInfo URL with a buffer parameter to a WMS layer in MapServer in order to find the closest feature of the layer given some specific coordinates. The problem ...
1
vote
1answer
34 views

MapServer | Cant Get WMS GetFeatureInfo To Return GeoJSON

I have MapServer serving up a whole bunch of data, and everything is working good. One area I am stuck is getting the WMS GetFeatureInfo request to return GeoJSON. Regardless of what I try, I just ...
3
votes
1answer
102 views

Why doesn't Leaflet have cross-origin error when adding WMS layer from GeoServer, but GetFeatureInfo using ajax does

I am learning web mapping with Leaflet. I added a WMS layer and now I'm trying to get feature details using ajax to send getFeatureInfo request. I'm not finished yet, and right now I just want to log ...
0
votes
1answer
58 views

GeoServer WMS GetFeatureInfo only returning one Feature?

This is how I get feature info from a group layer when clicking on the map (using WMS GetFeatureInfo): let view = this.map.getView() let viewResolution = view.getResolution(); var source = this....
0
votes
0answers
20 views

Oracle WMS GetFeatureInfo issue with points and lines

I am trying to do GetFeatureInfo request on MVDEMO sample data. When it comes to polygons, it is working fine: When I do the same type of requests on lines or points, I get an empty response: As you ...
0
votes
0answers
49 views

GetFeatureInfo with multiple TIME?

I have a GeoServer WMS with multiple layers, each with a time dimension (so its a WMS-T). I am able to query multiple layers simultaneously, but I am not able to query multiple TIME fields ...
2
votes
1answer
53 views

QGIS missing documentation about GetFeatureInfo result template

How/where to change HTML of GetFeatureInfo result? GeoServer's documentation has GetFeatureInfo Templates about changing GetFeatureInfo result template. ArcGIS's documentation has Customizing a WMS ...
1
vote
1answer
90 views

WFS DescribeFeatureType

Here I read, that the WFS-Request DescribeFeatureType requests information about an individual feature type before requesting the actual data. Because I want to inform myself about the FeatureType ...
1
vote
2answers
77 views

GetFeatureInfo template of MapServer not replacing values

I am using MapServer 7.4.2 and I am trying to setup a WMS GetFeatureInfo using OUTPUTFORMAT instead of direct TEMPLATE but variables are not replaced On MapServer file layer definition using: ...
1
vote
0answers
96 views

MapProxy GetFeatureInfo: passing additional parameter to QGIS Server

I have MapProxy Version 1.12 configured and working very well with QGIS Server 3.10. I need to use cached layers suporting GetFeatureInfo requests. But I also need to pass to additional parameters to ...
1
vote
2answers
753 views

WMS GetFeatureInfo on a popup-Leaflet

I have the below code. When I launch this in Chrome, the map with the overlay displays fine and there is no error message in the console. However, there is no response when clicking on the map. I ...
3
votes
1answer
26 views

If there are many overlapping polygons at the location of GetFeatureInfo, how can I populate a template with information about all of them?

I have a layer with water basins, actually subbasins. Some of these subbasins (polygons) contain smaller subbasins. If I click on a smaller subbasin, a GetFeatureInfo request is sent to mapserver, and ...
2
votes
0answers
64 views

MapServer merging features from layers in Template-Driven Output

I want to get WMS GetFeatureInfo result in GeoJSON format from MapServer. Result should be valid GeoJSON FeatureCollection containing array of features from one or more layers. I use Template-Driven ...
0
votes
1answer
129 views

List of overlapping WMS layers [closed]

How do I get a list of layers by clicking on overlapping WMS layers in the Leaflet map? The best solution is to have the list in a single popup on the map. <!DOCTYPE html> <html> <...
1
vote
0answers
100 views

No GetFeatureInfo response when clicking on a map in OpenLayers 2

I have the code below, however no response when clicking on the map. <!DOCTYPE html> <html lang='en'> <head> <meta charset='utf-8' /> <title>My OpenLayers Map</...
0
votes
0answers
74 views

Identify features of a group layer by GeoServer in QGIS

I encountered a strange behavior in QGIS version 3.8.1. A group layer consisting of raster, vector and PostGIS layers compiled via the GeoServer 2.15.1 is integrated as WMS into QGIS. If I want to ...
0
votes
0answers
75 views

WMS GetFeatureInfo for multiple overlapping layers at the same time (Geoserver)

I have two layers served via GeoServer: "locations and "forests". I'm using GetFeatureInfo request to query the layers like this: mysite.net/geoserver/project/wms?REQUEST=GetFeatureInfo&SERVICE=...
0
votes
1answer
300 views

How can I get GeoServer WMS layer attributes in QGIS?

I am trying to connect GeoServer wms layers in QGIS for the purpose of web mapping. The layers are shown properly in QGIS but the layers attribute that means layer information is not visible in layer ...
2
votes
1answer
70 views

GeoServer getfeatureinfo replaces HTTP href link in attribute value. Why?

We are using GeoServer (version 2.12.1) to deliver a rich HTML-attribute on the getfeatureinfo request. This allows us to add a table when the format requested is in HTML. This will of course not look ...
0
votes
1answer
237 views

Getting attribute list of a particular WMS layer and display it as a popup in OpenLayers3?

I have an OpenLayers3 map with two layers provided from local GeoServer.My requirement is to get the attribute list of one layer and display it as a pop up inside the map window. To achieve this, I ...
2
votes
3answers
297 views

Enable WMS GetFeatureInfo request in Leaflet using R?

I've been using R with Leaflet and Shiny to produce a web map that is accessible to the public online. It is a real-time air temperature map of Tasmania, Australia based on current Bureau or ...
0
votes
0answers
159 views

Requested JSON parse failed while getGetFeatureInfoUrl

I am trying to get the feature attributes from WMS service published in GeoServer and showing the attributes as a popup in the .NET application. When I make an Ajax call it gives "requested JSON ...
0
votes
1answer
76 views

Why is getGetFeatureInfoUrl failing?

Running getGetFeatureInfoUrl() against a TileWms source returns: Either no layer was queryable, or no layers were specified using QUERY_LAYERS My URL is: https://geoserver.xxx.com/geoserver/yyy/...
0
votes
0answers
92 views

WMS GetFeatureInfo JSON error

I'm trying to get informations from geoserver with AjaX jQuery of my spatial data at the clicked point using WMS GetFeatureInfo. But I have this ERROR : http://localhost:8082/geoserver/schemas/...
1
vote
1answer
127 views

Qgis2web WMS popup on everywhere click on map [closed]

i have generate a web map by using qgis2web plugin. The map contain 2 wms layers from my geoserver and one OSM basemap. the popup working nicely when click on the feature. but there is empty popup ...
0
votes
0answers
47 views

OpenLayers 2.13.1 WMSGetFeatureInfo not working on mobile

I'm using OpenLayers in version 2.13.1. On desktops everything is OK, alert is showing when I click on route. But on mobiles it is not working, probably touch event is not triggered. var infoControl =...
0
votes
0answers
340 views

On click GeoServer WMS layer features in ArcGIS JS API

I am consuming a GeoServer WMS layer in ArcGIS JavaScript API. I am successfully able to display layer. Now I am not able to get layer info on map click or layer click. Below is code using to add ...
0
votes
1answer
425 views

getFeatureInfo in OpenLayers using text/javascript returns unselectable popup

I am trying to make a getFeatureInfo request (OL4) and display a popup with data, that come from a geoserver layer. Initially I did this: map.on('click', function (evt) { var ...
0
votes
0answers
102 views

Rounding values of a raster dataset in a GetFeatureInfo response

Is there a way to round decimals of floating values for a GetFeatureInfo request from a raster (geotiff) in Geoserver? I would like to round up values to 2 decimals instead of 15. Is this something I ...
2
votes
1answer
317 views

GetFeatureInfo on GeoServer - what parameters/variables are available

I am customizing the HTML response from GetFeatureInfo on GeoServer. GeoServer uses freemarker templates (content.ftl) to build the HTML response. The attributes are available as a list. Since the ...
3
votes
2answers
321 views

Making WMS GetFeatureInfo request gives Invalidpoint response?

When I make a GetFeatureInfo request to a WMS service, I get an invalid point response. I wonder what is missing from my request. My Layer definition : var Parcels = new TileLayer({ name: '...
0
votes
0answers
278 views

GeoServer WMS layers (with data) on same region of OpenLayers 3

There are 3 layers (image and tile) from GeoServer and sits on top of each other. Now I need to read data from these three different layers in UI (jsp). <%@ page language="java" contentType="text/...
0
votes
1answer
83 views

In CMV how do I use identify on a wms?

I've added an wms operational layer, I wonder if it's possible to add identify support, any samples will be helpful { type: 'wms', url: 'http://...../geoserver/service_name/...
1
vote
1answer
171 views

How to avoid empty popups when GetFeatureInfo request is empty

I set up a WMS with QGIS SERVER. I am querying it via a web app based on OpenLayers. Everytime I click on my map, I send a GetFeatureInfo to a specific layer passing the coordinates where I clicked, ...
1
vote
2answers
395 views

Uncaught SyntaxError: Unexpected token < (Geoserver popup in leaflet using ajax)

I am trying to show attribute information of features in a popup from my postGIS db tables via Geoserver WMS. I have successfully been able to add these layers to the map. However, when I try to grab ...
0
votes
1answer
66 views

Query SEPA server for river data

The Scottish Environmental Protection Agency has an ARCGis server with river data I'd like to query. https://map.environment.gov.scot/sewebmap/?layers=riverClass At this URL it shows what I want to ...

1
2 3 4 5 6