Questions tagged [getfeatureinfo]

48 questions
0
votes
1 answer

How to get the nearest Feature of an leaflet WMS Map?

I am quiet new to Web Services and I am facing a problem. I have a Map linked with a WMS. I added a basemap and my WMS Date as a tileLayer and the show up correctly on my map. Now I want the nearest Feature to PopUp when I click anywhere on the…
cypherduck
  • 61
  • 7
0
votes
1 answer

Modify GetFeatureInfo request from WMS with leaflet

I have a map built with leaflet. There are three basemaps. The first one is a basic OSM map. The second and third one ('Boundaries' and 'FNP') are WMS. I want to show attributes by GetFeatureInfo from the WMS 'FNP', but just want to request the…
0
votes
0 answers

Leaflet using WMS with GetFeatureInfo

I'm trying to use WMS to generate a popup OR something similar to this: http://openlayers.org/en/latest/examples/getfeatureinfo-tile.html And I'm trying to use this plugin: https://github.com/heigeo/leaflet.wms But it is not working, I'm not really…
Elton Santos
  • 571
  • 6
  • 32
0
votes
3 answers

geoserver / leaflet / getfeatureinfo

I have a very simple question and i could not so far find a solution. I have a leaflet which gets data from Geoserver via L.TileLayer.BetterWMS.js (https://gist.github.com/rclark/6908938). When a user click in the image, get the feature data. In the…
0
votes
0 answers

Geoserver GetFeatureInfo Issue

I am using Geoserver version 2.5.2 I am having 2 different layers and both are raster/wms layers. I have configured GetFeatureInfo for both layers on click event. Layer 1: Line Layer (Single Tile = False, Loading with GWC) Layer 2: Point Layer…
Milan
  • 1
  • 1
0
votes
2 answers

get feature attributes from multiple Geoserver layers on click - open layers 3

I am trying to get attributes from multiple layers on a map click, using OpenLayers 3 and layers served from Geoserver. I found this snippet but it is using an older version of Open Layers, I haven't found anything that works the same way with Open…
JasonBK
  • 539
  • 3
  • 12
  • 37
0
votes
1 answer

Dojo Request from WMS 1.1.1 GetFeatureInfo

I am trying to get response from GetFeatureInfo of sample WMS. But getting "Unable to load…
Prasoon
  • 11
  • 1
  • 5
0
votes
2 answers

Query multiple features in multiple layers in Openlayers 3

I have been using the example shown here (https://astuntechnology.github.io/osgis-ol3-leaflet/ol3/05-WMS-INFO.html) to try and retrieve features at a coordinate from multiple TileWMS layers I have set up in my application. This example has been…
Chris
  • 647
  • 1
  • 8
  • 32
0
votes
1 answer

Reading an object's value in JavaScript

I want to get the features from my layer. So I'm requesting WMSGetFeatureInfo method after a successful request for GetFeatureInfo on my layer. The returned object is structured like this: I can read values like BEVDICHTE with var bevdichte =…
Antivist
  • 184
  • 9
0
votes
0 answers

How to change cursor for getting popups through wms getfeatureinfo?

I am building an online map app, using Openlayers, which enables popup information by clicking on features. The info was brought by wms getfeatureinfo. I wonder if there is a simple way to change the mouse cursor to, say, hand when the mouse hovers…
CathyCao
  • 11
  • 3
0
votes
0 answers

html layout changes after loading map.addPopups

I am using the WMSGetFeatureInfo control to retrieve feature attributes from geoserver and display in popups. I've setup the proxyhost at localhost and the popup is working fine now. I am using eventListeners. After it executes the last line,…
CathyCao
  • 11
  • 3
0
votes
1 answer

Point Layer WMS GetFeatureInfo failing when zoom in

I've posted this in GisStackExchange with no luck. I have a problem that i think is related with the interaction between OpenLayers and my Google map Base Layer (inconsistencies with coordinates systems, or something like that). Maybe also this…
halbano
  • 1,135
  • 14
  • 34
0
votes
1 answer

How to use WFS GetFeature to return data like wmsgetfeatureinfo?

Hello, right now I am working with Openlayers.Control.getfeature using wfs protocol to return attribute when I click one of the features in my map. I know I can use wmsgetfeatureinfo to return attributes but my server administrator disabled access…
Joan Natalie
  • 330
  • 4
  • 14
0
votes
1 answer

Extract single value from geoServer getfeatureinfo

I am trying extract a single value using getfeatureinfo. i have used the exact code given by GeoServer. map.events.register('click', map, function (e) { document.getElementById('nodelist').innerHTML = "Loading...…
0
votes
1 answer

OpenLayers getFeatureInfo WMS with huge amount of data

I am working with WMS layer, that has over a million objects. If I want to get feature info from this layer, it doesn't work, because after 2 mins the request is denied (time out). Then I tried to send request with filter option to get objects (WFS…
Gapex
  • 15
  • 7