{"id":23347029,"url":"https://github.com/robintw/latlongtowrs","last_synced_at":"2025-04-10T03:44:51.035Z","repository":{"id":7229578,"uuid":"8537941","full_name":"robintw/LatLongToWRS","owner":"robintw","description":"Python code to get a Landsat WRS-2 path and row from a latitude/longitude co-ordinate","archived":false,"fork":false,"pushed_at":"2020-01-06T19:16:18.000Z","size":6,"stargazers_count":36,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T15:57:18.528Z","etag":null,"topics":["landsat","location","python","satellite","science"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robintw.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":"2013-03-03T15:20:35.000Z","updated_at":"2024-02-21T13:10:57.000Z","dependencies_parsed_at":"2022-07-21T11:32:36.798Z","dependency_job_id":null,"html_url":"https://github.com/robintw/LatLongToWRS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robintw%2FLatLongToWRS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robintw%2FLatLongToWRS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robintw%2FLatLongToWRS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robintw%2FLatLongToWRS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robintw","download_url":"https://codeload.github.com/robintw/LatLongToWRS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248154975,"owners_count":21056541,"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":["landsat","location","python","satellite","science"],"created_at":"2024-12-21T07:17:28.666Z","updated_at":"2025-04-10T03:44:51.007Z","avatar_url":"https://github.com/robintw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"This code finds the Landsat WRS-2 path/row which contains a given latitude/longitude co-ordinate.\n\n# Dependencies #\n* [GDAL/ORG](https://pypi.python.org/pypi/GDAL/)\n* [Shapely](https://pypi.python.org/pypi/Shapely)\n* Landsat WRS-2 Path/Row Shapefiles - download from [USGS site](https://www.usgs.gov/media/files/landsat-wrs-2-descending-path-row-shapefile)\n\n# How to use #\n\t\u003e\u003e\u003e from get_wrs import ConvertToWRS\n\t\u003e\u003e\u003e conv = ConvertToWRS()\n\t\u003e\u003e\u003e conv.get_wrs(50.14, -1.7)\n\t[{'path': 202, 'row': 25}]\n\t\u003e\u003e\u003e conv.get_wrs(50.14, -1.43)\n\t[{'path': 201, 'row': 25}, {'path': 202, 'row': 25}]\n\nIf you can't put the shapefile in the same folder as the code, then you can pass the path to the shapefile as an argument - for example: `ConvertToWRS(shapefile=\"\\path\\to\\shapefile.shp\")`.\n\nMore details are available in the docstrings (try `ConvertToWRS?` or `conv.get_wrs?` in IPython) and in my original [blog post](#).\n\n# License #\nThis code is released under the 3-clause BSD license (see the LICENSE file for more information).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobintw%2Flatlongtowrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobintw%2Flatlongtowrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobintw%2Flatlongtowrs/lists"}