segunda-feira, 7 de novembro de 2016

Create your own OSRM - Open Source Routing Machine

CREATING LEVEL AND RELAY CURVES AT OSM USING SRTM DATA

http://codigo.cmabreu.com.br/2017/06/17/criando-curvas-de-nivel-e-relevo-no-osm-usando-dados-da-srtm/
http://dwtkns.com/srtm30m/

https://urs.earthdata.nasa.gov

Title Calculator

http://tools.geofabrik.de/calc/#type=geofabrik_standard&bbox=-54.619855,-26.720898,-47.865159,-22.516

Map Compare
http://tools.geofabrik.de/mc/#13/-25.4597/-49.2919&num=4&mt0=mapnik&mt1=google-map&mt2=google-map&mt3=mapnik-german

OSMInspector
http://tools.geofabrik.de/osmi/?lon=-49.2919&lat=-25.4597&zoom=13


"Open Source Routing Machine (OSRM) computes shortest paths in a graph. It was designed to run well with map data from the OpenStreetMap Project"
refer: Wiki

The complete list of all OSM program you can found here:
https://osm.wno-edv-service.de/index.php/osm-software



a) Download the file:  brazil-latest.osm.pbf from https://download.geofabrik.de/south-america/brazil-latest.osm.pbf

b) Execute
            osrm-extract brazil-latest.osm.pbf -p osrm-backend/profiles/foot.lua


c) Execute 
                  osrm-contract brazil-latest.osrm

d) Execute osrm-routed brazil-latest.osrm


             Info:   https://router.project-osrm.org/route/v1/driving/-
Ref: https://nominatim.openstreetmap.org/search?q=

Demo in web: http://map.project-osrm.org/
How to install

https://github.com/Project-OSRM/osrm-backend/wiki/Running-OSRM
(opcional) https://github.com/Project-OSRM/osrm-backend/wiki/Cucumber-Test-Suite#latlon-tables
Tip:

sudo apt install build-essential git cmake pkg-config \
libbz2-dev libstxxl-dev libstxxl1v5 libxml2-dev \
libzip-dev libboost-all-dev lua5.2 liblua5.2-dev libluabind-dev libtbb-dev

https://github.com/Project-OSRM/osrm-backend/wiki/Building-on-Ubuntu
What is

https://github.com/Project-OSRM/osrm-backend/wiki
http://wiki.openstreetmap.org/wiki/Open_Source_Routing_Machine

How to use
https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md#service-match



Avançado (Developers)
https://github.com/Project-OSRM/osrm-backend/wiki/Graph-representation
https://www.mapbox.com/mapping/osm-data-model/
http://wiki.openstreetmap.org/wiki/Mapbox  

Info:
https://www.mapbox.com/pricing/
Google Maps Price

https://github.com/Project-OSRM/osrm-frontend-legacy

https://github.com/Project-OSRM/osrm-frontend
https://github.com/Project-OSRM/osrm-backend/wiki/Debugging
http://map.project-osrm.org/?
https://www.naviki.org/naviki/p



Services using OSRM

Cycle.travel biking directions
I Bike Cph Copenhagen's bike route planner[1]
Maps.Me offline mobile maps and directions
Mapbox directions API[2] (used by various other services, such as RunKeeper)
A list of websites and projects using OSRM


http://www.ibikecph.dk/en

http://maps.me/en/home

http://wiki.openstreetmap.org/wiki/Maps.Me
https://github.com/MKergall/osmbonuspack (OSRM Para Android)
                         Other Solutions Pricing
 https://www.mapbox.com/pricing/   (because you need Sat)
vs
https://developer.here.com/plans/api/consumer-mapping
vs
https://developers.google.com/maps/premium/usage-limits
vs
https://www.microsoft.com/maps/licensing/licensing.aspx#mainTab2

https://developers.google.com/maps/premium/usage-limits

Distance Matrix Shared* daily free quota of 100,000 elements per 24 hours; additional requests applied against the annual purchase of Maps APIs Credits. Up to 100 elements per query (with a maximum of 25 origins and 25 destinations per query). Rate limit applied per user session, regardless of how many users share the same project.**



https://developer.here.com/plans/api/consumer-mapping



OSRM API

https://github.com/Project-OSRM/osrm-backend/wiki/Server-API---v4,-old
https://github.com/Project-OSRM/osrm-backend/blob/master/docs/http.md
http://wiki.openstreetmap.org/wiki/Routing/online_routers
http://wiki.openstreetmap.org/wiki/Open_Source_Routing_Machine
http://wiki.openstreetmap.org/w/images/8/8f/Pyroute_with_winxp.jpg
Leaflet Routing Machine
http://www.liedman.net/leaflet-routing-machine/#getting-started
http://openrouteservice.org/
http://developer.tomtom.com/page


Avoid to use:
http://build-failed.blogspot.com.br/2012/11/zoomable-image-with-leaflet.html
Postar um comentário