Select to view content in your preferred language

LineSymbol Templates and Path Construction

534
1
08-24-2010 12:54 PM
WilliamKimrey
Emerging Contributor
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
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
I would consider building a Geoprocessing Tool that does this, then publish this to ArcGIS Server. Silverlight will then be able to take advantage of the tool with very little coding on the client.
0 Kudos