Dynamic draw a line from 2 point(x,y) data source

4805
6
Jump to solution
01-14-2015 08:58 PM
kevintang
New Contributor II

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

0 Kudos
1 Solution

Accepted Solutions
6 Replies
Venkata_RaoTammineni
Occasional Contributor

Where you want to draw dynamic line ? whats an API ?

0 Kudos
kevintang
New Contributor II

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.

0 Kudos
Venkata_RaoTammineni
Occasional Contributor

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

0 Kudos
kevintang
New Contributor II

Thanks, it is useful

0 Kudos
KishorGhatage
Occasional Contributor III
0 Kudos
kevintang
New Contributor II

Thanks, it is useful

0 Kudos