All Projects → stepankuzmin → node-isochrone

stepankuzmin / node-isochrone

Licence: MIT license
NodeJS isochrone map library

Programming Languages

javascript
184084 projects - #8 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to node-isochrone

amap
行政区域查询,根据经纬度快速地查找特定的行政区域信息、省市区信息、中国省市区数据。Administrative region query: to quickly find specific administrative region information based on latitude and longitude provincial information urban China data
Stars: ✭ 31 (+14.81%)
Mutual labels:  map, geojson
China geojson
中国行政区划地图数据(省、市、县),geojson格式,可直接用于D3.js,Echarts.js可视化
Stars: ✭ 51 (+88.89%)
Mutual labels:  map, geojson
Mapbox Gl Native
Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
Stars: ✭ 4,091 (+15051.85%)
Mutual labels:  map, geojson
Vector Datasource
Tilezen vector tile service - OpenStreetMap data in several formats
Stars: ✭ 427 (+1481.48%)
Mutual labels:  map, geojson
Mapboxstatic.swift
Static map snapshots with overlays in Swift or Objective-C on iOS, macOS, tvOS, and watchOS
Stars: ✭ 162 (+500%)
Mutual labels:  map, geojson
Osrm Backend
Open Source Routing Machine - C++ backend
Stars: ✭ 4,716 (+17366.67%)
Mutual labels:  osrm, isochrones
Mapbox Gl Js
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
Stars: ✭ 8,017 (+29592.59%)
Mutual labels:  map, geojson
routing-py
🌎 Python library to access all public routing, isochrones and matrix APIs in a consistent manner.
Stars: ✭ 106 (+292.59%)
Mutual labels:  osrm, isochrones
Gcoord
地理坐标系转换工具
Stars: ✭ 2,206 (+8070.37%)
Mutual labels:  map, geojson
Mapbox Gl Native Android
Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL
Stars: ✭ 135 (+400%)
Mutual labels:  map, geojson
Geojson2svg
Converts geojson to svg string given svg viewport size and maps extent.
Stars: ✭ 117 (+333.33%)
Mutual labels:  map, geojson
conrex
An Elixir implementation of the CONREC algorithm for topographic or isochrone maps.
Stars: ✭ 52 (+92.59%)
Mutual labels:  map, isochrones
L7
🌎 Large-scale WebGL-powered Geospatial Data Visualization analysis framework which relies on Mapbox GL or AMap to render basemaps.
Stars: ✭ 2,517 (+9222.22%)
Mutual labels:  map, geojson
vaguely-rude-places
The map of Vaguely Rude Place Names
Stars: ✭ 19 (-29.63%)
Mutual labels:  map, geojson
public-transit-tools
Tools for working with GTFS public transit data in ArcGIS
Stars: ✭ 126 (+366.67%)
Mutual labels:  isochrones
map-keys-deep-lodash
Map/rename keys recursively with Lodash
Stars: ✭ 16 (-40.74%)
Mutual labels:  map
ExtApp
ExtApp是一个基于三层架构,使用NHibernate、API Controller和ExtJs创建的,用于简化政府和企业应用开发的Web应用程序框架。
Stars: ✭ 14 (-48.15%)
Mutual labels:  map
mapzap.github.io
Build custom responsive web mapping applications without any coding!
Stars: ✭ 22 (-18.52%)
Mutual labels:  geojson
MinedMap
Minecraft map renderer and viewer
Stars: ✭ 35 (+29.63%)
Mutual labels:  map
papyruscs
PapyrusCS renders maps of Minecraft: Bedrock Edition worlds using C#, LevelDB and leaflet.
Stars: ✭ 221 (+718.52%)
Mutual labels:  map

Isochrone

npm version npm downloads Build Status

Isochrone maps are commonly used to depict areas of equal travel time. Build isochrones using OSRM, Turf and concaveman.

screenshot

Installation

npm install osrm isochrone

Usage

Building OSRM graph

This package consumes preprocessed OSRM graph as an input. To build such a graph you have to extract it from your OSM file with one of profiles and build it using one of the algorithms (Contraction Hierarchies or Multi-Level Dijkstra).

To build OSRM graph using isochrone package, you can clone the source code and install dependencies

git clone https://github.com/stepankuzmin/node-isochrone.git
cd node-isochrone
npm i

Here is an example of how to extract graph using foot profile and build it using contraction hierarchies algorithm.

wget https://s3.amazonaws.com/mapbox/osrm/testing/monaco.osm.pbf
./node_modules/osrm/lib/binding/osrm-extract -p ./node_modules/osrm/profiles/foot.lua monaco.osm.pbf
./node_modules/osrm/lib/binding/osrm-contract monaco.osrm

Example

See API for more info.

const OSRM = require("osrm");
const isochrone = require("isochrone");

const osrm = new OSRM({ path: "./monaco.osrm" });

const startPoint = [7.42063, 43.73104];

const options = {
  osrm,
  radius: 2,
  cellSize: 0.1,
  intervals: [5, 10, 15]
};

isochrone(startPoint, options).then(geojson => {
  console.log(JSON.stringify(geojson, null, 2));
});
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].