Skip to content

Instantly share code, notes, and snippets.

@pigreco
Created December 7, 2018 18:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pigreco/ae5c93844b1328b6d4e9fe7c3d935c11 to your computer and use it in GitHub Desktop.
Save pigreco/ae5c93844b1328b6d4e9fe7c3d935c11 to your computer and use it in GitHub Desktop.
suggerimento mappa per QGIS 3.4 - tabella e immagine
<html xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<head>
<META http-equiv="Content-Type" content="text/html">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body style="margin:0px 0px 0px 0px;overflow:auto;background:#FFFFFF;">
<table style="font-family:Arial,Verdana,Times;font-size:38px;text-align:center;width:100%;background:rgba(255,255,255,0.25);border-collapse:collapse;padding:3px 3px 3px 3px">
<tr style="text-align:center;font-weight:bold;background:#9CBCE2">
<td>[% "den_reg" %]</td>
</tr>
<tr>
<td>
<table style="font-family:Arial,Verdana,Times;font-size:18px;text-align:left;width:100%;border-spacing:2px; padding:3px 3px 3px 3px">
<tr>
<td>COD_REG</td>
<td>[% "cod_reg" %]</td>
</tr>
<tr bgcolor="#D4E4F3">
<td>Superficie</td>
<td>[% format_number("shape_area" /1000000,0)%]kmq</td>
</tr>
<tr>
<td>Perimetro</td>
<td>[% format_number("shape_leng"/1000,0) %]km</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
<p align="center">
<img width='auto' src="file:///C:\\Users\\Salvatore\\Desktop\\splash_QGIS_2.0_3.4.0\\12.png">
</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment