Tag Info

Hot answers tagged

4

The best way I can think is to get two UTM points, convert them to Lat/Long, and compare their geodesic distances to their UTM pythagorean distance. E.g. Take a point from this example: The CN Tower is ... in UTM zone 17, and the grid position is 630084m east, 4833438m north. So if we take A (17n 630084 4833438) and move it 30 km east, we get B (17n ...


3

I am the developer of FlowMapper plugin. Hope you find it useful. Regarding your question: FlowMapper offers two types of flow length caculations: (i) for cartesian coordinates (e.g. UTM x y) (ii) for geographic coordinates (e.g. WGS84 easting northing) User must properly choose either CARTESIAN or GEOGRAPHIC calculation depending on the type of ...


2

See this link for code (using GeographicLib) to compute the cross track distance to a geodesic. This does the ellipsoidal calculation and is accurate to 20 nanometers or so. Also look at "Calculation 2. Distance from a point to a line" on this site. This calculates the cross track path with Javascript and displays the result.


2

If you need high accuracy distances, or "ground" distances, you need to convert your UTM "grid" distances (which you do indeed calculate via pythagorous) using a combined scale factor. This removes the distortion introduced by the combination of (a) reducing the horizontal distance at its elevated (above the ellipsoid) position on the earth and (b) ...


2

From here and here, the Hausdorff Distance is a measure of similarity of two shapes. I think that it returns the greatest difference between a node in one feature from another feature (anywhere on that feature's boundary, I think). The distance probably isn't that importance, but the relative distances are. Regardless, if you want it in meters, you could to ...


2

Some things to consider: (1) Your problem is generally known as spatial interpolation because points are distributed in space, or surface interpolation because you are estimating the height of a point on a "surface" (which might be physical or abstract). (2) It's not generally a good idea to label to points in space as X,Y,Z because those letters are ...


1

According to this tutorial the map function returns a list: >>> items = [1, 2, 3, 4, 5] >>> >>> def sqr(x): return x ** 2 >>> list(map(sqr, items)) [1, 4, 9, 16, 25] >>> So your code should be something like this: def Distance(Latitude, Latitude2, Longitude, Longitude2) pList = map(math.radians, ...


1

As commented under the OP, my suggestion is to use the Point Distance geoprocessing tool, if you have Advanced licensing. Run Point Distance tool to calculate the distance between all possible combinations of points Start editing Select by Attributes where ID1 <> ID2 Delete the selected records


1

This bit looks to have been incorrectly copied: with arcpy.da.SearchCursor(ptFC2,["OBJECTID","SHAPE@XY"]) as cursor: for row in cursor: ptFC2XCoordDict[row[0]] = row[1][0] ptFC2YCoordDict[row[0]] = row[1][2] It should be: with arcpy.da.SearchCursor(ptFC2,["OBJECTID","SHAPE@XY"]) as cursor: for row in cursor: ...


1

The solution for the cross-track distance to a rhumb line is giving in this link which computes an accurate intercept for the WGS84 ellipsoid given a sufficiently accurate initial guess. This computes the shortest geodesic intercept. The geodesic intercept has the nice property that the angle of interception is 90°. (This isn't the case if the ...


1

1) Try using the NEAR function in the toolbox 2) Try using a Spatial Join 3) Try using creating "Euclidean Distance" rasters from each origin and then bringing these values into the points. 1 or 2 is most likely your solution.


1

I get the solution of the problem directly from the developer of the plugin, I'll post here the answer I get: FlowMapper offers two options for distance caculation: (i) cartesian coordinates (e.g. UTM x y) (ii) geographic coordinates (e.g. WGS84 easting northing) As far as I can see, you are using geographic coordinates (x-y). Please check ...



Only top voted, non community-wiki answers of a minimum length are eligible