Fincer ace25d214d | 5 years ago | |
---|---|---|
data | 5 years ago | |
images | 5 years ago | |
LICENSE | 5 years ago | |
README.md | 5 years ago |
Simple JPEG2000 GML data parser / extractor, without additional tools such as GDAL. Just pure Python 3.
Python 3 (Arch Linux: python
)
Python 3 XML-to-dict (Arch Linux: python-lxml
)
File: gmlparser.py
usage: gmlparser.py [-h] [-i [INPUTFILE]] [-f [OUTPUTFORMAT]]
[-o [OUTPUTFILE]] [-l [FORMATTING]]
optional arguments:
-h, --help show this help message and exit
-i [INPUTFILE], --input [INPUTFILE]
Input JPEG2000 image file
-f [OUTPUTFORMAT], --dataformat [OUTPUTFORMAT]
Output format (Default: xml; Available: xml | json |
[tfw|worldfile] | info)
-o [OUTPUTFILE], --output [OUTPUTFILE]
Output file name
-l [FORMATTING], --formatting [FORMATTING]
Data formatting (Default: raw; Available: raw |
pretty)
JSON:
XML:
TFW + info:
This repository uses GPLv3 license. See LICENSE for details.