I am now in a project using a taxi GPS data(latitude and longitude ) to locate the road segment it is being on.I have the road map data. So, I wonder if I can use arcgis server to get the road segment information according to the GPS data?I wander if there is an java api for me to call easily? for Example, I have the latitude 16.34211,longitude 4.0102,I call the function getRoadSegment(16.34211,4.0102),the function then return the road segment (maybe the startpoint(x1,y1) and the endpoint(x2,y2)) this point is in.!
This picture is when I import mxc data file into ArcGIS.