{"id":26924221,"url":"https://github.com/marlonlom/latlng2dms","last_synced_at":"2025-04-02T01:53:34.826Z","repository":{"id":57727235,"uuid":"86506209","full_name":"marlonlom/latlng2dms","owner":"marlonlom","description":"Some utilities for converting latitude/longitudes to degrees/minutes/seconds format","archived":false,"fork":false,"pushed_at":"2017-03-29T17:58:21.000Z","size":160,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-16T12:52:05.050Z","etag":null,"topics":["coordinates","dms","geography","java"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/marlonlom.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":"2017-03-28T20:52:30.000Z","updated_at":"2019-05-15T05:14:17.000Z","dependencies_parsed_at":"2022-09-26T21:51:19.225Z","dependency_job_id":null,"html_url":"https://github.com/marlonlom/latlng2dms","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlonlom%2Flatlng2dms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlonlom%2Flatlng2dms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlonlom%2Flatlng2dms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marlonlom%2Flatlng2dms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marlonlom","download_url":"https://codeload.github.com/marlonlom/latlng2dms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741135,"owners_count":20826064,"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":["coordinates","dms","geography","java"],"created_at":"2025-04-02T01:53:34.279Z","updated_at":"2025-04-02T01:53:34.814Z","avatar_url":"https://github.com/marlonlom.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# latlng2dms - Latitude/Longitude to DMS representation\n\n[![GitHub issues](https://img.shields.io/github/issues/marlonlom/latlng2dms.svg?style=flat-square)](https://github.com/marlonlom/latlng2dms/issues)\n![Github Releases](https://img.shields.io/github/downloads/marlonlom/latlng2dms/latest/total.svg?style=flat-square)\n[![Bintray](https://img.shields.io/bintray/v/marlonlom/latlng2dms/latlng2dms.svg?style=flat-square)](https://github.com/marlonlom/latlng2dms)\n[![Build Status](https://travis-ci.org/marlonlom/latlng2dms.svg?branch=master\u0026style=flat-square)](https://travis-ci.org/marlonlom/latlng2dms)\n[![Download](https://api.bintray.com/packages/marlonlom/latlng2dms/latlng2dms/images/download.svg) ](https://bintray.com/marlonlom/latlng2dms/latlng2dms/_latestVersion)\n\n\nSome utilities for converting latitude/longitudes to degrees/minutes/seconds format\n\n## Examples:\n- 40°26′46″ N, 79°58′56″ W\n- 2°20'24\" N, 5°20'24\" W\n\n## Usage:\n\n### Import as a dependency:\n\nGradle:\n\n```\ncompile 'com.github.marlonlom:latlng2dms:$latestVersion'\n```\n\nMaven:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.marlonlom\u003c/groupId\u003e\n  \u003cartifactId\u003elatlng2dms\u003c/artifactId\u003e\n  \u003cversion\u003e$latestVersion\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Use it in your code:\n\nWith coordinates:\n\n```java\nfinal Double[] coordinates = {151.209900d, -33.865143d};\nfinal String converted = LatsLngs.with(coordinates).toDms();\n/* Will return 33°51'54\" S, 151°12'35\" E */\n```\n\nOr with single longitude/latitude value:\n\n```java\nfinal Double value = -34.206841d;\nfinal String converted = LatsLngs.with(value).asLatitude().toDms();\n/* Will return 34°12'24 S */\n```\n\n\n## Spread the word\n\nIf you like this library, please tell others about it :thumbsup::thumbsup:\n\n\u003ca href=\"https://twitter.com/intent/tweet?text=Trying%20to%20show%20coordinates%20more%20friendly%3F%20Check%20out%20this%20awesome%20library%20on%20Github%3A%20https://github.com/marlonlom/latlng2dms\" target=\"_blank\" title=\"share to twitter\" style=\"width:100%\"\u003e\u003cimg src=\"https://github.com/marlonlom/staticmaps_builder/blob/master/design/twitter_icon.png\" title=\"Share on Twitter\" width=\"35\" height=35 /\u003e\n\u003ca href=\"https://plus.google.com/share?url=https://github.com/marlonlom/latlng2dms\" target=\"_blank\" title=\"share to G+\" style=\"width:100%\"\u003e\u003cimg src=\"https://github.com/marlonlom/staticmaps_builder/blob/master/design/googleplus_icon.png\" target=\"_blank\"  title=\"Share on Google+\" width=\"35\" height=35 /\u003e\n\u003ca href=\"https://www.facebook.com/sharer/sharer.php?u=https://github.com/marlonlom/latlng2dms\" target=\"_blank\" title=\"share to facebook\" style=\"width:100%\"\u003e\u003cimg src=\"https://github.com/marlonlom/staticmaps_builder/blob/master/design/facebook_icon.png\" title=\"Share on Facebook\" width=\"35\" height=35 /\u003e\n\n - []()Follow me on **Twitter**: [**@Marlonlom**](https://twitter.com/marlonlom)\n - Contact me on **LinkedIn**: [**Marlonlom**](https://co.linkedin.com/in/marlonlom)\n\n\n### License\n\n```\nCopyright 2017 marlonlom\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarlonlom%2Flatlng2dms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarlonlom%2Flatlng2dms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarlonlom%2Flatlng2dms/lists"}