Tagged Questions
0
votes
0answers
42 views
Customize display of WMS GetFeatureInfo results
i have a popup that get the featureInfo on the map, what i want to do is to customize the display of the WMS GetInfo Results, i don't want to avoid automatic alphabetic sortingof the attribute ...
1
vote
0answers
31 views
Restrict featureinfo fetched with the WMSGetFeatureInfo request in geoserver
i followed a GeoEXT example to create popup menu that gets WMSFeatureinfo on click on the map, What i want to do is to get some specific fields not all the fields, i try the propertyName (with ...
0
votes
1answer
174 views
Openlayers & WMS - GetFeatureInfo problem
I'm making a small project but I encounter some problems. Let me explain that : Having generated mapfile with mapserver and they are viewable by the openlayers interface, I would like to make me ...
0
votes
1answer
59 views
WMS - Export Retrieved XML Data
I use WMS layer in my app and could successfully retrieved Feature Info by click like so: http://openlayers.org/dev/examples/getfeatureinfo-control.html
My question is: Is there any way to export the ...
0
votes
1answer
93 views
uncaught typeerror: undefined is not a function
Using some examples from internet, I found this code that shows WMSGetfeatureinfo
I don't know where's the problem:
Here goes my code:
<!DOCTYPE HTML>
<meta http-equiv="Content-Type" ...
0
votes
0answers
70 views
GetFeatureInfo Pop up - Openlayers/GeoServer
I am an OL and GeoServer newbie. I've been trawling the net looking for guidance on how to code a GetFetureInfo request in OpenLayers to retrieve attribute information from a GeoServer WMS running on ...
1
vote
2answers
50 views
How to specify layer getWMSInfo when click feature on map (getWMSInfo with multiple layers)
i'm using getWMSFeatureInfo with multiple layers (point)!
When i click a point on map, how to specify point clicked belong to any layer??
1
vote
0answers
104 views
Get info from WMS layer with Openlayers mobile
I am trying to build a webapp for iPad using OpenLayers Mobile. One of the features it should have is that you can tap on a tree displayed on a basemap and get info about this tree. These trees are ...
0
votes
1answer
255 views
I create getfeatureinfo with popup but it dosn't work (error 404) [duplicate]
This is my code for my page (index.html)
info = new OpenLayers.Control.WMSGetFeatureInfo({
url: 'http://localhost:8080/geoserver/wms',
title: 'get feature info',
...
0
votes
0answers
125 views
Get feature from two overlapping KML layers doesn't work
I did an implementation similar to http://openlayers.org/dev/examples/sundials.html
The difference is that I have two or more kml layers at the same location and want to show their information ...
0
votes
0answers
135 views
WMS getfeatureinfo() giving incorrect result
I am using openlayers and Geoserver. I have created a base layer using OSM and then added wms layer topp:states. I want to show a world map and on that show US states. I have added onclick ...
0
votes
1answer
116 views
prevent popup from appearing when clicking outside wms layer
Any help with this would be appreciated. I am projecting a WMS-layer on a map using OpenLayers and Geoserver. The next thing I want to do is to display info on any given feature in my WMS-layer in a ...
2
votes
2answers
450 views
GetFeatureInfo doesn't work!
I'm new at openlayers and I am having some trouble when trying to display the feature info.
I have the map working, with the layers I want to add in, but it seems that when I try to ask for the info ...
0
votes
0answers
319 views
WMS GetFeatureInfo; multiple layers, different sources
I'm developing a web application using GeoExt, OpenLayers and having my own GeoServer to serve various maps. Still, I want to let the user add other WMS's if needed, to be able to play around with all ...
1
vote
1answer
492 views
How can I add an infowindow to an OpenLayers GeoJSON layer?
In my OpenLayers script I refer to an geojson layer. Is it possible to add an info window?If yes, how can I create this. Script is as follows:
var lon = 5,
lat = 52,
zoom = 7,
epsg4326 = ...
1
vote
1answer
1k views
How to use getfeatureinfo with MapServer and OpenLayers?
I'm trying to use the getfeatureinfo function of Openlayers with MapServer. When I click on a point on my map, I get the following error in Firebug:
<?xml version='1.0' encoding="ISO-8859-1" ...
1
vote
1answer
953 views
How to get feature info from wms layer
I have used your code for picking feature info from wms layer using WMSGetFeatureInofo function.I have used you this link.
...
1
vote
1answer
299 views
Creating a GeoExt Action from OpenLayers Function
I am trying to create a GeoExt function out of this OpenLayers function, which displays the getFeatureInfo.
I was able to create this GeoExt.Action() but it does not give me any output. Any idea ...
5
votes
2answers
2k views
OpenLayers custom request for WMS GetFeatureInfo
In OpenLayers, there is a WMSGetFeatureInfo control that can be attached to a layer and listen to click or hover events on the map, requesting info on the feature being currently clicked (or pointed) ...
1
vote
1answer
154 views
How show some fields only when using WMSGetFeatureInfo?
How to show some important field only when using WMSGetFeatureInfo.I use this example.
When I click on maps it show all the fields of attribute table.What part should I modify in above mentioned code.
...
1
vote
2answers
465 views
Prevent layer from WMSGetFeatureInfo request on openlayers web map
I use this example code get feature info from my openlayers web map.I add 4 layers to map including raster image as base map.
But i don't need feature info from that raster layer.But when clicking on ...
1
vote
1answer
583 views
Displaying Feature Info for a user defined polygon
To retrieve feature info for a polygon selection, I have the OpenLayers code below:
var featureTypes = ["nig_admin1", "nig_admin2", "nig_admin3", "nig_landscan"];
var populationCtrl ...
2
votes
3answers
1k views
OpenLayers GetFeatureInfo for GeoServer Layer Groups
I've created a GeoServer layer group. I'm using OpenLayers.Layer.WMS to retrieve the layer group, and this works fine. In addition, I'd like to pull feature info for the layer. For this, I'm using ...
1
vote
1answer
890 views
How to use cql_filter in OpenLayers.Control.WMSGetFeatureInfo?
I am a newbie and I am using OpenLayers, GeoServer 2.1.3. I have a
function that works to filter the markers on the map with a CQL_FILTER
function. But when I click on a marker it shows a popup with
...
1
vote
3answers
1k views
WMSGetFeatureInfo not showing in Firefox and chrome
This code set works for me in IE but not in Firefox and chrome.What is the problem? Map is showing in all browsers ,but when i click on point of map nothing showing in Firefox and chrome.
Welcome ...
5
votes
3answers
1k views
WMS GetFeatureInfo and CQL on Multiple Layers
I am having issues with querying CQL filtered layers with OpenLayers and GeoServer, using the GetFeatureInfo control. It is ignoring the CQL filter and just querying the entire layer (as evidenced by ...
3
votes
2answers
3k views
Use OpenLayers WMSGetFeatureInfo on Mapserver Layer?
I'm able to use OpenLayers' OpenLayers.Layer.Mapserver declaration to generate a raster from GRIB data. I've read in the MapServer docs and on forums that it should be possible to get point ...
2
votes
0answers
912 views
How to deactive Vector Selection In OpenLayers wms features
This is my sample code and work fine :), But I have a little problem,
I'm using multiple layer (WMS), when I zooming the layer will be shown or hidden.
In my example bellow when OpenLayers level zoom ...
6
votes
1answer
2k views
How to select multiple Features from multiple Layers in OpenLayers?
Is there a way to select multiple features from multiple vector layers by using clickTolerance in click?
I checked the documents of getFeature control and selectFeature control, seems not work in ...
1
vote
1answer
2k views
WMS Request Returns nothing with Geoserver
I'm having trouble with a select feature example in Geoserver and open layers. For some reason the request returns nothing.
Here's the stripped down version that produces this:
I have a small wms ...
2
votes
1answer
2k views
'Select' and 'hover over' features are not working although no error is displayed (openlayers)
On the following html code i get no errors when i check it on firebug.
When i select or hover over features i want to see them "highlighted".
When i move my cursor onto a feature i can see that ...
7
votes
4answers
6k views
How to select fields returned by GeoServer WMS GetFeatureInfo request?
I'm running simple local mapping service based on PostGIS/GeoServer/OpenLayers stack.
Following opengeo tutorial I've tied click events in OpenLayers to WMS GetFeatureInfo call using:
...


