{"id":15176839,"url":"https://github.com/mmintel/gatsby-transformer-reverse-geojson","last_synced_at":"2026-03-02T10:02:05.440Z","repository":{"id":57245189,"uuid":"239293239","full_name":"mmintel/gatsby-transformer-reverse-geojson","owner":"mmintel","description":"Reverse geocodes frontmatter fields in GeoJSON format","archived":false,"fork":false,"pushed_at":"2020-02-09T11:34:54.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T05:13:58.928Z","etag":null,"topics":["gatsby-plugin","gatsbyjs","geocoder","nodejs","opencage"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/mmintel.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":"2020-02-09T11:29:34.000Z","updated_at":"2020-03-19T13:39:57.000Z","dependencies_parsed_at":"2022-09-01T04:31:38.718Z","dependency_job_id":null,"html_url":"https://github.com/mmintel/gatsby-transformer-reverse-geojson","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mmintel/gatsby-transformer-reverse-geojson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmintel%2Fgatsby-transformer-reverse-geojson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmintel%2Fgatsby-transformer-reverse-geojson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmintel%2Fgatsby-transformer-reverse-geojson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmintel%2Fgatsby-transformer-reverse-geojson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmintel","download_url":"https://codeload.github.com/mmintel/gatsby-transformer-reverse-geojson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmintel%2Fgatsby-transformer-reverse-geojson/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: 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":["gatsby-plugin","gatsbyjs","geocoder","nodejs","opencage"],"created_at":"2024-09-27T14:00:17.767Z","updated_at":"2026-03-02T10:02:05.397Z","avatar_url":"https://github.com/mmintel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gatsby-transformer-reverse-geojson\nReverse geocodes GeoJSON data.\n---\nLet's say you have this data in your frontmatter:\n```\nlocation: '{\"type\":\"Point\",\"coordinates\":[7.1217982,50.9882845]}'\n```\nThis transformer will find it, pass it to Opencage and create gatsby nodes containing the reverse geocoded response.\n\nYou can query it like this as a child node:\n```\nchildMarkdownRemark {\n  frontmatter {\n    location\n  }\n  childLocationGeo {\n    formatted\n  }\n}\n```\n\nor like this to retrieve all of them\n```\nallLocationGeo {\n    edges {\n      node {\n        formatted\n      }\n    }\n  }\n```\n\n## Install\n`yarn add gatsby-transformer-reverse-geojson`\n\n## How to use\nSign up for an [Opencage](https://opencagedata.com/) api key.\nIn your`gatsby-config.js` add:\n```\n{\n  resolve: 'gatsby-transformer-reverse-geojson',\n  options: {\n    apiKey: 'YOUR OPENCAGE API KEY'\n  }\n}\n```\n\n## Please note\nCurrently only supports the `type: \"Point\"` (default) widget. If you need more just let me know.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmintel%2Fgatsby-transformer-reverse-geojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmintel%2Fgatsby-transformer-reverse-geojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmintel%2Fgatsby-transformer-reverse-geojson/lists"}