{"id":22974144,"url":"https://github.com/diversen/gps-from-exif","last_synced_at":"2025-08-13T14:33:43.922Z","repository":{"id":56969613,"uuid":"51582366","full_name":"diversen/gps-from-exif","owner":"diversen","description":"Simple php class that get Get GPS from file exif info","archived":false,"fork":false,"pushed_at":"2016-07-19T12:09:05.000Z","size":1998,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-20T23:53:53.193Z","etag":null,"topics":["exif-gps","php-gps-exif"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diversen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-12T11:02:07.000Z","updated_at":"2024-04-13T20:11:31.000Z","dependencies_parsed_at":"2022-08-21T06:40:14.330Z","dependency_job_id":null,"html_url":"https://github.com/diversen/gps-from-exif","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fgps-from-exif","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fgps-from-exif/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fgps-from-exif/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fgps-from-exif/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/gps-from-exif/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229767225,"owners_count":18121043,"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":["exif-gps","php-gps-exif"],"created_at":"2024-12-15T00:00:16.279Z","updated_at":"2024-12-15T00:00:18.689Z","avatar_url":"https://github.com/diversen.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gps-from-exif\n\nGet GPS from exif\n\nInstall: \n\n    composer require diversen/gps-from-exif\n\nUsage example: \n\n~~~.php\ninclude_once \"vendor/autoload.php\";\n\nuse \\diversen\\gps;\n\n// Example file\n// $file = \"vendor/diversen/gps-from-exif/failure.jpg\";\n$file = \"vendor/diversen/gps-from-exif/example.jpg\";\n\n$g = new gps();\n\n// Get GPS position\n$gps = $g-\u003egetGpsPosition($file);\nif (empty($gps)) {\n    die('Could not get GPS position' . PHP_EOL);\n}\n\nprint_r($gps);\n\n// Get a google map\necho $gmap = $g-\u003egetGmap($gps['latitude'], $gps['longitude'], 600, 350);\n\n~~~\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fgps-from-exif","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Fgps-from-exif","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fgps-from-exif/lists"}