<div dir="auto"><div>Se pubblichi il layer come WFS (dalle proprietà del progetto) puoi fare una GetFeature con un Filter tipo il seguente:<div dir="auto"><br></div><div dir="auto"><pre style="margin-top:0px;margin-bottom:0.8em;padding:10px;border:0px;line-height:inherit;vertical-align:baseline;word-wrap:normal;max-height:300px"><pre style="margin-top:0px;margin-bottom:0.8em;padding:10px;border:0px;line-height:inherit;vertical-align:baseline;word-wrap:normal;max-height:300px"><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"><wfs:GetFeature</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">xmlns:wfs</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">service</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"WFS"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">version</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"1.1.0"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">outputFormat</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"json"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">xsi:schemaLocation</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"<a href="http://www.opengis.net/wfs">http://www.opengis.net/wfs</a>
<a href="http://schemas.opengis.net/wfs/1.1.0/wfs.xsd">http://schemas.opengis.net/wfs/1.1.0/wfs.xsd</a>"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">xmlns:xsi</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
  </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"><wfs:Query</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"> </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">typeName</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"iddellayer"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"> </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">srsName</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"EPSG:3857"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"> </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">xmlns:LiVi</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"<a href="http://172.17.14.211:8080/LiVi">http://172.17.14.211:8080/LiVi</a>"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
    </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"><ogc:Filter</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"> </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">xmlns:ogc</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"<a href="http://www.opengis.net/ogc">http://www.opengis.net/ogc</a>"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
      </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"><ogc:BBOX></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
        </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"><ogc:PropertyName></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">GEOMETRY</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></ogc:PropertyName></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
        </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"><gml:Envelope</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"> </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">xmlns:gml</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"<a href="http://www.opengis.net/gml">http://www.opengis.net/gml</a>"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"> </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">srsName</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">=</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">"EPSG:3067"</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
          </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"><gml:lowerCorner>1500000 5000000</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></gml:lowerCorner></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
          </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"><gml:upperCorner>1501000 5001000</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></gml:upperCorner></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
        </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></gml:Envelope></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
      </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></ogc:BBOX></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
    </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></ogc:Filter></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
  </span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></wfs:Query></span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px">
