0.0.13 • Published 8 years ago

geo-util v0.0.13

Weekly downloads
42
License
-
Repository
gitlab
Last release
8 years ago

geo-util

天眼的点,线,多边形的工具函数

通用

toGeoJson(collection)

isPoints(collection)

isLines(collection)

isPolygons(collection)

点(point)

selectByBoundaries(points, boundaries)

selectByCircle(points, center, radius)

selectByTime(points, time)

selectByEarlyThan(points, time)

selectByLaterThan(points, time)

selectByFunction(points, func)

toGeoHashes(points, geohashLevel)

toBboxes(points)

toLines(points)

clusterByCircle(points, center, radius, reducer)

clusterByGeohash(points, geohashLevel, reducer)

clusterByFunction(points, func, reducer)

线(line)

selectStart(lines)

selectEnd(lines)

toPoints(lines)

toLdmapTrails(lines)

toLdmapFlyline(lines)

simplify(lines, maxPoint)

多边形(polygon)

toPoints(polygons)

simplify(polygons, maxPoint)

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago