1 |
# Copyright (C) 2003-2004 by Intevation GmbH |
# Copyright (C) 2004 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Frank Koormann <[email protected]> |
# Frank Koormann <[email protected]> (2004) |
4 |
# |
# |
5 |
# This program is free software under the GPL (>=v2) |
# This program is free software under the GPL (>=v2) |
6 |
# Read the file COPYING coming with Thuban for details. |
# Read the file COPYING coming with Thuban for details. |
26 |
from Thuban.UI.common import ThubanBeginBusyCursor, ThubanEndBusyCursor |
from Thuban.UI.common import ThubanBeginBusyCursor, ThubanEndBusyCursor |
27 |
from Thuban.UI.command import registry, Command |
from Thuban.UI.command import registry, Command |
28 |
from Thuban.UI.mainwindow import main_menu, _has_selected_shape_layer |
from Thuban.UI.mainwindow import main_menu, _has_selected_shape_layer |
|
from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry |
|
29 |
from Thuban import _ |
from Thuban import _ |
30 |
|
|
31 |
import shapelib |
import shapelib |
32 |
import dbflib |
import dbflib |
33 |
|
|
|
ext_registry.add(ExtensionDesc( |
|
|
name = 'bboxdump', |
|
|
version = '1.0.0', |
|
|
authors= [ 'Frank Koormann' ], |
|
|
copyright = '2003-2004 Intevation GmbH', |
|
|
desc = _("Dumps the bounding boxes of all\n" \ |
|
|
"shapes of the selected layer."))) |
|
|
|
|
34 |
# Widget IDs |
# Widget IDs |
35 |
ID_FILENAME = 4001 |
ID_FILENAME = 4001 |
36 |
ID_ATTRIBUTES = 4002 |
ID_ATTRIBUTES = 4002 |