That would be ideal except that WFS is not the solution for large datasets. One of my datasets has over 200,000,000 rows and while I can draw it with a WMS by restricting the scale it is drawn at it just doesn't work with WFS due to it's size.
Plus a lot of WMS systems are used by javascript based mapping systems where WFS is usually not an option, plus there is the issue of not wanting to give people access to your dataset by bandwidth killing WFS.
--
Ross Elliott
Senior Software Engineer
Infoterra Ltd
T +44 (0)1252 362095
www.infoterra.co.uk
-----Original Message-----
From: geoserver-users-bounces@lists.sourceforge.net [mailto:geoserver-users-bounces@lists.sourceforge.net] On Behalf Of Chris Holmes
Sent: 30 January 2007 23:41
To: Gabriel Roldán
Cc: Brent Owens; geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] SLD
And the general course of action we recommend is that clients use GetFeature from the WFS, instead of GetFeatureInfo from the WMS. They accomplish basically the same thing, but GetFeature gives you much more control, instead of just a pixel location and some weird assumptions about how big the buffer is.
Chris
Gabriel Roldán wrote:
On a different note is anyone looking into getFeatureInfo for points
and lines, currently (I suspect) you have to get an excact point on a
line or point to get it to work. The UMN Mapserver guys fixed this by
adding a buffer to the passed in point so you can click near a
feature and still hit it.This is a tough one.
What geoserver does (or used to do, long time not seeing the code) is
to use the bounding box of the pixel at the point (or maybe two pixels
around), in the layer's CRS, to make a bbox filter.But the problem gets worst. It's supposed to work quite well if you
render each point as a tiny symbol (square, triangle, circle, etc.).
In this case the user has to affine his shooting. GetFeatureInfo is like playing darts.
Problem is that with different marker sizes and shapes, it is logical
if the user expects a proper response if he pointed over the symbol,
but the symbol has nothing to do with the actual geometry (sigh!)Even worse, I had an experience where points were represented as
triangles, and your only chance of catching up on a GetFeatureInfo
were pointing at the center pixel of the lower side of the
triangle.... no way pointing at the center, which would be more
friendly... (though don't remember right now if the spec says
something related to how the marker should be positioned regarding the
point location)So that's why I say its a tough problem.
So the question is, would it be enough of a solution if we just
increase the "pixel tolerance" around the requested point to create
the BBOX (actually
intersects?) filter?Gabriel
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
The information in this e-mail and any attachment is confidential and may be privileged. If you have received this e-mail in error, please delete it immediately and destroy any copies on your system. You should not retain, copy or use this e-mail for any purpose, nor disclose all or any part of its content to any other person. Opinions expressed in this e-mail may not be endorsed by the company and unless explicitly indicated, this e-mail shall not form part of any binding agreement. Infoterra Limited a company registered in England under number 2359955 and having its registered office at Atlas House, 41 Wembley Road, Leicester, LE31UT. VAT number GB 476 0468 27