[mapserver-dev] a bug ? - GetFeatureInfo using template don't scroll the "recordset" tag

Andrea Peri aperi2007 at gmail.com
Thu Jul 12 13:51:16 PDT 2012


Hi,

I resolve the question.
Is not a MapServer bug .

In the GetFeatureInfo to have more than one festure need to apply the
parameter "feature_count"

so the right request is this.

http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmscastore&language=ita&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=632180.3356719792354852,4796080.1425704099237919,632257.8389933158177882,4796138.3034105179831386&CRS=EPSG:25832&WIDTH=581&HEIGHT=437&LAYERS=r_toscan_cst_delimitazione_fogli&STYLES=&FORMAT=image/png&QUERY_LAYERS=r_toscan_cst_delimitazione_fogli&FEATURE_COUNT=10&INFO_FORMAT=text/html&I=240&J=200

Regards,

Andrea.


2012/7/11 Andrea Peri <aperi2007 at gmail.com>

> >Are the 3 results inside the bbox specified? That is used as part of the
> filter to I believe.
>
> yes .
> They are not totally inside, but they are overlapping the bbox and also
> they are all available in the point identified by the I,J pixel coords in
> the GetFeatureInfo request.
>
>
>
> 2012/7/11 Lime, Steve D (DNR) <Steve.Lime at state.mn.us>
>
>  Are the 3 results inside the bbox specified? That is used as part of the
>> filter to I believe.****
>>
>> ** **
>>
>> *From:* mapserver-dev-bounces at lists.osgeo.org [mailto:
>> mapserver-dev-bounces at lists.osgeo.org] *On Behalf Of *Andrea Peri
>> *Sent:* Wednesday, July 11, 2012 9:09 AM
>> *To:* mapserver-dev at lists.osgeo.org
>> *Subject:* [mapserver-dev] a bug ? - GetFeatureInfo using template don't
>> scroll the "recordset" tag****
>>
>> ** **
>>
>> Hi,
>>
>> I'm try-ing to set a template for the GetFeatureInfo action using the
>> "template driven".
>>
>> so I set an html template with the tags:
>>
>> -------------------------
>> ...
>> <table border="0" align="right" width="100%">
>> [resultset layer=r_toscan_cst_delimitazione_fogli nodata='nessun oggetto
>> trovato']
>> [feature limit=10]
>> <tr>
>> ...
>> </tr>
>> [/feature]
>> [/resultset]
>> <tr>
>>   <td align="left" width="100%">
>>     <font size=-1">
>>     Non risultano altri oggetti nel punto indicato
>>     </font>
>>   </td>
>> </tr>
>> </table>
>> ....
>> -------------------------
>>
>> I notice that mapserver send always one only feature never send others
>> feature.
>>
>> i can verify this using this url:
>>
>>
>> http://web.regione.toscana.it/wmsraster/com.rt.wms.RTmap/wms?map=wmscastore&language=ita&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetFeatureInfo&BBOX=632180.3356719792354852,4796080.1425704099237919,632257.8389933158177882,4796138.3034105179831386&CRS=EPSG:25832&WIDTH=581&HEIGHT=437&LAYERS=r_toscan_cst_delimitazione_fogli&STYLES=&FORMAT=image/png&QUERY_LAYERS=r_toscan_cst_delimitazione_fogli&INFO_FORMAT=text/html&I=240&J=200
>> ]
>>
>> I verify that at this url it should find three feature.
>> But insteed it send only 1 feature.
>>
>> Is this bug confirmed ?
>>
>> --
>> -----------------
>> Andrea Peri
>> . . . . . . . . .
>> qwerty àèìòù
>> -----------------****
>>
>
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
>


-- 
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20120712/45eafac6/attachment.html>


More information about the mapserver-dev mailing list