[Mapserver-users] MapServer / Transactional WFS editing demo

Doug Cates doug at moximedia.com
Wed Oct 29 10:39:09 PST 2003


Hi,

I have an IMF example site that you may be interested in. It allows
heads-up digitizing of spatial data using a web browser (IE, Netscape,
Mozilla). Behind the scenes, the site uses WMS to display the map, and a
transaction capable WFS to query and save the data.

In this example, MapServer is used for the WMS and GeoServer is used for
the WFS, both using a common PostGIS data source. The application uses
only the WMS and WFS interfaces so any WMS / WFS-T compliant product mix
with similar capability (e.g CubeWerx) could be used instead.

Here's the link.

http://www.moximedia.com:8080/imf-ows/imf.jsp?site=edit

A few tips:

1. Read the help and about documents.

2. The feature is managed in-session until it is saved. Choose
anexisting feature or create a new one before using the other editing
tools.

3. This example shows the MultiPolygon editing tools. A MultiPolygon
shape may contain disparate polygons, but not polygons that touch or
overlap. The IMF editing tools contain logic to automatically merge
overlapping polygons if you were to draw another polygon that
intersected another polygon in the current edit feature.

4. To draw a hole in a polygon, draw a polygon completely contained in
another polygon in the current edit feature.

5. To delete a polygon from the database, select the feature using the
"Edit" tool, erase the polygon, then save the record. If you save a
record with no shape, the record is removed.

6. In this example, snapping is set to 50 meters to the parcels layer.
Normally, the user can select alternate snapping layers and set the
snapping distance.

Try it out, and feel free to change the data, as I periodically restore
the data used by this application. It would be nice of you to clean up
after yourself though...

I'd appreciate your comments or suggestions. For more information about
IMF, please contact me or have a look at www.moximedia.com/imf.html

Regards,
Doug
-- 
Doug Cates
Moxi Media Inc.
757 - 1641 Lonsdale Avenue
North Vancouver, BC, Canada V7M 2J5
Phone:  604-984-8109
Fax:    604-608-4764
E-mail: doug at moximedia.com
Web:    www.moximedia.com




More information about the MapServer-users mailing list