1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
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.
|