Hello all,
I am currently stumped on a GIS task that I was hoping to get some insight on. I want to calculate the pairwise distance between a series of sampling locations that are situated along the coast. As I am working with fish, I do not want to calculate the Euclidean distance between these points, but rather the distance traveled in water. This is how I have approached the problem so far: 1. I imported a shapefile of lat/long sampling locations 2. I imported a shapefile of Alaska 3. I drew a polygon around Alaska , and erased Alaska from it, thus creating an ocean mask. 4. I restricted my analyses to this ocean mask 5. I converted this ocean mask feature to a raster, with each cell value = 1 . I subsequently used this raster as my "cost raster". 6. Using spatial analyst I calculated the cost distance using the best single path. Now I need to take this raster and output a pairwise matrix of water distance between sampling locations. Do you know how I would get this information? I tried using the raster to polyline function, but get an error message every time. My raster is a continuous rather than integer type, and I think that the problem might be there. I am totally stuck on this step and would greatly appreciate any help! Warmest Regards, Eleni -- Eleni L. Petrou University of Washington School of Aquatic and Fishery Sciences [email protected]
_______________________________________________ Uw-gis-l mailing list [email protected] http://mailman2.u.washington.edu/mailman/listinfo/uw-gis-l
