{"id":20145865,"url":"https://github.com/usagi/lonlat","last_synced_at":"2025-08-19T08:33:20.383Z","repository":{"id":62442458,"uuid":"295444127","full_name":"usagi/lonlat","owner":"usagi","description":"LonLat and LonLatAlt geo-location types and utils.","archived":false,"fork":false,"pushed_at":"2020-09-19T00:04:23.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-19T17:05:28.655Z","etag":null,"topics":["degrees-minutes-seconds","dms","geouri","japanese","lonlat","lonlatalt","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usagi.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-09-14T14:36:50.000Z","updated_at":"2020-09-14T14:46:11.000Z","dependencies_parsed_at":"2022-11-01T22:02:23.675Z","dependency_job_id":null,"html_url":"https://github.com/usagi/lonlat","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/usagi/lonlat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Flonlat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Flonlat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Flonlat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Flonlat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usagi","download_url":"https://codeload.github.com/usagi/lonlat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usagi%2Flonlat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271121778,"owners_count":24702872,"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","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["degrees-minutes-seconds","dms","geouri","japanese","lonlat","lonlatalt","rust"],"created_at":"2024-11-13T22:18:31.397Z","updated_at":"2025-08-19T08:33:20.326Z","avatar_url":"https://github.com/usagi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lonlat\n\nLonLat and LonLatAlt geo-location types and utils.\n\n## Features\n\n- [x] `LonLat` and `LonLatAlt` types; `lon: Angle`, `lat: Angle` (, `alt: Length` )\n    - [x] `.try_from` -\u003e `LonLat` -\u003e `.to_string_XXX`\n        - [x] A human readable degrees-minutes-seconds notation patterns. eg, `\"42°49′36”N 140°48′41”E\"`\n        - [x] The GeoURI pattern. eg, `geo:42.826667,140.811389`\n        - [x] Additional language \"ja-JP\"(Japanese; 日本語) supports. eg, `\"北緯42度49分36秒 東経140度48分41秒\"`\n- [x] `lonlat::dimensions::Angle` = `measurement::Angle` + extension `trait`s\n  - [x] `.as_string_radians` -\u003e `\"2.4670994982555996 [rad]\"`\n  - [x] `.as_string_degrees` -\u003e `\"141.35438888888888°\"`\n  - [x] `.as_string_minutes` -\u003e `\"8481.263333333332’\"`\n  - [x] `.as_string_seconds` -\u003e `\"508875.79999999993”\"`\n  - [x] `.as_string_dms_180` -\u003e `\"+141°21’15.8”\"`; \"ja-JP\" feature -\u003e `\"141度21分15.8秒\"`\n  - [x] `.as_string_dms_ns` -\u003e `\"+141°21’15.8”N\"`; \"ja-JP\" feature -\u003e `\"北緯141度21分15.8秒\"`\n  - [x] `.as_string_dms_90` -\u003e `\"+41°21’15.8”\"`; \"ja-JP\" feature -\u003e `\"41度21分15.8秒\"`\n  - [x] `.as_string_dms_ew` -\u003e `\"+41°21’15.8”E\"`; \"ja-JP\" feature -\u003e `\"東経41度21分15.8秒\"`\n  - [x] And more patterns.\n\nNote: To enable `\"ja-JP\"` features if you need additional Japanese features.\n\n## Example and Tests\n\n- To see: [tests/](tests/) and [examples/](examples/).\n\n## License\n\n- [MIT](LICENSE.md)\n\n## Author\n\n- [USAGI.NETWORK / Usagi Ito](https://github.com/usagi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusagi%2Flonlat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusagi%2Flonlat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusagi%2Flonlat/lists"}