gepaf
Encode and decode the Google Encoded Polyline Algorithm Format
Science Score: 52.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
✓Institutional organization owner
Organization riatelab has institutional domain (riate.cnrs.fr) -
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.3%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
·
Repository
Encode and decode the Google Encoded Polyline Algorithm Format
Statistics
- Stars: 6
- Watchers: 4
- Forks: 1
- Open Issues: 0
- Releases: 3
Created about 10 years ago
· Last pushed over 1 year ago
Metadata Files
Readme
Changelog
Citation
Codemeta
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# gepaf
[](https://cran.r-project.org/package=gepaf)
[](https://CRAN.R-project.org/package=gepaf)
[](https://www.repostatus.org/#active)
The goal of gepaf is to encode and decode the Google Encoded Polyline Algorithm Format.
## Example
**Encoding**
```{r}
library(gepaf)
coords <- data.frame(
lat = c(38.5, 40.7, 43.252),
lon = c(-120.2, -120.95, -126.453)
)
encpoly <- encodePolyline(coords)
encpoly
```
**Decoding**
```{r}
coords <- decodePolyline(enc_polyline = "_p~iF~ps|U_ulLnnqC_mqNvxq`@")
coords
```
## References :
Mostly a translation of https://github.com/mthh/polyline_ggl/ (itself a modest translation of other well known available implementations such as [Node.js Mapbox](https://www.npmjs.com/package/polyline) one)
## Alternative
- [`googlePolylines`](https://CRAN.R-project.org/package=googlePolylines)
Owner
- Name: riatelab
- Login: riatelab
- Kind: organization
- Location: Paris
- Website: https://riate.cnrs.fr
- Repositories: 49
- Profile: https://github.com/riatelab
Spatial analysis and mapping software packages created by the Center for Spatial Analysis and Geovisualization - RIATE
Citation (CITATION.cff)
# --------------------------------------------
# CITATION file created with {cffr} R package
# See also: https://docs.ropensci.org/cffr/
# --------------------------------------------
cff-version: 1.2.0
message: 'To cite package "gepaf" in publications use:'
type: software
license: GPL-3.0-only
title: 'gepaf: Google Encoded Polyline Algorithm Format'
version: 0.2.0
doi: 10.32614/CRAN.package.gepaf
abstract: Encode and decode the Google Encoded Polyline Algorithm Format. See <https://developers.google.com/maps/documentation/utilities/polylinealgorithm>
for more information.
authors:
- family-names: Viry
given-names: Matthieu
email: matthieu.viry@cnrs.fr
orcid: https://orcid.org/0000-0002-0693-8556
- family-names: Giraud
given-names: Timothée
email: timothee.giraud@cnrs.fr
orcid: https://orcid.org/0000-0002-1932-3323
repository: https://CRAN.R-project.org/package=gepaf
repository-code: https://github.com/mthh/gepaf
url: https://github.com/mthh/gepaf
contact:
- family-names: Giraud
given-names: Timothée
email: timothee.giraud@cnrs.fr
orcid: https://orcid.org/0000-0002-1932-3323
references:
- type: software
title: bitops
abstract: 'bitops: Bitwise Operations'
notes: Imports
url: https://github.com/mmaechler/R-bitops
repository: https://CRAN.R-project.org/package=bitops
authors:
- family-names: Dutky
given-names: Steve
email: sdutky@terpalum.umd.edu
- family-names: Maechler
given-names: Martin
email: maechler@stat.math.ethz.ch
orcid: https://orcid.org/0000-0002-8685-9910
year: '2024'
doi: 10.32614/CRAN.package.bitops
- type: software
title: tinytest
abstract: 'tinytest: Lightweight and Feature Complete Unit Testing Framework'
notes: Suggests
url: https://github.com/markvanderloo/tinytest
repository: https://CRAN.R-project.org/package=tinytest
authors:
- family-names: Loo
given-names: Mark
name-particle: van der
email: mark.vanderloo@gmail.com
orcid: https://orcid.org/0000-0002-9807-4686
year: '2024'
doi: 10.32614/CRAN.package.tinytest
CodeMeta (codemeta.json)
{
"@context": "https://doi.org/10.5063/schema/codemeta-2.0",
"@type": "SoftwareSourceCode",
"identifier": "gepaf",
"description": "Encode and decode the Google Encoded Polyline Algorithm Format. See <https://developers.google.com/maps/documentation/utilities/polylinealgorithm> for more information.",
"name": "gepaf: Google Encoded Polyline Algorithm Format",
"codeRepository": "https://github.com/mthh/gepaf",
"issueTracker": "https://github.com/mthh/gepaf/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.2.0",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
"url": "https://r-project.org"
},
"runtimePlatform": "R version 4.4.1 (2024-06-14)",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"author": [
{
"@type": "Person",
"givenName": "Matthieu",
"familyName": "Viry",
"email": "matthieu.viry@cnrs.fr",
"@id": "https://orcid.org/0000-0002-0693-8556"
}
],
"contributor": [
{
"@type": "Person",
"givenName": "Timothe",
"familyName": "Giraud",
"email": "timothee.giraud@cnrs.fr",
"@id": "https://orcid.org/0000-0002-1932-3323"
}
],
"maintainer": [
{
"@type": "Person",
"givenName": "Timothe",
"familyName": "Giraud",
"email": "timothee.giraud@cnrs.fr",
"@id": "https://orcid.org/0000-0002-1932-3323"
}
],
"softwareSuggestions": [
{
"@type": "SoftwareApplication",
"identifier": "tinytest",
"name": "tinytest",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=tinytest"
}
],
"softwareRequirements": {
"1": {
"@type": "SoftwareApplication",
"identifier": "bitops",
"name": "bitops",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=bitops"
},
"SystemRequirements": null
},
"fileSize": "8.795KB"
}
GitHub Events
Total
- Release event: 1
- Watch event: 1
- Push event: 1
- Create event: 1
Last Year
- Release event: 1
- Watch event: 1
- Push event: 1
- Create event: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: almost 4 years
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 1.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- rCarto (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 323 last-month
- Total docker downloads: 1,419
- Total dependent packages: 1
- Total dependent repositories: 1
- Total versions: 3
- Total maintainers: 1
cran.r-project.org: gepaf
Google Encoded Polyline Algorithm Format
- Homepage: https://github.com/riatelab/gepaf
- Documentation: http://cran.r-project.org/web/packages/gepaf/gepaf.pdf
- License: GPL-3
-
Latest release: 0.2.0
published over 1 year ago
Rankings
Docker downloads count: 16.1%
Dependent packages count: 18.1%
Stargazers count: 20.6%
Forks count: 21.0%
Dependent repos count: 24.0%
Average: 25.6%
Downloads: 53.6%
Maintainers (1)
Last synced:
10 months ago
Dependencies
DESCRIPTION
cran
- bitops * imports