{"id":13857681,"url":"https://github.com/mdsumner/howzat","last_synced_at":"2025-06-20T06:08:12.125Z","repository":{"id":72211540,"uuid":"219081361","full_name":"mdsumner/howzat","owner":"mdsumner","description":null,"archived":false,"fork":false,"pushed_at":"2019-11-02T01:10:15.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-19T16:13:00.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/mdsumner.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-11-02T00:16:01.000Z","updated_at":"2019-11-02T01:28:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"7b275bea-3ddf-49bc-a19f-83062b3feb66","html_url":"https://github.com/mdsumner/howzat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mdsumner/howzat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fhowzat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fhowzat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fhowzat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fhowzat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdsumner","download_url":"https://codeload.github.com/mdsumner/howzat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdsumner%2Fhowzat/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260891177,"owners_count":23077914,"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":[],"created_at":"2024-08-05T03:01:43.960Z","updated_at":"2025-06-20T06:08:07.101Z","avatar_url":"https://github.com/mdsumner.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# howzat\n\n\u003c!-- badges: start --\u003e\n[![Travis build status](https://travis-ci.org/mdsumner/howzat.svg?branch=master)](https://travis-ci.org/mdsumner/howzat)\n[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/mdsumner/howzat?branch=master\u0026svg=true)](https://ci.appveyor.com/project/mdsumner/howzat)\n[![Codecov test coverage](https://codecov.io/gh/mdsumner/howzat/branch/master/graph/badge.svg)](https://codecov.io/gh/mdsumner/howzat?branch=master)\n\u003c!-- badges: end --\u003e\n\nThe goal of howzat is to convert spatial objects to [WKT (Well-Known-Text) geometry format](https://en.wikipedia.org/wiki/Well-known_text_representation_of_geometry). \n\nWIP: supremely unuseable and untested for now. \n\n## Installation\n\nYou can install the  development version from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"mdsumner/howzat\")\n```\n## Example\n\nThis is a basic example which shows you how to solve a common problem:\n\n```{r example}\nlibrary(howzat)\n\n\nlibrary(silicate)  ## just for data examples\nlibrary(sf)        ## just to verify the formatting\n\nwkt(sfzoo$polygon)\nwkt(sfzoo$polygon) == st_as_text(sfzoo$polygon)\nwkt(st_sfc(sfzoo$multipolygon, sfzoo$multipolygon + 10))\nwkt(st_sf(a = 1, g = st_sfc(sfzoo$multipolygon)))\nwkt(sfzoo$multilinestring)\nwkt(sfzoo$multilinestring) == st_as_text(sfzoo$multilinestring)\nwkt(sfzoo$linestring)\nwkt(sfzoo$linestring) == st_as_text(sfzoo$linestring)\nwkt(sfzoo$multipoint)\nwkt(sfzoo$multipoint) == st_as_text(sfzoo$multipoint)\nwkt(sfzoo$point)\nwkt(sfzoo$point) == st_as_text(sfzoo$point)\n\n\nwkt(sfzoo$multipolygon)\nwkt(sfzoo$multipolygon) == st_as_text(sfzoo$multipolygon)\n\n```\n\n\n---\n\nPlease note that the 'howzat' project is released with a\n  [Contributor Code of Conduct](CODE_OF_CONDUCT.md).\n  By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Fhowzat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdsumner%2Fhowzat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdsumner%2Fhowzat/lists"}