Draw Shape Extension for Thuban
===============================


   *** Warning: ***

   This extension is very experimental and may corrupt your data. Use at
   your own peril.

   The installation instructions here are very brief to make it more
   likely that people who use it know what they're doing.



Summary
-------

This extension for Thuban allows you do add shapes to shapefiles.



Installation
------------

1. Apply the patch in patch.diff

2. Put the drawshape.py somewhere where you can import it from
   ~/.thuban/thubanstart.py and add the appropriate import statement to
   thuban/thubanstart.py


Usage
-----

The extension adds a new icon to the toolbar. This icon is the same as
the one for the identify tool because there wasn't time to create a new
one :)

To add a shape, select the layer you want to add to, activate the tool
and draw the shape by clicking on the map where the vertices should be
with the left mouse button. When done, click the right button and the
shape will be added to the shapefile with a set of default attributes
(zeros and empty strings).

The layer must be a layer displaying a shapefile with polygons (arcs and
points are not supported) and the associated table must be a real dbf
file and not e.g. a joined table.
