On Tue, Jun 19, 2012 at 6:33 PM, Martin Davis <[email protected]> wrote:

> It's probably simply that the given X,Y location is not near any features.
>
> When I change the X parameter to be 400 the query returns a feature.
>

Indeed, the GetMap returns a single point in the middle of the 800x600
image:

http://wms.derbyshire.gov.uk/geoserver/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&format=image/png&HEIGHT=600&WIDTH=800&LAYERS=DCC:Lamps&STYLES=&BBOX=-1.5165531635284424,53.08913376410469,-1.5090429782867432,53.092999652775&SRS=EPSG%3A4326&&buffer=30

So to hit it squarely one has to use x = 400, y = 300.
Even with a buffer of 30 it was too far away for x = 352

Cheers
Andrea


-- 
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf
------------------------------------------------------------------------------
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