{"id":13527707,"url":"https://github.com/Esri/terraformer-wkt-parser","last_synced_at":"2025-04-01T09:31:57.873Z","repository":{"id":9938197,"uuid":"11953973","full_name":"Esri/terraformer-wkt-parser","owner":"Esri","description":"Well-Known Text parser for Terraformer","archived":true,"fork":false,"pushed_at":"2021-03-08T18:13:13.000Z","size":201,"stargazers_count":78,"open_issues_count":0,"forks_count":30,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-01T12:06:37.396Z","etag":null,"topics":["data-management","esri","geojson","nodejs","wkt"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Esri.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-07T15:52:50.000Z","updated_at":"2025-01-06T10:58:22.000Z","dependencies_parsed_at":"2022-08-31T00:22:00.636Z","dependency_job_id":null,"html_url":"https://github.com/Esri/terraformer-wkt-parser","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fterraformer-wkt-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fterraformer-wkt-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fterraformer-wkt-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Esri%2Fterraformer-wkt-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Esri","download_url":"https://codeload.github.com/Esri/terraformer-wkt-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246616310,"owners_count":20806109,"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":["data-management","esri","geojson","nodejs","wkt"],"created_at":"2024-08-01T06:01:57.864Z","updated_at":"2025-04-01T09:31:57.385Z","avatar_url":"https://github.com/Esri.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Important!\n\nThis repo is part of the Terraformer project which has been archived. See https://github.com/Esri/terraformer#important for more details.\n\n# Terraformer Well-Known Text Parser\n\n[![Build Status](https://travis-ci.org/Esri/terraformer-wkt-parser.svg?branch=master)](https://travis-ci.org/Esri/terraformer-wkt-parser)\n\n\u003e Two way conversion between [GeoJSON](http://geojson.org/geojson-spec.html) and WKT. Part of the [Terraformer](https://terraformer-js.github.io/wkt-parser/) project.\n\n## Installing\n\n### Node.js\n\n    $ npm install terraformer-wkt-parser\n\n### Browser\n\nIn the browser, Terraformer is required to be used as well.\n\n    $ bower install terraformer-wkt-parser\n\n## Documentation\n\nFor full documentation check out https://terraformer-js.github.io/wkt-parser/.\n\n```js\nvar wkt = require('terraformer-wkt-parser');\n\n// parse a WKT file, convert it into a terraformer primitive\nvar primitive = wkt.parse('LINESTRING (30 10, 10 30, 40 40)');\n\n// take a terraformer primitive and convert it into a WKT representation\nvar polygon = wkt.convert(\n  {\n    \"type\": \"Polygon\",\n    \"coordinates\": [\n      [ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ],\n      [ [100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2] ]\n    ]\n  }\n);\n```\n\n```html\n    \u003c!-- Load the main Terraformer library --\u003e\n    \u003cscript src=\"terraformer.min.js\" type=\"text/javascript\"\u003e\u003c/script\u003e\n\n    \u003c!-- Load the WKT Parser --\u003e\n    \u003cscript src=\"terraformer-wkt-parser.min.js\" type=\"text/javascript\"\u003e\u003c/script\u003e\n\n    \u003c!-- Use it! --\u003e\n    \u003cscript\u003e\n      var primitive = Terraformer.WKT.parse('LINESTRING (30 10, 10 30, 40 40)');\n    \u003c/script\u003e\n```\n\n## Resources\n\n* [Terraformer Website](http://terraformer.io)\n* [twitter@EsriPDX](http://twitter.com/esripdx)\n\n## Issues\n\nFind a bug or want to request a new feature?  Please let us know by submitting an issue.\n\n## Contributing\n\nEsri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](https://github.com/esri/contributing).\n\n## Licensing\n\nA copy of the license is available in the repository's [LICENSE](./LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEsri%2Fterraformer-wkt-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FEsri%2Fterraformer-wkt-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FEsri%2Fterraformer-wkt-parser/lists"}