Saturday, 21 February 2015

Finding the shortest path with online services in QGIS


I am looking for a plugin that can detriment the shortest path between two points in QGIS. It should not be a street line between the points, but the shortest way with consideration to the roads of the area in interest.



Answer



There is a nice plugin that made for this purpose by CBS UYGULAMA and called "Online Routing Mapper". The project is an open source distributed with GPL v3 license. In order of this plugin you need to download and install it. As you can expected it's called Online Routing Mapper enter image description here Once you click on the plugin icon this window will open and you need to point on the start and locations and also choose the online service provider enter image description here Once you it's done you will have the shortest path as a temporary layer without any information in the attribute table enter image description here If you want to work with this layer you need to save it as a new layer and once you did it you can work with it, for example finding the length of the layer in KM enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...