Tore Halset wrote:
On Jan 19, 2008, at 1:57 , Jody Garnett wrote:
Tore Halset wrote:
Hello.
After upgrading to RC13, wms GetFeatureInfo does not work for me.
Nothing shows up. Anyone else seeing this?
Okay we got this solved! Here is what happened ... for RC13:
1. the first layer added sets the viewport (rather than just assume
WGS84)
2. for the shapefile I was using the prj file did not specify any
kind of authority (ie EPSG:4326)
3. I made the BasicWMSRenderer method public (that sorts out this
stuff when rendering), and made a call to it from the
WMSDescribeLayer class (which is used by InfoView2 to request a html
page for each click).
I have not tried out the fix, but thanks a lot for looking into this!
Heh; well lets make sure you can test it for us (so we know this
actually is fixed). Will you have a chance to try it out before RC14
goes out?
I noticed that we were using a 5 by 5 pixel request; seems a bit
large? But I guess it depends a bit accuracy of the wms ....
I do not understand this. At least in RC13, the WIDTH and HEIGHT are
the same as the original GetMap as described in the WMS
documentations. I think it should stay that way as it is compliant
with the documentation and is the safest bet.
You are correct; the 5x5 was when it made a bbox request against feature
data (all part of the same info tool).
Jody
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel