I have a point on line let say x,y and a list of points i want to find out the points closest to the point x,y at both ends for example
------------------------------ x1,y1
p1------------------------------|----------------------------------p2
and a list of point(p2,p3,p4,p5.......) now i want to find the closest two points
------------------------- p5 -----x1,y1 ----p6
p1-----------------------|-------|---------|----------------------------------p2
is there any functioality available in arcobject that can perform this operation?
for example i have this
Polyline poly = new Polyline();
Multipoint mp = new Multipoint();
can you tell me which classes to use?
this was just wriiten as an expample that i have these two polyline and points list jsut was asking about an example.
i think this example is good enough http://help.arcgis.com/en/sdk/10.0/vba_desktop/conceptualhelp/index.html#//0001000000q5000000
If u can post a link of an example it would be useful and I should have mentioned it earlier that I am creating soe
I have no link I can think of that clearly relates to your problem. It would probably have to be pieced together from many code snippets. I have no real idea how comfortable you are with adapting sample code to your specific problem, so I don't know what level of examples to direct you to. For example, can I assume you are familiar with using cursors or not?
If you mean you want an example of running a geoprocessing tool in .Net you can look at this link. The example you came up with also could create the event table on the fly with very little modification. If this tool does not require real time data from newly created or edited features, you could just run the Locate Features Along Routes tool outside of your code and consume the table with an ICursor process.
I have only developed Addins with .Net. I have no idea what is involved in developing an soe. You will have to look to others for any help specific to soe development.
IS is pooible that M values can be negative?