Hi,
I have tried to read data from gml file, but I'm not able to extract features 
attributes. 
Here is my code:

var in_options = {
                        'internalProjection': map.baseLayer.projection,
                        'externalProjection': map.baseLayer.projection,
                        extractStyles: true,
                        extractAttributes: true
                    };   
                 var gmlOptionsIn = OpenLayers.Util.extend(
                        OpenLayers.Util.extend({}, gmlOptions),
                        in_options
                    );
                var gml2 = new OpenLayers.Format.GML.v2(gmlOptionsIn);

var features = gml2.read(unescape(data));


Thank for your help.

Regards,
Mario


_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to