Measure the distance in MapWindow

Nov 15, 2012 at 12:21 PM

Hello, Is there a way to measure the distance from point to point, in meters, killometrov
For example, draw a point, and then another, they are connected by a line, and outputs the distance

Coordinator
Nov 19, 2012 at 6:48 AM

MapWindow has a measurement plug-in you can use.
Sergei is currently working on adding measurements capabilities to MapWinGIS, but this will need some time.

You can also create a temp shapefile, add the points as a line shape and use Shape.Length():
http://www.mapwindow.org/documentation/mapwingis4.8/class_shape.html#abb54b79c8d98f768b226c19591871f0a

--
Paul

Nov 21, 2012 at 9:07 PM

Andrey53, careful what you consider distance. In most GIS, including MapWindow I believe, it is calculating the distance as traveled on the line that is drawn on the screen. That is not the same as one would term a "great circle" or "geodesic" distance which would be a more realistic path taken on a sphere or spheroid. For small distances the difference is negligible but for large distances the difference in path is appreciable.

 

AGP

Coordinator
Nov 22, 2012 at 9:36 AM

For your information:

For MapWinGIS v4.9 Sergei added Utils.GeodesicDistance (changeset #69545).

"Utils.GeodesicDistance method for distance calculation between two points specified in decimal degrees (from GeographicLib by Karney). See http://en.wikipedia.org/wiki/Geographical_distance"

--
Paul

Nov 28, 2012 at 5:46 PM

That is good news! I've always wanted something like that function.

Nov 30, 2012 at 5:15 AM

thanks to all

I will solve the problem