Feature request #6575
Print the contents of identify windows
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | GUI | ||
Pull Request or Patch supplied: | No | Resolution: | fixed |
Easy fix?: | No | Copied to github as #: | 15770 |
Description
I guess a missing feature is the capability to print the content of a windows coming from an identify action.
If the windows is the result from an identify on a vectorial layer on the canvas the print could be a simple list with a poor format.
Instead if the window is the result of an identify on a layer WMS and come with the text/html format.
The page is a good formatting html page.
So the print should be the print of an html page well formatted and with images.
Related issues
Associated revisions
allow printing of html results in identify window (implements #6575)
History
#1
Updated by Tim Sutton almost 12 years ago
Hi
Could you provide two specific WMS urls that would be used for acceptance testing that demonstrate the kinds of GFI responses you want to cater for?
Thanks
Tim
#2
Updated by Jürgen Fischer almost 12 years ago
the possibility to print html responses is implemented in ab2442bbef. QWebView now has a context menu that allows to print.
#3
Updated by Jürgen Fischer almost 12 years ago
#4
Updated by aperi2007 - almost 12 years ago
Could you provide two specific WMS urls that would be used for acceptance testing that demonstrate the kinds of GFI responses you want to cater for?
Hi,
I add a wms url to allow the tests.
http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmscatasto&map_resolution=96&language=ita&&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=1688099.2455753679387271,4799991.1996674090623856,1688851.6877431189641356,4800405.7102920338511467&CRS=EPSG:3003&WIDTH=1071&HEIGHT=590&LAYERS=rt_cat.idcatbdfog.rt,rt_cat.idcatpart.rt,rt_cat.idcattopon.rt&STYLES=&FORMAT=image/png&QUERY_LAYERS=rt_cat.idcatbdfog.rt,rt_cat.idcatpart.rt,rt_cat.idcattopon.rt&INFO_FORMAT=text/html&I=424&J=239&FEATURE_COUNT=10
#5
Updated by aperi2007 - almost 12 years ago
Hi,
this is another sample of kind of GFI response.
Regards
#6
Updated by aperi2007 - almost 12 years ago
Hi,
I tested it the print is exactly what I need.
One only point.
The choose to use the contextual menu is quite invisible.
The print option is available only when the response is from a getfeatureinfo.
So I guess should be helpful to sue also a dedicated button visible only when the print option is available.
But I know this option is perhaps too complex and too incompatible.
So perhaps should be sufficient a simple label say-ing something like
"print option available"
#7
Updated by Jürgen Fischer almost 12 years ago
- Status changed from Open to Closed
aperi2007 - wrote:
Hi,
I tested it the print is exactly what I need.
One only point.
The choose to use the contextual menu is quite invisible.
The print option is available only when the response is from a getfeatureinfo.
So I guess should be helpful to sue also a dedicated button visible only when the print option is available.
But I know this option is perhaps too complex and too incompatible.
So perhaps should be sufficient a simple label say-ing something like
"print option available"
4b789b8 adds a print button on the bottom. If you don't have a HTML response in the result window, it's invisible. Otherwise it's visible, but disabled. When you select a HTML response it becomes enabled and you can print the selected item.
#8
Updated by Jürgen Fischer almost 12 years ago
- Resolution set to fixed