{"id":20602612,"url":"https://github.com/losinggeneration/geojson","last_synced_at":"2025-07-07T02:04:06.826Z","repository":{"id":57487906,"uuid":"61480415","full_name":"losinggeneration/geojson","owner":"losinggeneration","description":"Implementation of the GeoJSON spec for Go","archived":false,"fork":false,"pushed_at":"2016-06-27T00:13:20.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T02:08:45.803Z","etag":null,"topics":["geojson","go","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/losinggeneration.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-19T13:00:37.000Z","updated_at":"2019-01-30T12:15:07.000Z","dependencies_parsed_at":"2022-08-29T11:22:06.925Z","dependency_job_id":null,"html_url":"https://github.com/losinggeneration/geojson","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losinggeneration%2Fgeojson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losinggeneration%2Fgeojson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losinggeneration%2Fgeojson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/losinggeneration%2Fgeojson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/losinggeneration","download_url":"https://codeload.github.com/losinggeneration/geojson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242245348,"owners_count":20096090,"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":["geojson","go","golang"],"created_at":"2024-11-16T09:14:15.992Z","updated_at":"2025-03-06T16:31:33.580Z","avatar_url":"https://github.com/losinggeneration.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"geojson\n=======\n\n[![wercker status](https://app.wercker.com/status/f88b804269b197c17ad2ed5894e0c715/s \"wercker status\")](https://app.wercker.com/project/bykey/f88b804269b197c17ad2ed5894e0c715)\n[![Coverage Status](https://coveralls.io/repos/github/losinggeneration/geojson/badge.svg?branch=master)](https://coveralls.io/github/losinggeneration/geojson?branch=master)\n[![GoDoc](https://godoc.org/github.com/losinggeneration/geojson?status.png)](https://godoc.org/github.com/losinggeneration/geojson)\n[![MIT license](https://img.shields.io/badge/license-MIT-orange.svg?style=flat)](https://github.com/losinggeneration/geojson/blob/master/COPYING)\n\nGeoJSON is a Go library that implements the GeoJSON 1.0 spec.\n\n### About\n\nThis library should make it straight forward to Marshal \u0026 Unmarshal GeoJSON\nobjects in Go. For example, this library will try to keep the Type properly\nset for GeoJSON Objects as defined in the spec during JSON Marshalling. In\nother words, a user doesn't need to explicitly set the Typet field.\n\n### Example\n\n\tGeoJSON{\n\t\tFeature: \u0026Feature{\n\t\t\tID: \"MyFeature\",\n\t\t\tGeometry: \u0026Geometry{\n\t\t\t\tPoint: \u0026Point{\n\t\t\t\t\tCoordinates: Positions{10, 10},\n\t\t\t\t},\n\t\t\t},\n\t\t\tProperties: Properties{\n\t\t\t\t\"prop1\": \"A property\",\n\t\t\t\t\"prop2\": \"A very palpable property\",\n\t\t\t},\n\t\t},\n\t}\n\nwould marshal into the following JSON:\n\n    {\n      \"type\": \"Feature\",\n      \"id\": \"MyFeature\",\n      \"geometry\": {\n        \"type\": \"Point\",\n        \"coordinates\": [10, 10]\n      },\n      \"properties\": {\n        \"prop1\": \"A property\",\n        \"prop2\": \"A very palpable property\"\n      }\n    }\n\n### TODO\n\n* Tests for all each struct's to marshal \u0026 unmarshal to the spec\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosinggeneration%2Fgeojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flosinggeneration%2Fgeojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flosinggeneration%2Fgeojson/lists"}