All Questions
Tagged with getfeatureinfo javascript
6 questions with no upvoted or accepted answers
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 ...
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&...
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){
...
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 ...
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 ...
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/...