Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [getfeatureinfo]

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

0
votes
0answers
25 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
59 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
30 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
47 views

Getfeatureinfo on GeoServer - what parameters/variables are available

I am customizing the html response from getfeatureinfo on GeoServer. GeoServer uses the the freemarker templates (content.ftl) to build the HTML response. The attributes are available as a list. ...
3
votes
2answers
72 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
35 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
22 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
45 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
92 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
21 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
122 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
52 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
196 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
299 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
146 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 ...
2
votes
0answers
126 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
63 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 ...
1
vote
2answers
192 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
100 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
201 views

Geoserver | GetFeatureInfo returns “no layers queryable”

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

Get features from ArcGIS WMS layer

I am trying to get features from WMS point layer using GetFeatureInfo as mentioned in WMS Polygon Layer With GetFeatureInfo. For point layer not getting results. I have doubt that they are passing X ...
0
votes
1answer
303 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
205 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
23 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
651 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
285 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
277 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
152 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
131 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
151 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
35 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
218 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
254 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
103 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
1k 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
145 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
127 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
241 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
244 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
261 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
302 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
95 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 ...
1
vote
1answer
157 views

GetFeatureInfo doesn't return anything

I'm attempting to display some properties from the points on my map. I'm using the example provided on the geoserver site: http://openlayers.org/en/latest/examples/getfeatureinfo-image.html?mode=raw. ...
3
votes
1answer
89 views

Replace a character in the GetFeatureInfo response

I'm having a lot of floating point raster datasets in GeoServer. GeoServer automatically uses a dot (.) to separate the decimals of a value. Is it possible to change this into a comma (,)? Either ...
0
votes
1answer
474 views

OpenLayers 3 getGetFeatureInfoUrl url is always undefined

I want to show the features of a layer from a GeoServer WMS at the point where I click with OpenLayers 3. I used this tutorial but when I use my own server the URL that getGetFeatureInfoUrl returns is ...
1
vote
0answers
90 views

Drawing GML data in OpenLayers2

I have a simple application that uses OpenLayers 2.13.1 to draw GML data pasted in a text box. There is already some default GML preloaded in textarea and it works fine. When you press "Add feature" ...
1
vote
0answers
62 views

Geoserver - raster layer title in getfeatureinfo template

Relatively new to GeoServer, moving from MapServer and I'm trying to generate a GetFeatureInfo template for a raster layer. I'm trying to pull in the layer title via "${feature.type.title}", which ...
0
votes
0answers
246 views

getGetFeatureInfoUrl click Tolerance

I'm getting information​ about my layers through a getGetFeatureInfoUrl, and my problem is that is has some sort of tolerance which doesn't fit my need. When I click near the feature but outside it, ...
1
vote
0answers
176 views

Display a popup (getFeatureInfo) with Leaflet [duplicate]

I want to display WMS layers in a webmapping application built with Leaflet (version 0.7). Layers (ArcGIS shape format) are stored in GeoServer (version 2.10.0) in a public domain workspace. I got it ...
0
votes
0answers
125 views

GetFeatureInfoUrl is not working

I want to use GetFeatureInfo in WMS layer. I have got some code but it shows only a blank window, and there is not​ any error. This is the code link https://jsfiddle.net/seema30/LtcvhLwf/.