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
29 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
18 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
1answer
39 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
48 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
49 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 ...
0
votes
0answers
56 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
0answers
35 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
67 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
39 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
141 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
228 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
51 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
150 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
182 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
108 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
63 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
104 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
222 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
33 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
vote
1answer
400 views

GetFeatureInfo from Image WMS

I have a problem with GetFeatureInfo (I'm working with openlayers). In my HTML file I have this: <div id="map" class="jumbotron"> <h1>Sieraków <span class="badge badge-...
1
vote
0answers
64 views

MapProxy - Is it possible to get uniform WMS GetfeatureInfo info_format?

This is my very first mapproxy tagged question, so I hope it makes sense. I am developing a WebGIS client in my spare time, and now I am mainly focusing on my first type of OGC service: WMS. ...
1
vote
1answer
528 views

QGIS - How to display item info on popup with a click

I have many items on different shapefile (parks, railways, buses...). Every shape as a join with an attribute table and each table contains data by line. How can I generate a pop-up by clicking on ...
0
votes
1answer
904 views

GetFeatureInfo on mouse hover on feature in OpenLayers 3

I am able to get popup onclick on the feature but want to get popup also on mouse hover on the feature (polygon,point). Can anyone help me out. For onclick I used below code - var feature_onClick; ...
5
votes
1answer
218 views

Change data source encoding of GetFeatureInfo response for a WMS in QGIS

How do I change the data source encoding of the GetFeatureInfo Request of a WMS-Layer in QGIS 2.18.x/3.x? I can't find any setting to handle the encoding. I need UTF-8 encoding for special characters ...
3
votes
0answers
211 views

Geoserver GetFeatureInfo with time range

I've been building a WMS service for time series data following this tutorial: http://docs.geoserver.org/latest/en/user/tutorials/imagemosaic_timeseries/imagemosaic_timeseries.html Everything is ...
0
votes
1answer
90 views

Normalizing or parsing feature info from GeoServer?

I'm building a website to visualize layers from services on an OpenLayers Map. The services come from different geoservers some of them which I don't own. All services are WMS and don't have WFS. I ...
2
votes
2answers
640 views

Getting FeatureCollection id in Google Earth Engine

How can I get the 'id' field shown when I print a FeatureCollection in Google Earth Engine? I tried get('id') or get('system:index') but it didn't work (returns null).
0
votes
0answers
123 views

Find the nearest point to take through GeoServer using GetFeatureInfo

We developed own street view functions with our 360 degree photos. We have lots of points to show photos take places on map. If click on these points, you can see photos as 360 degree like Google ...
1
vote
1answer
340 views

GetFeatureInfo returns “no layers queryable” [closed]

I'm not able to get information with "GetFeatureInfo" request. I'm getting following reply: "Either no layer was queryable, or no layers were specified using QUERY_LAYERS" I made sure that my WMS (...
0
votes
1answer
453 views

Get single popup onclick different WMS layers using OpenLayers 3

I am trying to develop a web mapping application. I have more than two WMS layers and trying to GetFeatureInfo onclick the layer. I tried the answer posted on this link. But whenever I click on one ...
0
votes
1answer
293 views

OpenLayers getGetFeatureInfoUrl in other projections

My data is in SRS EPSG:4326. My map (view/layers) are in the default EPSG:3857. I want to just work in the data projection and would like to query a feature on map click with my data projection ...
0
votes
0answers
25 views

OSM and code not re-centering

I am modifying the codes from http://dev.openlayers.org/examples/getfeatureinfo-popup.html and https://www.e-education.psu.edu/geog585/node/783 integrating osm tiles as base map. The modified code ...
3
votes
2answers
925 views

Is it possible to do a GetFeatureInfo request using WMTS?

I currently have an interactive map with multiple layers based on the WMS protocol, which has been working fairly well. I use GeoServer to serve the layers and OpenLayers for the front-end. My problem ...
0
votes
0answers
397 views

GetFeatureInfo for multiple layers in OpenLayers 4

I have four WMS layers however, only the first layer loaded is identifying. I have loaded the layers individually and have the layer-switcher to enable individual layer switching, can someone advise ...
7
votes
2answers
360 views

Capture click while drawing a LineString in openlayers and query GeoServer WMS

While drawing a LineString in OpenLayers version 4.6.5, I would like to hook into the clicking of each point, and make an ajax call to a backend WMS service (geoserver). If a Feature on the Tile ...
0
votes
1answer
183 views

Filter getInfo request

Following this example and according to Leaflet WMS documentation I extended L.WMS.Source class and overwrote hooks (e.g. showFeatureInfo). My example can be found here. When I use the code as ...
0
votes
2answers
209 views

Width and Height of GetFeatureInfoUrl request with Openlayers 4.x and Geoserver

When I make a getGetFeatureInfoUrl request with OpenLayers 4.x, Geoserver 2.10.1 and WMS 1.3.0 with the code below, the width and height returned default to 256. var url = lyr.getSource()....
2
votes
0answers
198 views

QGIS server ignores GetFeatureInfo request tolerance

I'm using getGetFeatureInfoUrl to retrieve features from a WMS layer. Tolerance is a server side parameter, QGIS server offers optional parameters to define the tolerance for point, line and polygon ...
1
vote
0answers
37 views

Connect multiple WMS layers in CARTO querying to GetFeatureInfo [closed]

Connect multiple WMS layers in CARTO querying to GetFeatureInfo. How do I get GetFeatureInfo information from the attached WMS layer?
1
vote
0answers
257 views

NASA Web WorldWind - WMS GetFeatureInfo request

I have been looking for ways to make a WMS GetFeatureInfo request using the API of NASA Web WorldWind, however have not achieved yet. I tried picking as below, however this doesn't return the features ...
1
vote
1answer
337 views

Blank Popup when clicking on the map Leaflet-WMS

I created an interactive map using Leaflet, when I click on my layers I can get data in popup, my problem is that when I click on the map where there are no features it shows a blank popup. I want to ...
1
vote
1answer
129 views

Geoserver SLD string functions for GetFeatureInfo requests

I have several Geoserver WMS layers styled with SLD. I also run GetFeatureInfo requests against those layers. My understanding is that Geoserver checks the layer's SLD rules even for GetFeatureInfo ...
1
vote
1answer
2k views

WMS GetFeatureInfo request in Leaflet/Geoserver

It's my first webmapping application using GEOSERVER & LEAFLET. I have 5 overlay layers and i want to show features of each layer using this code : map.addEventListener('click', onMapClick); ...
0
votes
0answers
179 views

Converting a WMS GetFeatureInfo's specific feature as hyperlink through GeoExt

I'm tying to develop a WMS GetFeatureInfo query using GeoExt, OpenLayers and GeoServer and I want a hyperlink to be displayed on the popup window in a specific column. I have created the service but ...
2
votes
0answers
146 views

GeoWebCache 1.11.0 application/json not supported for GetFeatureInfo

I have been trying to find out whether or not I can serve a response to a GetFeatureInfo request from my GeoWebCache in a JSON format, but I have been coming up empty. My capabilities list doesn't ...
0
votes
1answer
307 views

GeoServer GetFeatureInfo returns plain text result

I want to send GetFeatureInfo request to my GeoServer and get response as JSON. My query string parameters are like this: request:GetFeatureInfo service:WMS info_format:application/json exceptions:...
1
vote
1answer
303 views

Restricting WMS GetFeatureInfo properties in OpenLayers

I am working on a WMS-based OpenLayers project, which is pulling in data from the BGS WMS Servers. We're pulling the 1:50k bedrock layer from this WMS: https://map.bgs.ac.uk/arcgis/services/...
1
vote
2answers
330 views

How to prevent popup when there is no feature

I use OL3 together with geoserver to display one WMS layer. Then I use the GetFeatureInfo to display some of the data on button click. I want to prevent to show the popup when I click outside the ...
2
votes
1answer
384 views

getGetFeatureInfoUrl Hit-detection tolerance

I'm using getGetFeatureInfoUrl to retrieve features from a WMS layer like that: var url = wmsSource.getGetFeatureInfoUrl( evt.coordinate, viewResolution, 'EPSG:3857', {'INFO_FORMAT': 'text/xml'} )...
0
votes
1answer
112 views

Javascript Convert WMS url to coordinate?

I'm looking for some hints (Javascript custom function or openlayers 4 function) ...) that can help me to convert a wms response URL parameters to get my click coordinates. Here an example of url to ...