A python package for basic GIS operations
Project description
rsgis
A python package for basic GIS operations.
Current release
- Metadata file handling API
Installation
Python version 3.0 +
pip install rsgis
Using the Metadata module
#import the class
from rsgis import Metadata
#instantiate the class
mtd=Metadata(path/to/landsat/metadata/file)
#usage
mtd.get('SUN') #to get a single parameter. Might return a list of dict if found multiple match. Be specific to avoid this.
met.get_all() #returns a dict of all available parameters in the metadata file
mtd.get_some(['sun','path','row']) #To get multiple parameters. Returns a list of values.
Running the tests
Paste a metadata file in the data dir(delete old one) in tests and run
python metadata_test.py in terminal
If no error,then the file is valid. You can go ahead to using the class.
Contributing.
PRs and issues are welcomed.
Authors:
Jolaiya Emmanuel - @jeafreezy
License
This project is licensed under the Apache 2.0 License - see the LICENSE.md file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rsgis-0.0.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
rsgis-0.0.1-py3-none-any.whl
(9.4 kB
view hashes)