Skip to content

Commit

Permalink
Preparing for release of version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kbevers committed Mar 27, 2017
1 parent a347dfc commit 485a71b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kvadratnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
from collections import namedtuple
import re

__version__ = '0.2.2'
__version__ = '0.3.0'

UNITS = ['100m', '250m', '1km', '10km', '50km', '100km']

Expand Down
22 changes: 22 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,28 @@ print(counter)
# Counter({'10km_642_51': 4, '10km_612_86': 3, '10km_625_23': 2, '10km_623_63': 1, 'bad_name': 1})
```

## knet - command line interface

`kvadratnet` also has a command line interface called `knet`.
The `knet` command is a front for various tools that make life
managing files with kvadratnet naming a lot easier. For instance
renaming many files:

```
# add a prefix before the cell identifier
$ knet rename --prefix PUNKTSKY_ "*.laz"
# strip anything but the cell identifier
$ knet rename PUNKTSKY*.laz
```

With `knet` organizing files in subfolders according to which
parent tiles they belong to is easy:
```
# divide files into 100km and 10km folders
$ knet organize "1km*.tif" 100km 10km
```


## Installation

Expand Down

0 comments on commit 485a71b

Please sign in to comment.