how can i dynamic draw the line from point to point which point(x,y) is stored in a table. (in ArcMap/ publish to service)@
Please help
Solved! Go to Solution.
Try XY to Line tool (Data Management)
http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000tv000000Here is a webhelp link - http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000tv000000
Where you want to draw dynamic line ? whats an API ?
Because i have a several data table to store the bus stop and the bus route, my objective is auto-generate the dynamic line between the related bus stop.
I have no idea how to do it. is it have API to do it?(arcgis javascript)?
By the way, i want to do the same action in Arcmap as well as after publish to online web service.
There are different ways.
1. create arcobjects tool to generate lines and publish it (you can create windows services and generate dynamic lines) and that service can be used in any API.
see this.. how to create line with arcobjects.
ArcObjects 10 .NET SDK Help (if you need to get data from database, you have to use ADO.NET).
I hope it helps.
Thanks and Regards,
Venkat
Thanks, it is useful
Try XY to Line tool (Data Management)
http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000tv000000Here is a webhelp link - http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000tv000000
Thanks, it is useful