</span><span style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></wfs:GetFeature></span></pre><code><span style="color:rgb(48,51,54);font-family:inherit;font-size:inherit;background-color:rgb(240,240,240);margin:0px;padding:0px;border:0px;font-style:inherit;font-variant:inherit;font-weight:inherit;line-height:inherit;vertical-align:baseline;max-height:300px"></span></code></pre></div><div class="gmail_extra"><br><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto">giovanni</div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote" dir="auto"><br></div><div class="gmail_quote">Il 22 set 2017 09:20, "Francesco Marigliano" <<a href="mailto:fmarigliano@bidata.it">fmarigliano@bidata.it</a>> ha scritto:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="IT" link="blue" vlink="#954F72"><div class="m_-666628968067299787WordSection1"><p class="MsoNormal">Grazie Nino, sei stato chiarissimo. Sai se è disponibile una tipologia di richiesta (o un turnaround) che possa fare al caso mio?</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="border:none;padding:0cm"><b>Da: </b><a href="mailto:ninofor60@gmail.com" target="_blank">nino formica</a><br><b>Inviato: </b>giovedì 21 settembre 2017 20:28<br><b>A: </b><a href="mailto:fmarigliano@bidata.it" target="_blank">Francesco Marigliano</a>; <a href="mailto:qgis-it-user@lists.osgeo.org" target="_blank">Lista_utenti_Qgis</a><br><b>Oggetto: </b>Re: [QGIS-it-user] QGis Server GetFeatureInfo e BBOX</p></div><div class="elided-text"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">La richiesta GetFeatureInfo ritorna solo informazioni sulla gestire che si trova in un punto della mappa (il punto cliccato).</p><div><p class="MsoNormal">L'uso del parametro "bbox" qui è diverso rispetto a quello che ha nella richiesta WFS GetFeature; nella <span style="font-family:"Arial",sans-serif">GetFeatureInfo si intende che le coordinate in pixel del punto, sono date in modo relativo rispetto alla bbox.</span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Spero di essere stato sufficientemente chiaro!</span></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Saluti</span></p></div><div><p class="MsoNormal"><span style="font-family:"Arial",sans-serif">Nino</span></p></div></div></div><div><p class="MsoNormal"><u></u> <u></u></p><div><div class="elided-text"><p class="MsoNormal">Il 21 set 2017 5:07 PM, "Francesco Marigliano" <<a href="mailto:fmarigliano@bidata.it" target="_blank">fmarigliano@bidata.it</a>> ha scritto:</p></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div class="elided-text"><div><p class="MsoNormal">Salve a tutti,</p><p class="MsoNormal"> </p><p class="MsoNormal">Ho una curiosità per quanto riguarda la funzionalità GetFeatureInfo di QGis Server.</p><p class="MsoNormal"> </p><p class="MsoNormal">Effettuando una richiesta del tipo:</p><p class="MsoNormal"> </p><p class="MsoNormal"><a href="https://host/wms/cartografia?SERVICE=WMS&" target="_blank">https://host/wms/cartografia?<wbr>SERVICE=WMS&</a></p><p class="MsoNormal">VERSION=1.3.0&</p><p class="MsoNormal">REQUEST=GetFeatureInfo&</p><p class="MsoNormal">FORMAT=image%2Fpng&</p><p class="MsoNormal">TRANSPARENT=true&</p><p class="MsoNormal">QUERY_LAYERS= [[ Elenco dei layers ]]</p><p class="MsoNormal">&INFO_FORMAT=text%2Fxml&</p><p class="MsoNormal">I=50&J=50&</p><p class="MsoNormal">CRS=EPSG%3A3857&</p><p class="MsoNormal">STYLES=&</p><p class="MsoNormal">WIDTH=101&</p><p class="MsoNormal">HEIGHT=101&</p><p class="MsoNormal">BBOX=1596701.4326877764%<wbr>2C5022764.6670024395%<wbr>2C1596822.0598730391%<wbr>2C5022885.294187702</p><p class="MsoNormal"> </p><p class="MsoNormal">Il server risponde correttamente riportandomi le Features intorno al punto selezionato su mappa.</p><p class="MsoNormal"> </p><p class="MsoNormal">Se al posto del punto seleziono un rettangolo e passo al server il BBOX generato dalla sue estensione, non ottengo tutte le Features presenti in esso, ma quelle che avrei ottenuto in una richiesta simile alla precedente. Faccio qualche errore nella richiesta oppure questa funzionalità non esiste.</p><p class="MsoNormal"> </p><p class="MsoNormal">Grazie.</p><p class="MsoNormal"> </p><p class="MsoNormal">Saluti,<br>Francesco</p><p class="MsoNormal"> </p><p class="MsoNormal"> </p><p class="MsoNormal"> </p></div></div><div id="m_-666628968067299787m_3931802340590784478DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><p class="MsoNormal"><u></u> <u></u></p><table class="m_-666628968067299787MsoNormalTable" border="1" cellpadding="0" style="border:none;border-top:solid #d3d4de 1.0pt"><tbody><tr><td width="55" style="width:41.25pt;border:none;padding:13.5pt .75pt .75pt .75pt"><p class="MsoNormal"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><span style="text-decoration:none"><img border="0" width="46" height="29" style="width:.4791in;height:.302in" id="m_-666628968067299787_x0000_i1025" src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"></span></a></p></td><td width="470" style="width:352.5pt;border:none;padding:12.75pt .75pt .75pt .75pt"><p class="MsoNormal" style="line-height:13.5pt"><span style="font-size:10.0pt;font-family:"Arial",sans-serif;color:#41424e">Mail priva di virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><span style="color:#4453ea">www.avast.com</span></a> <u></u><u></u></span></p></td></tr></tbody></table></div></div><div class="quoted-text"><p class="MsoNormal" style="margin-bottom:12.0pt"><br>______________________________<wbr>_________________<br>QGIS-it-user mailing list<br><a href="mailto:QGIS-it-user@lists.osgeo.org" target="_blank">QGIS-it-user@lists.osgeo.org</a><br><a href="https://lists.osgeo.org/mailman/listinfo/qgis-it-user" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-it-user</a><u></u><u></u></p></div></blockquote></div></div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p></div></div><br>______________________________<wbr>_________________<br>
QGIS-it-user mailing list<br>
<a href="mailto:QGIS-it-user@lists.osgeo.org">QGIS-it-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/qgis-it-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-it-user</a><br>
<br></blockquote></div><br></div></div></div>