I have two files:
- A point shapefile containing latitudes and longitudes of points.
- A .kml file that I am converting to a line shapefile.
Objective: To find the minimum perpendicular distance of the points from the lines. Suppose we have four points p1, p2, p3, p4 and two lines l1, l2. For point p1, I have to find the distance of the closest line. Same for other points.
I joined the line shapefile on point shapefile. As a result, I get an extra field in the point shapefile. The extra field denotes the required minimum distance. The problem is that I do not know the unit of this distance. I am using NAD 1983 geographical coordinate system (GCS) whose angular unit is degrees.
I tried changing the GCS of both point and line shapefiles to a projection coordinate system with distance units as meters. However, this displaces the points far away from the lines (virtually not displaced at all) in ArcMap. Consequently I get the distances in thousands of miles, which is erroneous.
Please suggest a way out.