Yes, that gives the result. But by code I get coordinates when user click on 
mouse in the map by 
(setQueryPoint((int)ev.getMapPosition().x,(int)ev.getMapPosition().y)) and it's 
not pixel ! should'I have to use a method that converts coordinates in pixels? 

> Date: Thu, 16 Jun 2011 19:36:15 -0400
> Subject: Re: [Geotools-gt2-users] Incomplete or not found features returned 
> by GetFeatureInfo!!
> From: [email protected]
> To: [email protected]
> CC: [email protected]
> 
> On 16 June 2011 19:20, khalid Amiral <[email protected]> wrote:
> > I use this code in Eclipse/getools and I got the url that I have executed in
> > a browser window as you suggested but the same result! "no features were
> > found"
> > URL :
> > http://localhost:8080/geoserver/wms?Y=39&X=-106&SERVICE=WMS&LAYERS=topp%3Astates&FORMAT=image/png&HEIGHT=400&REQUEST=GetFeatureInfo&WIDTH=400&BBOX=-114.01268,59.4596930,-113.26043,60.0835794&STYLES=&SRS=EPSG:4326&QUERY_LAYERS=topp%3Astates&VERSION=1.1.1
> 
> X and Y should be in pixels try:
> 
> http://localhost:8080/geoserver/wms?Y=200&X=200&SERVICE=WMS&LAYERS=topp%3Astates&FORMAT=image/png&REQUEST=GetFeatureInfo&BBOX=-139.84870868359,18.549281576172,-51.852562316406,55.778420423828&WIDTH=780&HEIGHT=330&STYLES=&SRS=EPSG:4326&QUERY_LAYERS=topp%3Astates&VERSION=1.1.1
> 
> 
> Ian
> -- 
> Ian Turton
                                          
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to