Quantcast

a bug ? - GetFeatureInfo using template don't scroll the "recordset" tag

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

a bug ? - GetFeatureInfo using template don't scroll the "recordset" tag

Andrea Peri
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 àèìòù
-----------------


_______________________________________________
mapserver-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: a bug ? - GetFeatureInfo using template don't scroll the "recordset" tag

Lime, Steve D (MNIT)

Are the 3 results inside the bbox specified? That is used as part of the filter to I believe.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andrea Peri
Sent: Wednesday, July 11, 2012 9:09 AM
To: [hidden email]
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 àèìòù
-----------------


_______________________________________________
mapserver-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: a bug ? - GetFeatureInfo using template don't scroll the "recordset" tag

Andrea Peri

>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) <[hidden email]>

Are the 3 results inside the bbox specified? That is used as part of the filter to I believe.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andrea Peri
Sent: Wednesday, July 11, 2012 9:09 AM
To: [hidden email]
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 àèìòù
-----------------


_______________________________________________
mapserver-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: a bug ? - GetFeatureInfo using template don't scroll the "recordset" tag

Andrea Peri
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 <[hidden email]>

>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) <[hidden email]>

Are the 3 results inside the bbox specified? That is used as part of the filter to I believe.

 

From: [hidden email] [mailto:[hidden email]] On Behalf Of Andrea Peri
Sent: Wednesday, July 11, 2012 9:09 AM
To: [hidden email]
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 àèìòù
-----------------


_______________________________________________
mapserver-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-dev
Loading...