Browse Source

Update README.md

Thomas Kandler 6 years ago
parent
commit
db06392d94
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      README.md

+ 3
- 1
README.md View File

@@ -1,13 +1,15 @@
1 1
 # pgsql2shp-cleaner
2 2
 Small Python tool for cleaning output of pgsql2shp. As the export function of pgsql2shp is writing DBF files even if there is no data in the source it tends to create quite messy folders. This little script will look for empty DBF files and deletes them as well as associated files.
3 3
 
4
+*Use case*: you got a lot of DB-views which need to be exported to SHP (e.g. for checking by non-DB folks); those views can be empty or not (empty = no error; some data = errors found); the empty ones can be discarded
5
+
4 6
 ## Dependencies
5 7
 
6 8
 [dbf](https://pypi.python.org/pypi/dbf) package; use e.g. ``pip install dbf `` to install
7 9
 
8 10
 ## Use
9 11
 
10
-* Drop in folder with DBF, SHP, SHX, etc. files
12
+* drop in folder with DBF, SHP, SHX, etc. files
11 13
 * run in console
12 14
 
13 15
 ## Todo