Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with PICC WMS service #18

Open
jbelien opened this issue Dec 17, 2018 · 2 comments
Open

Issue with PICC WMS service #18

jbelien opened this issue Dec 17, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@jbelien
Copy link
Member

jbelien commented Dec 17, 2018

OpenLayers doesn't seem able to parse response.

<?xml version="1.0" encoding="UTF-8"?>

<FeatureInfoResponse xmlns:esri_wms="http://www.esri.com/wms" xmlns="http://www.esri.com/wms">
<FIELDS OBJECTID="558" Identifiantunique="BE.WL.GEOREF.2133BC4A-0024-42E0-BADB-7C719FD84699" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="46241" Identifiantunique="BE.WL.GEOREF.C79B8F49-3091-469B-BB47-8887AE378C0C" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="43044" Identifiantunique="BE.WL.GEOREF.0B614812-8B00-48F6-ABFF-E335B890B544" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="Null" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="14287" Identifiantunique="BE.WL.GEOREF.6F032D67-4E7D-4937-BB05-A274162F9052" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="52970" Identifiantunique="BE.WL.GEOREF.EE2C7392-E48E-4361-8C4D-F2529DBEC8AE" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="17868" Identifiantunique="BE.WL.GEOREF.D5C0C764-93F6-4C4F-B7F4-DDFCCEDBDB15" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="32606" Identifiantunique="BE.WL.GEOREF.9CB5B137-7A4C-461E-A4C6-6D26BCE9E64E" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="Null" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="51010" Identifiantunique="BE.WL.GEOREF.410E2933-0A1E-4667-AFB0-E09172879F21" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="7617" Identifiantunique="BE.WL.GEOREF.E25F3C9F-91F1-4997-8377-EC644131B74D" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="34369" Identifiantunique="BE.WL.GEOREF.8F88E38B-2A1E-4A5C-8F66-37BA100504D9" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="1780" Identifiantunique="BE.WL.GEOREF.A4C1E771-D4BE-48AE-9834-150946DD76EC" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="Null" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="13308" Identifiantunique="BE.WL.GEOREF.847EFE68-E372-4AA2-89AC-0351C55C2126" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="Null" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="38367" Identifiantunique="BE.WL.GEOREF.CFB1E010-61C3-4D98-B7DA-83BB8FF0E97C" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="Null" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="49211" Identifiantunique="BE.WL.GEOREF.AA39EDAA-182B-4306-9D32-6F375409987F" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="15953" Identifiantunique="BE.WL.GEOREF.99AB7CC8-0284-4C2B-9731-29FC815090E7" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="Null" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="20645" Identifiantunique="BE.WL.GEOREF.E96C3FEA-4C03-4142-AA5C-CB1A28A63C07" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="1468" Identifiantunique="BE.WL.GEOREF.C9CF05BC-884C-4AD9-8492-75E770A45BBE" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="10815" Identifiantunique="BE.WL.GEOREF.C3637C65-FEE5-4F9C-9634-70FCA05D5E12" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="WT_L_0700" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="4544" Identifiantunique="BE.WL.GEOREF.6927B6C6-0DB3-4FE3-8503-2E8C2B959B4C" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="Null" GEOM="Polyline"></FIELDS>
<FIELDS OBJECTID="55389" Identifiantunique="BE.WL.GEOREF.9FD3E4F6-0414-4F45-96FC-825F0DA41653" Codedelanature="RAI" Descriptiondelanature="Rail" Précisionplanimétriquem="Null" Précisionaltimétriquem="Null" Techniquedemesure="Photogrammétrie" Datedelamesure="Null" Datedecréation="7/06/2016 14:35:55" Datedemodification="7/06/2016 14:35:55" Datedutransfert="30/11/2018" CodeWALTOPO="Null" GEOM="Polyline"></FIELDS>
</FeatureInfoResponse>

Source: http://geoservices.wallonie.be/arcgis/services/TOPOGRAPHIE/PICC_VDIFF/MapServer/WmsServer?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image/png&TRANSPARENT=true&QUERY_LAYERS=7&LAYERS=7&FEATURE_COUNT=99&INFO_FORMAT=application/vnd.ogc.wms_xml&I=70&J=11&WIDTH=256&HEIGHT=256&CRS=EPSG:3857&STYLES=&BBOX=508153.3640398532,6563800.492904656,508764.8602661346,6564411.9891309375

@jbelien jbelien added the bug Something isn't working label Dec 17, 2018
@jbelien
Copy link
Member Author

jbelien commented Dec 18, 2018

See openlayers/openlayers#9073

@jbelien
Copy link
Member Author

jbelien commented May 10, 2019

Other example:

<?xml version="1.0" encoding="UTF-8"?>

<FeatureInfoResponse xmlns:esri_wms="http://www.esri.com/wms" xmlns="http://www.esri.com/wms">
<FIELDS OBJECTID="2919" Nomdufichierimage="ORTHO_2018__00650087" Nombredetuiles="3" Datedeproductiondufichierimage="29-06-18" Premièredatedevol="05-05-18" Dernièredatedevol="05-05-18" TailledupixelenXm="0,25" TailledupixelenYm="0,25" TailledufichierKo="512" Nombredecanaux="4" Résolutionradiométrique="64" Largeurdelimagepixels="8000" Hauteurdelimagepixels="8000" OriginemailleXm="174000" OriginemailleYm="130000" Systèmedecoordonnées="Lambert Belge 1972" EPSG="31370" Fournisseur="WALPHOT" Précisionplanimétriquem="0,17" FeuilleIGN="47" GEOM="Polygon"></FIELDS>
</FeatureInfoResponse>

Source: http://geoservices.wallonie.be/arcgis/services/IMAGERIE/ORTHO_MAILLAGE_TUILAGE_2018/MapServer/WmsServer?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&FORMAT=image%2Fpng&TRANSPARENT=true&QUERY_LAYERS=0&LAYERS=0&FEATURE_COUNT=99&INFO_FORMAT=application%2Fvnd.ogc.wms_xml&I=111&J=215&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3857&STYLES=&BBOX=523440.7696968876%2C6530779.696685459%2C528332.7395071388%2C6535671.666495711

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant