CRAN
googlePolylines 0.7.2
Encoding Coordinates into 'Google' Polylines
Released Nov 23, 2018 by David Cooley
This package can be loaded by Renjin but there was an error compiling C/FORTRAN sources and 4 out 35 tests failed.
An older version of this package is
more compatible with Renjin.
Dependencies
Encodes simple feature ('sf') objects and coordinates, and decodes polylines using the 'Google' polyline encoding algorithm (
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>googlePolylines</artifactId> <version>0.7.2-b1</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:googlePolylines')
Test Results
This package was last tested against Renjin 0.9.2711 on Nov 25, 2018.
- decode-examples
- encode-examples
- encode.*LINES_are_encoded
- encode.*POINTs_are_encoded
- encode.*POLYGONS_are_encoded
- encode.GEOMETRYCOLLECTIONS_error
- encode.UNKNOWN_geometry_&_sf_type
- encode.Z_and_M_attributes_are_encoded
- encode.data_frames_are_encoded
- encode.emptry_geometries_are_handled
- encode.encoding_by_row_is_accurate
- encode.sf_GEOMETRYs_are_encoded
- package.sf-encoded_object_structure_prints_correctly
- sfattributes.geometry_rows_extracted
- sfattributes.sf_attributes_are_extracted
- sfattributes.sf_attributes_extracted
- sfencoded.correct_structure_is_printed
- sfencoded.encoded_attribute_is_attached
- sfencoded.encoded_objects_printed_E1
- sfencoded.encoded_objects_printed_E2
- sfencoded.encoded_objects_printed_E3
- sfencoded.encoded_objects_printed_E4
- sfencoded.encoded_objects_printed_E5
- sfencoded.encoded_objects_printed_E6
- sfencoded.encoded_objects_printed_E7
- sfencoded.encoded_objects_printed_E8
- sfencoded.encoded_objects_printed_E9
- sfencoded.prefix_printed
- sfencoded.sfencoded_attributes_are_removed
- sfencoded.sfencoded_converted_to_data_frame
- sfencoded.subsetting_retains_all_class_attributes
- sfencoded.subsetting_rows_and_columns_works
- sfencoded.zm_attributes_are_removed
- testthat
- utils.lat_and_lon_columns_found