Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Introduction
# Contributing to the Flexible Polyline Project

## Introduction

The team behind the [Flexible Polyline](https://github.com/heremaps/flexible-polyline) gratefully accepts contributions via
[pull requests](https://help.github.com/articles/about-pull-requests/) filed against the
[GitHub project](https://github.com/heremaps/flexible-polyline/pulls).

# Signing each Commit
## Signing each Commit

As part of filing a pull request we ask you to sign off the
[Developer Certificate of Origin](https://developercertificate.org/) (DCO) in each commit.
Expand All @@ -17,12 +19,14 @@ to indicate that you agree with the DCO.

An example signed commit message:

```
README.md: Fix minor spelling mistake
```txt
README.md: Fix minor spelling mistake

Signed-off-by: John Doe <[email protected]>
Signed-off-by: John Doe <[email protected]>
```

Git has the `-s` flag that can sign a commit for you, see example below:

`$ git commit -s -m 'README.md: Fix minor spelling mistake'`
```sh
git commit -s -m 'README.md: Fix minor spelling mistake'
```
3 changes: 0 additions & 3 deletions javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const LEVEL = 1;
const ALTITUDE = 2;
const ELEVATION = 3;
// Reserved values 4 and 5 should not be selectable
const CUSTOM1 = 6;
const CUSTOM2 = 7;

const Num = typeof BigInt !== "undefined" ? BigInt : Number;

Expand Down Expand Up @@ -195,7 +193,6 @@ function encodeScaledValue(value) {
module.exports = {
encode,
decode,

ABSENT,
LEVEL,
ALTITUDE,
Expand Down
2 changes: 1 addition & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@here/flexpolyline",
"version": "0.1.0",
"version": "0.1.1",
"description": "Flexible Polyline encoding: a lossy compressed representation of a list of coordinate pairs or triples",
"main": "index.js",
"scripts": {
Expand Down