Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
364 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
  • 1,000
1 vote
1 answer
602 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
505 views

Get feature of point shapefile for WMS created in GeoServer?

I created a WMS from a polygon shapefile in GeoServer and next I created a WMS from a point shapefile. Then I wrote HTML code that add WMS polygon and shapefile on a base map and that is done, but I ...
Mohamad Marjani's user avatar
3 votes
0 answers
383 views

GetFeatureInfo of a specific GeoServer layer by selecting it from a set of GeoServer layergroup

I have multiple Geoserver layers, suppose 2 here (Rainfall and Maximum Temperature) and I want to extract the feature of that layer which I check/switch in the sidebar, But for now I just get the ...
Abhilash Singh Chauhan's user avatar
1 vote
1 answer
56 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 ...
Dany's user avatar
  • 11
0 votes
1 answer
1k 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 ...
user6748530's user avatar
0 votes
0 answers
487 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/...
Saifeddine Farjallah's user avatar
1 vote
1 answer
3k 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-...
Emil Majer's user avatar
0 votes
1 answer
222 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 ...
PEL's user avatar
  • 374
0 votes
1 answer
1k views

Showing OpenLayers 3 popup for a specific layer

I am trying to get the information through a WMS stream for a single layer, but when I click on any point on the map my popup appears empty. map.on('singleclick', function(evt) { // Hide existing ...
BORUSSEN11's user avatar
2 votes
1 answer
201 views

How to get the previously added layer information for getGetFeatureInfoUrl?

I am able to fetch the getGetFeatureInfoUrl for the currently selected layer, is it possible to fetch the last added layer FeatureInfo on the map? My code currently is: <!DOCTYPE html> <...
user28536's user avatar
  • 421
2 votes
1 answer
2k views

Add all features to a popup using in Leaflet using WMS GetFeatureInfo

I'm using the function below to successfully add data to a popup in Leaflet. Unfortunately, only the data from the last feature found is added. Is there any way to add the data from all features ...
Matt T's user avatar
  • 708
2 votes
0 answers
99 views

non-existing attributes in getfeatureinfo when attribute value is empty

I am trying to build a table in javascript from getfeatureinfo. I do this by this code: function showInfo(evt) { var f = 0; var temstr = ""; if(evt.features.length != 0){ ...
user30058's user avatar
  • 419
1 vote
2 answers
2k views

openlayers-3 popup getfeatureinfo

I'm Working on a map and I want to put popups to show information about each queryable layer. This is what I've got so far, but I can't make it work. HTML: <section class="visualizador" id="...
Francesc Cañas Soler's user avatar
1 vote
1 answer
845 views

scripting getfeatureinfo for multiple wms layers

I am not really a programmer and I'm trying to create a webservice. I copy and pasted some script examples which made my script what it is now. I have multiple wms layers, but want to show different ...
user30058's user avatar
  • 419
2 votes
0 answers
404 views

WMSGetFeatureInfo from two WMS layers with different parameters

I have a map with two layers, which can (and almost always do) overlap. These layers are WMS from GeoServer using SQL views (POSTGIS). They use the same query but with a different parameter. My hover ...
Andy Nichols's user avatar
1 vote
1 answer
632 views

Simple popup for multiple WMS

I have multiple WMS in OpenLayers with a layer switcher and can be turned on and off. Now I have an image of each WMS, what I want is to show image of each WMS on click OF that corresponding WMS. ...
Ahsan Mukhtar's user avatar
-1 votes
2 answers
2k views

How to display the attribute table of the map using Leaflet

I'm developing a Leaflet application. For that I want to display the complete attribute table of a particular WMS layer using Leaflet. Is it possible that we can do that?
Shiva's user avatar
  • 89
2 votes
1 answer
3k views

Convert Leaflet WMS layer to Leaflet GeoJSON layer

Using the Leaflet API I am adding a WMS layer through the L.tilelayer.WMS feature. This feature includes only a certain amount of options such as 'layers','crs','style' etc. Through the Leaflet ...
Jelle's user avatar
  • 371
2 votes
1 answer
514 views

OpenLayers3 get feature request for more than one point in the same place

I created a map that brings up a popup overlay on click, the JSFiddle is here. The only issue I have now is if I have two points in the same location it. As you can see with the Birmingham point, ...
Joshua Dickerson's user avatar
1 vote
1 answer
320 views

Merging OpenLayers3 overlay with a get feature on click command that closes

I have this JSFiddle that is working fine on its own to select cities in the UK. I have then taken this OpenLayers3 example and put it into a JSFiddle. I am looking to combine the two so I have a ...
Joshua Dickerson's user avatar
0 votes
1 answer
86 views

What kind of different results or what is the difference between two URL based WMS requests [closed]

I am trying to retrieve some WMS layers from geoserver so that I can display them in leaflet and I need to populate a URL field and I noticed that many of the layers that I opened up in openlayers had ...
Carl Carlson's user avatar
3 votes
0 answers
569 views

Format tilelayer.wms URL properties such that I add an overlay iteratively to my base map in Leaflet

My base map was created using hard-coded template variables. I am using the leaflet tilelayer.wms constructor and including the URL like so: url: "http://localhost:8080/geoserver/sf/wmsservice=WMS&...
Carl Carlson's user avatar