[Mapserver-users] Wms or Wfs

Arnulf Christl arnulf.christl at ccgis.de
Fri Apr 23 12:01:07 EDT 2004


publiek at home.nl wrote:

>Hello all,
>
>I'm trying to understand what WMS / WFS do.
>  
>
WMS describes the interface to order (request) raster images (pixels) 
and the returned map. Optionally it can (and most do) deliver feature 
information - the attributes of a geometry.
WFS describes the interface to order (request) vector geometry 
(features) and how to receive them.

>We have a database with employment data per location.
>We also have a polygon database (postgis/postgresql).
>
>It is possible to use wfs to get a table depending on where the user clicks on the map? 
>
Yes.

>I believe the mapserver asks postgresql the relevant data?
>  
>
Yes.

>And with wms you also get the image? 
>  
>
Yes.

>Am i correct on this? And how could i implement this? Any tips / pointers? 
>  
>
First specify for yourself what you want. If you want to see a map where 
you can click on a location and see the attributes of that "point" then 
you just include the PostgreSQL/PostGIS table in the UMN MapServer as a 
LAYER in the MAP file. Then you can query this layer with a client and 
receive the results in a HTML page. The layout of the resulting HTML 
page can be customized individually.
If you need the coordinates of the location you would rather ask the 
WFS, it will return the geometry and the attributes but no map.

Regards, Arnulf.

-- 
----------------------------
CCGIS Christl & Stamm GbR
----------------------------
http://www.ccgis.de
http://www.mapbender.org
----------------------------
Service: +49 (0)228 90826 0
Direct:  +49 (0)228 90826 23
Fax:     +49 (0)228 90826 11
----------------------------
CCGIS Christl & Stamm GbR
Siemensstraße 8
53121 Bonn
GERMANY

>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>  
>



More information about the mapserver-users mailing list