Mercurial > gemma
comparison client/src/lib/geo.js @ 2293:1fa336076a17
client: fixing lib/geo.js build
* Comment out unused import, introduced by 2323:627bfcbbf631, so that
the client builds again without unused error message.
* Update header infos with year and additional author.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Mon, 18 Feb 2019 10:25:46 +0100 |
parents | f06e9e0cb790 |
children | dbf28b27b74e |
comparison
equal
deleted
inserted
replaced
2292:7b62191ed955 | 2293:1fa336076a17 |
---|---|
2 * without warranty, see README.md and license for details. | 2 * without warranty, see README.md and license for details. |
3 * | 3 * |
4 * SPDX-License-Identifier: AGPL-3.0-or-later | 4 * SPDX-License-Identifier: AGPL-3.0-or-later |
5 * License-Filename: LICENSES/AGPL-3.0.txt | 5 * License-Filename: LICENSES/AGPL-3.0.txt |
6 * | 6 * |
7 * Copyright (C) 2018 by via donau | 7 * Copyright (C) 2018, 2019 by via donau |
8 * – Österreichische Wasserstraßen-Gesellschaft mbH | 8 * – Österreichische Wasserstraßen-Gesellschaft mbH |
9 * Software engineering by Intevation GmbH | 9 * Software engineering by Intevation GmbH |
10 * | 10 * |
11 * Author(s): | 11 * Author(s): |
12 * Thomas Junk <thomas.junk@intevation.de> | 12 * Thomas Junk <thomas.junk@intevation.de> |
13 * Raimund Renkert <raimund.renkert@intevation.de> | |
13 */ | 14 */ |
14 | 15 |
15 /** | 16 /** |
16 * | 17 * |
17 * Distance calculations | 18 * Distance calculations |
28 point as turfPoint | 29 point as turfPoint |
29 } from "@turf/helpers"; | 30 } from "@turf/helpers"; |
30 import lineSplit from "@turf/line-split"; | 31 import lineSplit from "@turf/line-split"; |
31 import lineSlice from "@turf/line-slice"; | 32 import lineSlice from "@turf/line-slice"; |
32 import lineIntersect from "@turf/line-intersect"; | 33 import lineIntersect from "@turf/line-intersect"; |
33 import booleanWithin from "@turf/boolean-within"; | 34 // import booleanWithin from "@turf/boolean-within"; |
34 import booleanContains from "@turf/boolean-contains"; | 35 import booleanContains from "@turf/boolean-contains"; |
35 | 36 |
36 const EARTHRADIUS = 6378137.0; | 37 const EARTHRADIUS = 6378137.0; |
37 | 38 |
38 /** | 39 /** |