• Stars
    star
    224
  • Rank 177,792 (Top 4 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸš™ The open source route planner app with plenty of features.

Classic openrouteservice maps client

status: archive Build Status

The classic openrouteservice(ors) maps client is an online route planning application that is based on open source software, open data and open standards.

It uses the openrouteservice API and needs a valid API key (free up to a certain request limit per day)

preview

Installation

Requirements:

  • git
  • docker
  • docker-compose

Clone the repository

git clone https://github.com/GIScience/openrouteservice-app.git

# switch to repository folder
cd openrouteservice-app

First Replace weathercheck.txt content with your Api-Key:

# Open `app/weathercheck.txt` in your favorite text editor and replace the content with your Token.
# e.g.:
vim app/weathercheck.txt

Build the docker image:

docker-compose build

Running the client

Run docker-compose up:

docker-compose up -d

The app will be exposed on http://localhost:8035

Running in development mode

Normal endpoints:

docker-compose run -p 3005:3005 --rm ors-classic-maps dev

If you want to use the openrouteservice client with a local backend version of openrouteservice make sure you are using the correct endpoint paths in ngconstant.local of the Grunfile.sample.js.

Local ors backend:

docker-compose run -p 3005:3005 --rm ors-classic-maps ors_local

Note: In case of CORS issues try setting the endpoints of the backend services to http://localhost:3005 which should be proxied to http://localhost:8082 by the connect:dev grunt task.

Install dependencies locally

If you want to have all dependencies locally, installation is a bit more difficult. Also, the commands for running the client are a bit different.

Requirements:

Permission Issues

If you encounter any permission issues during the installation:

  • on Linux: try running npm-commands with sudo :

e.g.:

sudo npm install
  • on Windows(GitBash recommended): try running npm-commands with the --no-optional flag:

e.g.:

npm install --no-optional

Installation

After cloning the repository:

  • Install dependencies:
# install all modules listed as dependencies in package.json
npm install
  • Initiate default files:
# Copy `Gruntfile.default.js` to `Gruntfile.js`
cp Gruntfile.default.js Gruntfile.js

# Copy `weathercheck.default.txt` to `weathercheck.txt`
cp app/weathercheck.default.txt app/weathercheck.txt

Don't forget to edit weathercheck.txt and insert your API key.

Run openrouteservice:

To enable console output information and logging for bug-fixing and feature development do:

grunt dev

To build for production (all output in build folder):

grunt ors

To use a local ors backend:

grunt ors_local

Contribution

If you would like to contribute, please note that we are using a branching model to structure our git workflow and are following commit message guidelines.

For minor bugfixes use the development branch:

git checkout development

For new features, please create a new branch:

git checkout -b feature_branch

Do a pull request to our development branch. Be sure to pull the latest changes beforehand and fix any emerging conflicts.

Translations

Help us to provide the openrouteservice in your language by translating some simple keywords!

In this spreadsheet you can add a column for your language or check the already added words if they are correctly translated. Our service will be updated regularly with the latest language versions.

If there are further questions, please let us know!

License

(The MIT License)

Copyright (c) 2017 GIScience Research Group, Heidelberg University.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

openrouteservice

🌍 The open source route planner api with plenty of features.
Java
1,442
star
2

openrouteservice-py

🐍 The Python API to consume openrouteservice(s) painlessly!
Python
389
star
3

openrouteservice-js

πŸ“Œ The JavaScript API to consume openrouteservice(s) painlessly!
JavaScript
203
star
4

openpoiservice

πŸ“ Openpoiservice is a flask application which hosts a highly customizable points of interest database derived from OpenStreetMap data.
Python
171
star
5

GIScene.js

3D WebGIS framework. Based on Three.js. Easy to learn and customize. For examples and API see:
JavaScript
116
star
6

oshdb

OpenStreetMap History Data Analysis Framework
Java
110
star
7

ors-map-client

Openrouteservice API web SPA client using VueJS, Vuetify and Vue2Leaflet
JavaScript
108
star
8

Leaflet.Heightgraph

Leaflet plugin to visualize height information and road attributes.
JavaScript
100
star
9

orstools-qgis-plugin

Plugin for QGIS with a set of tools to use openrouteservice APIΒ΄s, based on openstreetmap
Python
96
star
10

openrouteservice-r

🌐 query openrouteservice API from R
R
93
star
11

helios

HELIOS - the Heidelberg LiDAR Operations Simulator - is a software package for interactive real-time simulation and visualisation of terrestrial, mobile and airborne laser scan surveys written in Java.
Java
85
star
12

openrouteservice-examples

πŸ“š (Mostly) real-world examples and inspirations to use the full breadth of ORS services and clients
Jupyter Notebook
84
star
13

openrouteservice-docs

πŸ“ This repository stores the swagger specifications of the openrouteservice API. Browse to swagger for a detailed overview.
63
star
14

openelevationservice

πŸŒ„ A GeoJSON based service to query SRTM elevation for points/lines.
Python
63
star
15

openrouteservice-app-legacy

OpenRouteService is an online route planning application that is based on open source software, open data and open standards.
JavaScript
55
star
16

ohsome2label

Historical OpenStreetMap Objects to Machine Learning Training Samples
Python
48
star
17

ohsome-api

API for analysing OpenStreetMap history data
Java
44
star
18

OSM-realtime-update

πŸ•‘ OpenStreetMap Data Extracts - updated on the fly!
JavaScript
41
star
19

ohsome-quality-api

Data quality estimations for OpenStreetMap
Python
34
star
20

sketch-map-tool

Create re-digitizable paper maps for offline data collection in the field.
Python
32
star
21

openfuelservice

πŸš—β˜οΈπŸ’Έ The opensource vehicle fuel consumption, emission and cost calculator api
Python
17
star
22

ohsome-py

Python bindings for the ohsome API
Jupyter Notebook
17
star
23

vostok

VOSTOK, the Voxel Octree Solar Toolkit, is a C++ command-line tool to compute a detailed model of incoming solar radiation distribution on a patch of land, including structures like buildings and vegetation, represented by a 3D point cloud data set.
C++
15
star
24

osmatrix-client

OSMatrix is a web-based application to visualize characteristics of OpenStreetMap, which are usually not displayed in cartographic representations of the data.
Python
14
star
25

ohsome-r

This ohsome R package grants access to the power of the ohsome API from R.
R
11
star
26

measures-rest

A REST server to provide measures for geospatial datasets
Java
10
star
27

ohsome-examples

A curated list of examples of using the https://github.com/giscience/ohsome-api
Jupyter Notebook
9
star
28

osmgpxmapmatcher

Java
9
star
29

osm-vis-data

Data for OSMvis
8
star
30

osmgpxinclinecalculator

Tools for incline computation with OSM GPX files
Java
7
star
31

gis-training-resource-center

Io
7
star
32

ohsome-dashboard

Web Client for easy access to OSM History and Quality Analyses
JavaScript
7
star
33

ohsome-qgis-plugin

ohsome Qgis plugin
Python
6
star
34

global-urban-building-completeness-analysis

Code related to the paper entitled "Investigating completeness and inequalities in OpenStreetMap: spatio-temporal analysis of global urban building data"
Jupyter Notebook
6
star
35

socialmedia2traffic-api

SocialMedia2Traffic API
Python
6
star
36

osmatrix

JavaScript
5
star
37

ol-print-layout-control

An extension of openlayers Control. It Helps the user to define a map area that fits to the desired output page format and orientation.
TypeScript
5
star
38

ohsome-now-stats-frontend

This is the frontend application for the ohsomeNow stats.
TypeScript
5
star
39

ohsome-now-stats

The goal of this project is to quantify the changes that are happening to the OpenStreetMap (OSM) database every minute.
Jupyter Notebook
5
star
40

ohsome-now-stats-service

This is the REST service for the ohsomeNow stats.
Kotlin
4
star
41

Safer-Route

R
4
star
42

osm-bikeability

Bikeability index based on OpenStreetMap features for european urban areas
Python
4
star
43

Long-term-validation-of-inner-urban-mobility-metrics-derived-from-Twitter

Long-term validation of inner-urban mobility metrics derived from Twitter
Jupyter Notebook
4
star
44

osmalert

OSM Alert: ohsome Alert variant for ISEP 2023
Java
3
star
45

osm-transform

Custom data filtering and enrichment for OpenStreetMap PBF files for a better openrouteservice graph building
C++
3
star
46

openrouteservice-java

β˜• The Java API to consume openrouteservice(s) painlessly!
3
star
47

ohsome-quality-api-examples

Jupyter Notebook with examples on how to use the OQT API with Python.
Jupyter Notebook
3
star
48

osmgpxpreprocessor

Pre-processing tools for incline computation with OSM GPX files
Java
3
star
49

green-15min-city

HeiGIT's OSS4SDG hackathon submission
HTML
3
star
50

mapswipe-analytics-client

JavaScript
2
star
51

POI-data-matching

Jupyter Notebook
2
star
52

mapswipe-tutorial

JavaScript
2
star
53

ohsome-api-dockerized

Dockerized Version of the ohsome-api
Dockerfile
2
star
54

healthcare-access-idai

Material on an analysis of healthcare access in Mozambique with the impact of cyclone Idai
R
2
star
55

osmgpxfilter

Java
2
star
56

heigit-disaster-portal

Python
2
star
57

OSM_Events

Supplementary Data and Visualizations for the Paper β€œAn Analysis of the Spatial and Temporal Distribution of Large-Scale Data Production Events in OpenStreetMap”
Python
2
star
58

mapswipe-live

JavaScript
1
star
59

giscience2023

Webpage for the Workshop given at the GIScience Conference 2023
SCSS
1
star
60

nairobi-uber-access

HTML
1
star
61

measures-rest-oshdb-docker

Scripts for starting measures for geospatial datasets in docker container, using the OSHDB
Shell
1
star
62

openpoiservice-docker

openpoiservice-docker
Shell
1
star
63

wegovnow

Embeddable Geo-Spatial Data Repository - WeGovNow Data Quality Management System
C
1
star
64

mapswipe-processing

Python
1
star
65

OSMlanduse-BFM

Jupyter Notebook
1
star
66

pybossa-mapswipe-2

HTML
1
star
67

vue2-leaflet-height-graph

Vue2Leaflet plugin to wrap Leaflet.Heightgraph control for Vue applications
JavaScript
1
star
68

mapswipe-analytics-backend

backend workers to generate and enrich mapswipe data and statistics
Python
1
star
69

shop-completeness

HTML
1
star
70

badges

Collection of badges for indicating the state of a project
Shell
1
star
71

osmatrix-processing

No longer maintained: Processing of osmatrix in postgreSQL
Java
1
star
72

hot-tm-critical-numbers

A GIScience Heidelberg project for for the HOT Tasking Manager.
Python
1
star
73

openrouteservice-schema

Repository for schemas used in the ORS
1
star
74

osm-measure-repository

A repository of OpenStreetMap (OSM) measures
Java
1
star
75

measures-rest-sparql

A SPARQL endpoint for the Measures REST OSHDB App framework.
Python
1
star
76

ai-assisted-osm-mapping-stats

Find out the global scale and evolution of AI-assisted mapping in OpenStreetMap
Jupyter Notebook
1
star
77

Jakarta_Thesis_Klipper

Flood Impact Assessment on Road Network and Healthcare Access
Python
1
star
78

ohsome-js-utils

This library contains JavaScript functions to help clients to use the Ohsome-Api for analyzing historical OpenStreetMap data.
TypeScript
1
star
79

ors-config-migration

Tool for migrating ors-config.json files to ors-config.yml
Python
1
star
80

ors-netascore-workshop-agile-24

Workshop at AGILE 2024
CSS
1
star
81

openrouteservice-workshop-r

Repo to run an openrouteserice workshop via R on binder
HTML
1
star