{"id":43649709,"url":"https://github.com/jarjk/srtm_reader","last_synced_at":"2026-02-04T19:08:43.272Z","repository":{"id":248767709,"uuid":"829656155","full_name":"jarjk/srtm_reader","owner":"jarjk","description":"Read SRTM \"Shuttle Radar Topography Mission\" elevation data from `.hgt` files in Rust.","archived":false,"fork":false,"pushed_at":"2025-06-18T20:35:52.000Z","size":9827,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-13T10:30:44.982Z","etag":null,"topics":["dem","dtm","elevation","geospatial","hgt","lib","parser","reader","rust","srtm"],"latest_commit_sha":null,"homepage":"https://lib.rs/crates/srtm_reader","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"grtlr/srtm","license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jarjk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-16T21:50:55.000Z","updated_at":"2025-08-03T16:56:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"939f9e48-f5a9-433e-a0bc-d2c90e8faf6e","html_url":"https://github.com/jarjk/srtm_reader","commit_stats":null,"previous_names":["jeromeschmied/srtm","jeromeschmied/srtm_reader","jarjk/srtm_reader"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jarjk/srtm_reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarjk%2Fsrtm_reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarjk%2Fsrtm_reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarjk%2Fsrtm_reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarjk%2Fsrtm_reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jarjk","download_url":"https://codeload.github.com/jarjk/srtm_reader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jarjk%2Fsrtm_reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29093030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["dem","dtm","elevation","geospatial","hgt","lib","parser","reader","rust","srtm"],"created_at":"2026-02-04T19:08:42.534Z","updated_at":"2026-02-04T19:08:43.267Z","avatar_url":"https://github.com/jarjk.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SRTM/HGT reader\n\nA performant DTM[(srtm)](https://www.earthdata.nasa.gov/sensors/srtm) reader for `.hgt` files in [Rust](https://rust-lang.org).\n\n## Supported resolutions\n\n-   0.5 angle second (SRTM05) \u003c- *not sure that's how it's called*\n-   1 angle second (SRTM1)\n-   3 angle second (SRTM3)\n\n-   _feel free to open an issue if you need more_\n\n## Example\n\n```rust\nuse srtm_reader::*;\n\nlet coord = Coord::new(13.3255424, 56.92856);\n// we get the filename, that shall include the elevation data for this `coord`\nlet filename = coord.get_filename();\n// load the srtm, .hgt file\n// NOTE: to be able to load it, you'll need the actual file\nlet tile = srtm_reader::Tile::from_file(filename).unwrap();\n// and finally, retrieve our elevation data\nlet elevation = tile.get(coord);\n```\n\nalso, see [cli example](./examples/cli.rs) for a real-life one\n\n\u003e [!NOTE]\n\u003e a great source of DEM data, `.hgt` files is [Sonny's collection](https://sonny.4lima.de/)\n\n## Dependents\n\n-   [fit2gpx-rs](https://github.com/jarjk/fit2gpx-rs)\n-   *file an issue if yours could be listed as well*\n\n## Disclaimer\n\nthis crate is a forked version of the [srtm crate](https://github.com/grtlr/srtm) which hasn't been updated in 6 years, and the PR hasn't been merged either in a long time.\nI've needed 0.5 angle support and also some more convenience methods for [fit2gpx-rs](https://github.com/jarjk/fit2gpx-rs), and here we are.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarjk%2Fsrtm_reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjarjk%2Fsrtm_reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjarjk%2Fsrtm_reader/lists"}