Giter VIP home page Giter VIP logo

gmlparser's Introduction

GML data parser for JPEG2000 files

Simple JPEG2000 GML data parser / extractor, without additional tools such as GDAL (Geospatial Data Abstraction Library). Just pure Python 3.

Requirements

  • Python 3 (Arch Linux: python)

  • Python 3 XML-to-dict (Arch Linux: python-lxml)

Usage

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)

Examples (commands + output):

JSON:

XML:

TFW + info:

License

This repository uses GPLv3 license. See LICENSE for details.

gmlparser's People

Contributors

fincer avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.