Quantcast

WMS GetFeatureInfo takes wrong BBOX

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

WMS GetFeatureInfo takes wrong BBOX

Rahkonen Jukka
Hi,

Here is the GetMap request that Kosmo sent to WMS server
REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&WIDTH=1057&HEIGHT=653&LAYERS=6&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=23.70906685443251,61.346356390145225,24.135267030695207,61.60965697207478&CRS=CRS:84&STYLES=default


Then I clicked on a map with the info tool and GetFeatureInfo was sent like this:
REQUEST=GetFeatureInfo&SERVICE=WMS&VERSION=1.3.0&WIDTH=1057&HEIGHT=653&FORMAT=image/png&LAYERS=6&QUERY_LAYERS=6&INFO_FORMAT=text/html&CRS=CRS:84&BBOX=23.90130047225015,61.45875307806691,23.90210690588546,61.45955951170223&I=498&J=443

Notice, that the BBOX is not the same even it should be. It looks like Kosmo creates a new BBOX around the clicked point or from the box drawn with click and drag. I believe it should take the BBOX from the extents of the current map window.

Regards,

-Jukka Rahkonen-


_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WMS GetFeatureInfo takes wrong BBOX

Sergio Baños Calvo
Good morning Jukka.

I'll revise your comments about the GetFeatureInfo request, it seems that you may be right about it.

Regards,

El 13/01/2012 13:00, Rahkonen Jukka escribió:
Hi,

Here is the GetMap request that Kosmo sent to WMS server
REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&WIDTH=1057&HEIGHT=653&LAYERS=6&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=23.70906685443251,61.346356390145225,24.135267030695207,61.60965697207478&CRS=CRS:84&STYLES=default 


Then I clicked on a map with the info tool and GetFeatureInfo was sent like this:
REQUEST=GetFeatureInfo&SERVICE=WMS&VERSION=1.3.0&WIDTH=1057&HEIGHT=653&FORMAT=image/png&LAYERS=6&QUERY_LAYERS=6&INFO_FORMAT=text/html&CRS=CRS:84&BBOX=23.90130047225015,61.45875307806691,23.90210690588546,61.45955951170223&I=498&J=443

Notice, that the BBOX is not the same even it should be. It looks like Kosmo creates a new BBOX around the clicked point or from the box drawn with click and drag. I believe it should take the BBOX from the extents of the current map window.

Regards,

-Jukka Rahkonen-


_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int


--

Sergio Baños Calvo

Jefe de desarrollos
Sistemas Abiertos de Información Geográfica, S.L. (SAIG S.L.)
Tlfno. móvil: 685005960
Tlfno. fijo: (+34) 954788876

E-mail: [hidden email]


_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: WMS GetFeatureInfo takes wrong BBOX

Sergio Baños Calvo
Hi Jukka.

As you stated in your mail, the GetFeatureInfo request sends a wrong BBOX (the one that Kosmo sends is a small BBOX around the clicked point or the BBOX of the drawn rectangle). We'll change it for the next version to send the correct BBOX (the current map one) and also will add the possibility to define the FEATURE_COUNT property in order to return more than one feature per layer, if they exist (currently the parameter isn't set and returns only one, as default)

Thank you very much for all your comments about the WMS/WFS connectors, you're a great help to make them work better and in a right way ^^.

Regards,

El 16/01/2012 8:48, Sergio Baños Calvo escribió:
Good morning Jukka.

I'll revise your comments about the GetFeatureInfo request, it seems that you may be right about it.

Regards,

El 13/01/2012 13:00, Rahkonen Jukka escribió:
Hi,

Here is the GetMap request that Kosmo sent to WMS server
REQUEST=GetMap&SERVICE=WMS&VERSION=1.3.0&WIDTH=1057&HEIGHT=653&LAYERS=6&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=23.70906685443251,61.346356390145225,24.135267030695207,61.60965697207478&CRS=CRS:84&STYLES=default 


Then I clicked on a map with the info tool and GetFeatureInfo was sent like this:
REQUEST=GetFeatureInfo&SERVICE=WMS&VERSION=1.3.0&WIDTH=1057&HEIGHT=653&FORMAT=image/png&LAYERS=6&QUERY_LAYERS=6&INFO_FORMAT=text/html&CRS=CRS:84&BBOX=23.90130047225015,61.45875307806691,23.90210690588546,61.45955951170223&I=498&J=443

Notice, that the BBOX is not the same even it should be. It looks like Kosmo creates a new BBOX around the clicked point or from the box drawn with click and drag. I believe it should take the BBOX from the extents of the current map window.

Regards,

-Jukka Rahkonen-


_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int


--

Sergio Baños Calvo

Jefe de desarrollos
Sistemas Abiertos de Información Geográfica, S.L. (SAIG S.L.)
Tlfno. móvil: 685005960
Tlfno. fijo: (+34) 954788876

E-mail: [hidden email]



_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int

--

Sergio Baños Calvo

Jefe de desarrollos
Sistemas Abiertos de Información Geográfica, S.L. (SAIG S.L.)
Tlfno. móvil: 685005960
Tlfno. fijo: (+34) 954788876

E-mail: [hidden email]


_______________________________________________
Kosmo_int mailing list
[hidden email]
http://lists.saig.es/mailman/listinfo/kosmo_int
Loading...