> Andrea Aime wrote: 

> GeoServer WMS GetFeatureInfo returns the value of the various bands in the 
> pixel you
> clicked. You can ask the GML output to get better parseability.
> Of course that works only if you previously made a WMS GetMap.

Why so? GetFeatureInfo does not need to know anything about GetMap. The request 
needs to contain almost all of the GetMap parameters and WMS clients usually 
copy them from GetMaps.   However, I believe it could be possible to do a very 
simple application which takes only the query point as attribute and builds 
then the rest of the request automatically

REQUEST=GetFeatureInfo&    
SERVICE=WMS&VERSION=1.1.1&
WIDTH=3&
HEIGHT=3&
FORMAT=image/png&
LAYERS=elevation&
QUERY_LAYERS=elevation&
INFO_FORMAT=application/vnd.ogc.gml&
SRS=EPSG:3067&
X=1&
Y=1&
BBOX=10000,20000,10010,20010

All the other parameters could be always the same except BBOX. It could take 
the upper left corner coordinates from user input (10000,20010) and calculate 
the the other two BBOX values by using some small offsets.  By using WMS 1.1.1 
there is be no need to think even about axis order.

-Jukka Rahkonen-

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to