Hi,
I've facing a problem regarding the GetFeature function again, and I'm
not quite sure whether it is an OpenLayers bug or the server application
fails.
So, I've a WMS and a WFS service served by Geomedia WebMap:
http://webmap.viamap.hu/ol/getFeatureTest.html
The GetFeature gets a correct response from the WFS service, e.g.:
|<?xml version="1.0" encoding="UTF-8"?>
||<gmgml:FeatureCollection xmlns="http://www.intergraph.com/geomedia/gml" xmlns:gml="http://www.opengis||.net/gml" xmlns:gmgml="http://www.intergraph.com/geomedia/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"|| xsi:schemaLocation='http://www.intergraph.com/geomedia/gml
http://webmap.viamap.hu/testWFS/request.aspx||?request=DescribeFeatureType&VERSION=1.1.0&SERVICE=WFS&OUTPUTFORMAT=text/xml;subtype=gml||/3.1.1'><gml:boundedBy><gml:Envelope srsName="EPSG:23700"><gml:lowerCorner>660000 236000</gml:lowerCorner||><gml:upperCorner>666000
240000</gml:upperCorner></gml:Envelope></gml:boundedBy><gml:featureMember><gmgml||:szelvenyhalo gml:id="szelvenyhalo.2676"><gmgml:szelvenyszam>65-421</gmgml:szelvenyszam><gmgml:felmeres||>1997</gmgml:felmeres><gmgml:ID>2676</gmgml:ID><gmgml:Geometry><gml:Polygon
srsName="EPSG:23700"><gml||:exterior><gml:LinearRing><gml:posList srsDimension="2">660000 236000 660000 240000 666000 240000 666000|| 238000 666000 236000 660000
236000</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon></gmgml||:Geometry></gmgml:szelvenyhalo></gml:featureMember></gmgml:FeatureCollection>|
although the result cannot be processed, because of the following error:
obj.attributes is undefined
http://webmap.viamap.hu/ol/lib/OpenLayers-2.9.1/lib/OpenLayers/Format/GML/Base.js
Line 397
Is it an OpenLayers bug?
BR,
Attila
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users