jan: thuban/Extensions/gns2shp gns2shp.py,1.4,1.5
cvs@intevation.de
cvs at intevation.de
Tue Nov 16 22:15:19 CET 2004
Author: jan
Update of /thubanrepository/thuban/Extensions/gns2shp
In directory doto:/tmp/cvs-serv13078
Modified Files:
gns2shp.py
Log Message:
Removed registry entry (moved to __init__.py).
Index: gns2shp.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/gns2shp/gns2shp.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- gns2shp.py 28 Sep 2004 19:26:58 -0000 1.4
+++ gns2shp.py 16 Nov 2004 21:15:17 -0000 1.5
@@ -1,6 +1,6 @@
-# Copyright (C) 2003 by Intevation GmbH
+# Copyright (C) 2003, 2004 by Intevation GmbH
# Authors:
-# Jan-Oliver Wagner <jan at intevation.de>
+# Jan-Oliver Wagner <jan at intevation.de> (2003, 2004)
#
# This program is free software under the GPL (>=v2)
# Read the file COPYING coming with Thuban for details.
@@ -32,21 +32,8 @@
from Thuban import _
from Thuban.Model.layer import Layer
-from Thuban.UI.extensionregistry import ExtensionDesc, ext_registry
-
import shapelib
import dbflib
-
-
-ext_registry.add(ExtensionDesc(
- name = 'gns2shp',
- version = '1.0.0',
- authors= [ 'Jan-Oliver Wagner' ],
- copyright = '2003, 2004 Intevation GmbH',
- desc = _("Converts GNS (Geographical Name Service\n" \
- "of NIMA) to Shapefile format and\n" \
- "displays the data.")))
-
def gns2shp(src_fname, dest_fname):
"""Convert a file from gns textformat into a Shapefile.
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)