{"id":18600654,"url":"https://github.com/georust/geojson","last_synced_at":"2026-03-17T22:04:02.594Z","repository":{"id":20727839,"uuid":"24011994","full_name":"georust/geojson","owner":"georust","description":"Library for serializing the GeoJSON vector GIS file format","archived":false,"fork":false,"pushed_at":"2024-10-27T20:29:38.000Z","size":1694,"stargazers_count":276,"open_issues_count":29,"forks_count":60,"subscribers_count":19,"default_branch":"main","last_synced_at":"2024-10-29T20:23:29.498Z","etag":null,"topics":["geojson","geospatial","rust"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/geojson","language":"Rust","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/georust.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-09-14T02:49:21.000Z","updated_at":"2024-10-29T16:22:07.000Z","dependencies_parsed_at":"2024-01-06T05:34:12.422Z","dependency_job_id":"322af358-928a-4157-b338-4b98558a6765","html_url":"https://github.com/georust/geojson","commit_stats":{"total_commits":409,"total_committers":31,"mean_commits":"13.193548387096774","dds":0.5281173594132029,"last_synced_commit":"ab5d70d44c9ef671d431a7409a469bc56074611c"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georust%2Fgeojson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georust%2Fgeojson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georust%2Fgeojson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/georust%2Fgeojson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/georust","download_url":"https://codeload.github.com/georust/geojson/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248335154,"owners_count":21086525,"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","geospatial","rust"],"created_at":"2024-11-07T02:04:52.416Z","updated_at":"2026-03-17T22:04:02.587Z","avatar_url":"https://github.com/georust.png","language":"Rust","funding_links":[],"categories":["Libraries","Programming Libraries"],"sub_categories":["Geospatial","Rust"],"readme":"# geojson\n\n[Documentation](https://docs.rs/geojson/)\n\nLibrary for serializing the [GeoJSON](http://geojson.org) vector GIS file format\n\n## Minimum Rust Version\n\nThis library requires a minimum Rust version of 1.34 (released April 11 2019)\n\n## Examples\n\n### Reading\n\n```rust\nuse geojson::GeoJson;\n\nlet geojson_str = r#\"\n{\n    \"type\": \"Feature\",\n    \"properties\": {\n        \"name\": \"Firestone Grill\"\n    },\n    \"geometry\": {\n        \"type\": \"Point\",\n        \"coordinates\": [-120.66029,35.2812]\n    }\n}\n\"#;\n\nlet geojson = geojson_str.parse::\u003cGeoJson\u003e().unwrap();\n```\n\n### Writing\n\n```rust\nuse geojson::{Feature, GeoJson, Geometry, JsonObject, JsonValue};\n\nlet geometry = Geometry::new_point([-120.66029, 35.2812]);\n\nlet mut properties = JsonObject::new();\nproperties.insert(\n    String::from(\"name\"),\n    JsonValue::from(\"Firestone Grill\"),\n);\n\nlet geojson = GeoJson::Feature(Feature {\n    bbox: None,\n    geometry: Some(geometry),\n    id: None,\n    properties: Some(properties),\n    foreign_members: None,\n});\n\nlet geojson_string = geojson.to_string();\n```\n\n## License\n\nLicensed under either of\n\n* Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)\n\nat your option.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any\nadditional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorust%2Fgeojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeorust%2Fgeojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeorust%2Fgeojson/lists"}