[Qgis-user] about distance calculation

Raymond Nijssen r.nijssen at terglobo.nl
Wed Nov 21 00:22:26 PST 2018


Hi Mahmut,

Reading your question I wonder if you really want to know the distance 
to the railroad (line) or to the stations (points). Since you usually 
cannot enter or leave the train at any location along the railroad.

Anyway, qgis can calculate both with processing algorithms:

1.
distance to nearest hub
For point to point comparison, when you use station locations.

2.
v.distance (grass algorithm)
For geometry to geometry comparison, calculates the shortest line (and 
distance) to the nearest railroad.

Hope this helps,
Raymond




On 20-11-18 22:24, Mahmut Ablay wrote:
> Hello everyone,
> I have a trouble with how to prepare distance calculations by using a 
> map. I have a railroad map and I want to have statistical information of 
> distances which are between railroads and city centers. For example, I 
> need to have the distance between Yafa and the nearest railroad station. 
> And, I have 60 cities .So, I need to calculate all distances between 
> cities and the nearest railroads.
> Should you help me about it.
> Thank you for your time.
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> 

-- 
Terglobo
Fahrenheitstraat 1
5223 BJ 's-Hertogenbosch
The Netherlands
+31 (0) 6 25 31 49 83


More information about the Qgis-user mailing list