0
votes
0answers
45 views

how to easily serve vector layer with extra attributes for openlayers

On a website I'd like to show an openstreetmap with buildings colored by a certain feature (tag). So far I was able to extract the buildings for a bounding box, save them as an osm file and load it ...
2
votes
1answer
146 views

How can one read the response of a GetFeature request with Openlayers?

I am using Openlayers to send a GetFeature request to Geoserver. With the help of Firebug I can see that the response contains some of the attribute data I need. I am interested in showing some ...
2
votes
0answers
70 views

Save WFS layers multiple records with geoext editor grid

How can I save multiple records after modification with geoext editor grid? The saving is working fine if I modify only one of the records, but it fails when I try to save multiple modifications. I ...
1
vote
1answer
147 views

How I can insert feature attribute after feature drawing complete

I am new to OpenLayers. I am trying to insert wfs feature information to my map after drawing like this. I can draw a WFS feature like (polygon, line, point) on map and after drawing the feature ...
0
votes
0answers
147 views

Show live attribute when hover in a map

i'm still new in openlayers. i would like to show "location" attribute on right corner of the map when hover in map. my map consist of of many attributes and one of them is location. how can i ...
0
votes
0answers
78 views

Get Features From GeoServer Server Using Attribute

Can anyone explain how to query features from GeoServer into an OpenLayers map using an attribute value? Here is what I need to do; 1) A user enters a number or multiple numbers for polygons they ...
0
votes
1answer
241 views

access attribute values in openlayers rule

I have a webgis where i use openlayers and i'm trying to make a FOR loop to generate a series of rules for my POI layer. I have tried just like that: http://pastebin.com/CTuiWd4V My problem is that ...
0
votes
2answers
3k views

OpenLayers Select a feature from attribute or id

Using Openlayers.....Is it possible to select a feature on a map by an attribute? eg: Select a feature from a dropdown menu populated with the feature "id" or a table field attribute values.
0
votes
3answers
668 views

KML attribute data on onload of html page using openlayers

How to get KML attribute data on onload of html page using openlayers. This is kml file: click here to get kml file Any help is appreciated. Thanks in advance.
1
vote
2answers
240 views

Select KML feature with specific attribute

Im using Openlayers, and importing polygon data to the map with KML files. How could i select the feature which has the attribute name="TEST" ? KML def: <Placemark> ...
4
votes
2answers
2k views

How to collect data via WFS and Popup

I have a map with a WFS-Layer and I am able to add Polygons to my data stored in a PostGIS-database, served with Geoserver (Openlayers, Geoserver 2.1.4, PostGIS 2.0 for PostgreSQL 9.1).) How can I ...
0
votes
1answer
2k views

How to Obtain the feature attributes from feature collection

I am able to obtain the features of the layer which is selected by the user in the Layers table and then intersected by a user defined polygon, using e.features. I was able to obtain the attribute ...
7
votes
2answers
525 views

OpenLayers how to maintain layer ordering while using SelectFeature control

I'd like my map to display a few layers in a particular order. Some of these layers are Vectors, others are XYZs, and some of my Vector layers display attribution. Initial layer ordering works fine ...
3
votes
0answers
2k views

How to edit Attributes on WFS Layer through Popup?

I am working on a project for university. So far I have displayed WfsLayers which can be select from a panel, also I can click on my points whereupon a Popup will show up with some information which ...
2
votes
3answers
1k views

openlayers attribute substitution failing on kml file

I'm trying to read in mile markers for a marathon from a .kml file and use the MILE attribute to set the label. My layer code looks like this: // add layer mile_markers_layer = new ...
1
vote
1answer
1k views

To get FeatureInfo in OpenLayers

I am new to OpenLayers and I want to add OpenLayers.Control.WMSGetFeatureInfo to get feature info to website.But i can't figure out right method. I also see the source code of GeoServer OpenLayers ...