Open GoogleCodeExporter opened 9 years ago
There are two layers with object info request by the FeatureInfoPanel using the featureInfoFormat: "application/vnd.ogc.gml". The first layer could be requested as it should be: the request is displayed in the info panel - the second layer is requested but the info is not shown. In FF the message 'No features found' - in IE8 an error occured: Meldung: Objekt erforderlich Zeile: 653 Zeichen: 9 Code: 0 URI: http://172.28.39.217/LIB/heron-trunk/lib/widgets/search/FeatureInfoPanel.js ================================== Debugging in FF shows the problem: ================================== override-openlayers.js - Line 632 var features = this.format.read(doc); - 'doc' contains the answer string - see below jumps to override-openlayers.js - Line 683 OpenLayers.Format.XML.prototype.read Request 1: ========== http://isdduisr019.sv.db.de:8080/geoserver/wms?LAYERS=isd-db%3Adb-nbz&QUERY_LAYE RS=isd-db%3Adb-nbz&STYLES=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX =3365455.940146%2C5623455.820075%2C3365996.059854%2C5623732.179925&FEATURE_COUNT =10&HEIGHT=329&WIDTH=643&FORMAT=image%2Fpng&INFO_FORMAT=application%2Fvnd.ogc.gm l&SRS=EPSG%3A31467&X=285&Y=125 Answer: http 200 ok <?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:gml="http://www.opengis.net/gml" xmlns:isd-db="http://isdduisr019.sv.db.de:8080/geoserver/isd-db" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://isdduisr019.sv.db.de:8080/geoserver/isd-db http://isdduisr019.sv.db.de:8080/geoserver/wfs?service=WFS&version=1.0.0& ;request=DescribeFeatureType&typeName=isd-db%3Adb-nbz http://www.opengis.net/wfs http://isdduisr019.sv.db.de:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd"><gml :boundedBy><gml:null>unknown</gml:null></gml:boundedBy><gml:featureMember><isd-d b:db-nbz fid="db-nbz.10589"><isd-db:the_geom><gml:MultiPolygon srsName="http://www.opengis.net/gml/srs/epsg.xml#31467"><gml:polygonMember><gml: Polygon><gml:outerBoundaryIs><gml:LinearRing><gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" ">3365398.98622103,5623601.99679709 3365456.87169089,5623860.30890063 3366224.39441991,5623384.32817137 3366040.36184603,5623204.23276076 3365398.98622103,5623601.99679709</gml:coordinates></gml:LinearRing></gml:outerB oundaryIs></gml:Polygon></gml:polygonMember></gml:MultiPolygon></isd-db:the_geom ><isd-db:NRBEZ>2630CZ</isd-db:NRBEZ><isd-db:DBGIS_SEGM>KLN</isd-db:DBGIS_SEGM><i sd-db:BARCODE>1544004665</isd-db:BARCODE><isd-db:BS_NAME/><isd-db:AENDERUNG>2013 -06-04</isd-db:AENDERUNG><isd-db:STOCKWERK>0</isd-db:STOCKWERK></isd-db:db-nbz>< /gml:featureMember></wfs:FeatureCollection> features = [0] => 'Features found' Request 2: ========== http://isdduisr025.sv.db.de:8080/geoserver/wms?LAYERS=isd-tst%3Agsmr_toc_gsmr_13 00_fdl&QUERY_LAYERS=isd-tst%3Agsmr_toc_gsmr_1300_fdl&STYLES=&SERVICE=WMS&VERSION =1.1.1&REQUEST=GetFeatureInfo&BBOX=3365455.940146%2C5623378.960116%2C3365996.059 854%2C5623809.039884&FEATURE_COUNT=10&HEIGHT=512&WIDTH=643&FORMAT=image%2Fpng&IN FO_FORMAT=application%2Fvnd.ogc.gml&SRS=EPSG%3A31467&X=321&Y=326 Answer: http 200 ok <?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns="http://www.opengis.net/wfs" xmlns:wfs="http://www.opengis.net/wfs" xmlns:isd-tst="http://isdduisr025.sv.db.de:8080/geoserver/isd-tst" xmlns:gml="http://www.opengis.net/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://isdduisr025.sv.db.de:8080/geoserver/isd-tst http://isdduisr025.sv.db.de:8080/geoserver/wfs?service=WFS&version=1.0.0& ;request=DescribeFeatureType&typeName=isd-tst%3Agsmr_toc_gsmr_1300_fdl http://www.opengis.net/wfs http://isdduisr025.sv.db.de:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd"><gml :boundedBy><gml:null>unknown</gml:null></gml:boundedBy><gml:featureMember><isd-t st:gsmr_toc_gsmr_1300_fdl fid="gsmr_toc_gsmr_1300_fdl.5090"><isd-tst:id>3663</isd-tst:id><isd-tst:RB>West< /isd-tst:RB><isd-tst:Str-Nr>2645</isd-tst:Str-Nr><isd-tst:Strecke>Bonn Hbf - Euskirchen</isd-tst:Strecke><isd-tst:Anfang>-0.264</isd-tst:Anfang><isd-tst:Ende >34.508</isd-tst:Ende><isd-tst:Länge>34.772</isd-tst:Länge><isd-tst:IBN-Ja hr>2006</isd-tst:IBN-Jahr><isd-tst:Status>In Betrieb</isd-tst:Status><isd-tst:Cell_ID>95</isd-tst:Cell_ID><isd-tst:LAC>2014</ isd-tst:LAC><isd-tst:Site_ID>22020</isd-tst:Site_ID><isd-tst:BCCH>964</isd-tst:B CCH><isd-tst:Ausfall>0</isd-tst:Ausfall><isd-tst:site>22020</isd-tst:site><isd-t st:Typ>Cell</isd-tst:Typ><isd-tst:Status_2>unlocked</isd-tst:Status_2><isd-tst:A >EKN3 Kette: 103 TEI: 0</isd-tst:A><isd-tst:Anb>E/EKN3/103</isd-tst:Anb><isd-tst:MSC>E</isd-tst:MSC><i sd-tst:BSC>EKN3</isd-tst:BSC><isd-tst:Kette>103</isd-tst:Kette><isd-tst:NE_Kennu n>BS_22020</isd-tst:NE_Kennun><isd-tst:Status2>In Betrieb</isd-tst:Status2><isd-tst:LAC Name>EKN3</isd-tst:LAC Name><isd-tst:ShortCode>1300</isd-tst:ShortCode><isd-tst:Teilnehme>72006802</isd -tst:Teilnehme><isd-tst:CT8_CT9>991227417</isd-tst:CT8_CT9><isd-tst:Bst>KB</isd- tst:Bst><isd-tst:Funktion>Fdl Bonn Hbf</isd-tst:Funktion><isd-tst:BSC_Ketten>EKN3-103</isd-tst:BSC_Ketten><isd-tst: the_geom><gml:MultiLineString srsName="http://www.opengis.net/gml/srs/epsg.xml#31467"><gml:lineStringMember><g ml:LineString><gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" ">3365918.766,5623460.068 3365859.293,5623483.22 3365764.288,5623513.939 3365675.48,5623560.074 3365592.057,5623615.073 3365332.247,5623764.898 3365156.298,5623859.977 3365066.639,5623904.242 3364974.114,5623942.171 3364880.283,5623976.745 3364320.125,5624191.693 3364132.75,5624261.609 3364038.006,5624293.593 3363941.59,5624320.048 3363843.27,5624337.621 3363743.96,5624326.221 3363651.435,5624288.649 3363564.22,5624239.802 3363480.265,5624185.482 3363399.498,5624126.525 3363321.75,5624063.675 3363250.474,5623993.587 3363186.676,5623916.63 3363130.828,5623833.722 3363083.458,5623745.685 3363042.464,5623654.478 3363004.917,5623561.798 3362842.21181687,5623172.52241089</gml:coordinates></gml:LineString></gml:lineSt ringMember><gml:lineStringMember><gml:LineString><gml:coordinates xmlns:gml="http://www.opengis.net/gml" decimal="." cs="," ts=" ">3360657.48824524,5621710.66384694 3360648.77080891,5621708.30346566</gml:coordinates></gml:LineString></gml:lineSt ringMember></gml:MultiLineString></isd-tst:the_geom></isd-tst:gsmr_toc_gsmr_1300 _fdl></gml:featureMember></wfs:FeatureCollection> Result - override-openlayers.js - Line 632: features = [] => 'No features found'
Original issue reported on code.google.com by wolfram.winter on 24 Sep 2014 at 1:52
wolfram.winter
Original issue reported on code.google.com by
wolfram.winter
on 24 Sep 2014 at 1:52