justb4 / geoext-viewer

Automatically exported from code.google.com/p/geoext-viewer
GNU General Public License v3.0
0 stars 0 forks source link

Rendering GFI HTML responses #323

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
In refernce to the topics linked below, I sugest that it would be great to have 
the posibility to render plain HTML GFI responses, that are not strictly wms 
compliant.

See, for instance, this GFI request, and it's response from the server:

http://www.google.com/url?q=http%3A%2F%2Fovc.catastro.meh.es%2FCartografia%2FWMS
%2FServidorWMS.aspx%3FLAYERS%3Dcatastro%26QUERY_LAYERS%3Dcatastro%26STYLES%3D%26
SERVICE%3DWMS%26VERSION%3D1.1.1%26REQUEST%3DGetFeatureInfo%26BBOX%3D660869.38861
5%252C4204150.140919%252C664002.046599%252C4207251.048991%26FEATURE_COUNT%3D8%26
HEIGHT%3D879%26WIDTH%3D888%26FORMAT%3Dimage%252Fpng%26INFO_FORMAT%3Dtext%252Fhtm
l%26SRS%3DEPSG%253A25830%26X%3D399%26Y%3D444&sa=D&sntz=1&usg=AFQjCNHdLg_aHj3aUAT
uKdiBQ9kkD8LO3A

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sp" lang="sp">
<head><title>Informaci&oacute;n parcelas</title></head><body><p>Referencia 
catastral de la parcela:</p><p><a 
href="https://www1.sedecatastro.gob.es/CYCBienInmueble/OVCListaBienes.aspx?del=3
0&muni=30&rc1=2457301&rc2=XH6025N">2457301XH6025N</a></p></body></html>

topics refered to:

https://groups.google.com/d/msg/geoext-viewer-devel/0MrmiblHfeM/rL7xM89u7IYJ

https://groups.google.com/d/msg/geoext-viewer-devel/5YxQclHYtco/yaFUEHK5ViEJ

https://groups.google.com/d/msg/geoext-viewer-devel/7RU7ewpqNcE/14toVMcObzwJ

Original issue reported on code.google.com by pedrogon...@gmail.com on 23 Dec 2013 at 8:27

GoogleCodeExporter commented 9 years ago
This is a very useful enhancement, since most WMS servers can return HTML, for 
example GeoServer:

http://geodata.nationaalgeoregister.nl/natura2000/wms?LAYERS=natura2000&QUERY_LA
YERS=natura2000&STYLES=&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&BBOX=17
0670.76%2C447617.56%2C196771.24%2C463557.4&FEATURE_COUNT=8&HEIGHT=593&WIDTH=971&
FORMAT=image%2Fpng&INFO_FORMAT=text/html&SRS=EPSG%3A28992&X=483&Y=279

Note to self: in the implementation we may trigger an HTML GFI Panel via the 
featureInfoFormat: "text/html" Layer config. Note that also many WFS-en may 
return HTML.

For all "HTML-cases" the downside is that no geometries are returned/shown and 
Download is not directly possible, or at least more elaborate.

We just need an owner and a timescale...

Original comment by jus...@gmail.com on 23 Dec 2013 at 11:37