[Thuban-commits] r2724 - in trunk/thuban: . Extensions/export_shapefile
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 20 11:25:12 CET 2007
Author: bernhard
Date: 2007-02-20 11:25:11 +0100 (Tue, 20 Feb 2007)
New Revision: 2724
Modified:
trunk/thuban/ChangeLog
trunk/thuban/Extensions/export_shapefile/export_shapefile.py
Log:
Extensions/export_shapefile/export_shapefile.py: untabify.
Modified: trunk/thuban/ChangeLog
===================================================================
--- trunk/thuban/ChangeLog 2007-02-20 10:22:54 UTC (rev 2723)
+++ trunk/thuban/ChangeLog 2007-02-20 10:25:11 UTC (rev 2724)
@@ -1,8 +1,10 @@
2007-02-20 Bernhard Reiter <bernhard at intevation.de>
- * test/README: Added example how to set the PATH for postgis on
- Debian Etch.
+ * Extensions/export_shapefile/export_shapefile.py: untabify.
+ * test/README: Added example how to set the PATH for postgis on
+ Debian Etch.
+
2007-01-13 Didrik Pinte <dpinte at itae.be>
bboxdump, gns2shp, importAPR, mouseposition, ogr, profiling, svgexport
Modified: trunk/thuban/Extensions/export_shapefile/export_shapefile.py
===================================================================
--- trunk/thuban/Extensions/export_shapefile/export_shapefile.py 2007-02-20 10:22:54 UTC (rev 2723)
+++ trunk/thuban/Extensions/export_shapefile/export_shapefile.py 2007-02-20 10:25:11 UTC (rev 2724)
@@ -53,7 +53,7 @@
dbf_filename = filename + '.dbf'
if hasattr(layer, "ShapeStore"):
table = layer.ShapeStore().Table()
- table_to_dbf(table, dbf_filename)
+ table_to_dbf(table, dbf_filename)
# Fourth, prepare the shp file of the new Shapefile
shp_filename = filename + '.shp'
@@ -74,7 +74,7 @@
for s in layer.ShapeStore().AllShapes():
i = s.ShapeID()
- print s.Points()
+ print s.Points()
obj = shapelib.SHPObject(shapetypes[layer.ShapeType()], i, s.Points())
shp.write_object(i, obj)
if cnt % step == 0:
More information about the Thuban-commits
mailing list