{"id":27345131,"url":"https://github.com/jeafreezy/rsgis","last_synced_at":"2025-04-12T17:54:54.994Z","repository":{"id":57463046,"uuid":"280687301","full_name":"jeafreezy/rsgis","owner":"jeafreezy","description":"A python package for basic to advanced  GIS operations.","archived":false,"fork":false,"pushed_at":"2020-07-27T10:55:56.000Z","size":63,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T17:54:49.805Z","etag":null,"topics":["analysis","data-science","gis","python"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/rsgis/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeafreezy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-18T15:45:14.000Z","updated_at":"2024-07-17T19:09:16.000Z","dependencies_parsed_at":"2022-09-10T22:30:52.178Z","dependency_job_id":null,"html_url":"https://github.com/jeafreezy/rsgis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeafreezy%2Frsgis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeafreezy%2Frsgis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeafreezy%2Frsgis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeafreezy%2Frsgis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeafreezy","download_url":"https://codeload.github.com/jeafreezy/rsgis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610385,"owners_count":21132920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["analysis","data-science","gis","python"],"created_at":"2025-04-12T17:54:54.203Z","updated_at":"2025-04-12T17:54:54.979Z","avatar_url":"https://github.com/jeafreezy.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Content\n - [Current release](#Current_Release)\n - [Future release](#Future_Release)\n - [Installation](#Installation)\n - [Quick tutorial](#Quick_Tutorial)\n - [Command line Use](#Command_Line_Use)\n - [Running the tests](#Running_The_Tests)\n - [Authors](#Authors)\n - [License](#License)\n \n\n# rsgis\nA python package for basic to Advanced GIS operations.\n\n# Current_Release \n- Metadata support module for landsat\n- Landsat module for landsat bands extraction and manipulation\n\n# Future_Release \n- Metadata support for other file formats(sentinel,NetCDF etc)\n- A one liner for basic to advanced GIS operations\n- NDVI,NDWI,NDBI\n- Image subsetting/clipping support\n \n# Installation\nThe package is available on the python package index(Pypi),to install use the command below;\n### Python version 3.0 +\u003cbr\u003e\n  ```python\n        pip install rsgis\n        pip install rsgis==0.0.3\n  ```\n\n# Quick_Tutorial\n### Using the landsat module \u003cbr\u003e\n```python\n     #import the module\n    from rsgis import landsat\n    \n    #Extract all files\n    data = landsat.extract(path/to/landsat/dataset)\n\n    #To check path to extracted data\n    data.path\n\n    #Extract specific bands\n    #Here we will extract the metadata = 0, band1 = 1 and band2 = 2\n\n    data = landsat.extract(path/to/landsat/dataset, bands = [0, 1, 2])\n    \n    #Get metadata path\n    data.get_metadata()\n    \n    #Get path(s) to specific band(s)\n    #In this example, we will be getting band4 and band5\n    data.get_bands(4, 5)\n\n```\n### Using the Metadata module with the Landsat Module \u003cbr\u003e\n```python\n    #import the class\n    from rsgis import Metadata,landsat\n    data = landsat.extract(path/to/landsat/dataset)\n    meta_path=data.get_metadata()\n    mtd=Metadata(meta_path)\n    #usage\n    mtd.get('SUN') #to get a single parameter. Might return a list of dict if found multiple match. Be specific to avoid this.\n    \n    mtd.get_all() #returns a dict of all available parameters in the metadata file\n    \n    mtd.get_some(['sun','path','row']) #To get multiple parameters. Returns a list of values.\n``` \n# Command_Line_Use\nChange directory into the rsgis folder to run\n```shell script\n\n    python main.py --dir_path [path/to/metadata/file] --get [parametr to get]\n    #This command returns the result of the --get query \n```      \n# Running_The_Tests\n\n Paste a metadata file in the data dir(delete old one) in tests and cd into the test dir then run in terminal\u003cbr\u003e\n\n    python metadata_test.py \n If no error,then you can go ahead to do some magic.\n# Contributing\n\n PRs and issues are welcomed and not limited to the following:\n - Code documentation\n - Refactoring\n - Adding support for other metadata file types etc\n \n# Authors\n**Jolaiya Emmanuel** - [Twitter](https://twitter.com/jeafreezy), [Email](jolaiyaemmanuel@gmail.com) \u003cbr\u003e\n**Oke Matthew** - [Email](matthewoke16@gmail.com) \u003cbr\u003e\n\n# License\nThis project is licensed under the Apache 2.0 License - see the [LICENSE.md](LICENSE.md) file for details\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeafreezy%2Frsgis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeafreezy%2Frsgis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeafreezy%2Frsgis/lists"}