Timeline for Horizontal distance from point to polyline in ArcGIS Desktop?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 16, 2017 at 23:57 | comment | added | phloem | Aha, I see. It wasn't clear to me that you were suggesting a new raster for every line. Thanks. | |
Mar 16, 2017 at 23:52 | comment | added | FelixIP | It's Ok. As I said you have to repeat exercise for individual lines, thus for each point you'll end up with N distances. I also realised that method won't work fo Cosine like line resulting in more than 2 polygons after split | |
Mar 16, 2017 at 23:48 | comment | added | phloem | Sorry, really not trying to be combative, just trying to understand. Suppose there was another line running down the righthand side of your picture. I don't see how this method would either force the lines near the righthand side to run to the right, or alter the raster so that those points are on a raster attributed as 1. | |
Mar 16, 2017 at 20:19 | comment | added | FelixIP | Create envelop from line and split it by line. querypointandDistance on any point inside polygons (can be more than 2) will answer this (BTW one of the options to improve you code). FYI I upvoted your solution, because I was going through essentially the same answer as yours but got distracted. So I posted another one. This is a case when I like diversity | |
Mar 16, 2017 at 19:51 | comment | added | phloem | I just don't see how you created the 1-16 raster. How did the left part know it should be 1, and right part know it should be 16? | |
Mar 16, 2017 at 18:57 | comment | added | FelixIP | Can be repeated for any number of lines and minimum distance taken. Part on the left of line has 1, on the right 16. It will get tricky if line extent doesn't contain points extent | |
Mar 16, 2017 at 16:14 | comment | added | phloem | Does this work on more complex datasets, where you don't know beforehand which line is closest? How do you create the 1-16 raster? | |
Mar 16, 2017 at 1:09 | history | answered | FelixIP | CC BY-SA 3.0 |