Hello all,
I'm more concerned with wondering if this is even possible and how it could be accomplished.
I've got a Silverlight 3 application that displays Streets in a Feature Layer which is then symbolized differently based on Speed Limits. I"m using a UniqueValueRenderer to accomplish this with a different LineSymbol for each Speed Limit.
What I would love to do is get the Viewing Distance for a street by Selecting that street.
Example:
1. I select "Main Street" on the map, that section of the street between the intersections is highlighted.
2. The Speed Limit is 25 mph. Based on this information, at either intersection I need to have a clear line of sight 280 ft. to the left and 240 ft. to the right.
3. The application goes to the nearest intersection, goes 280 ft. to the left, 240 ft. to the right, and 14.5 ft from the intersection (standard distance to simulate the distance the driver is from the center of the intersection). Using these 3 points, the application draws a triangle on the map's GraphicsLayer.
I have all the relevant distances for each speed limit, so my biggest problem Step 3. This is made more complex by the fact that not every road has a left and right turn available. It's made even more complex by the fact that the turns are not all 90 degrees.
As I said, this is not critical for me to figure out. It's more of a question of if it's possible and what all it would take to accomplish this.
Thanks,
Will