I have GPS points from vehicles that I want to move to the correct location. The use of Bearing and BearingTol fields looked promising as an option. I have added these fields with the correct data type as described in the documentation. Unfortunately I cant get it to work. It seems like these fields are ignored. Anyone have any success using this technique?
Bearing and BearingTol field values are used when the points are initially used by Add Locations to load them as Stops. The value units for both are in degrees. What values are you putting into them? And what happens when you load these points? Do you get any warning message about feature not being located?
If you have already loaded the Stops and then are adding the Bearing/BearingTol fields and adding values, they will not be used. The values should be present when Add Locations is called so that when the location is happening the fields are getting used.
You can add these fields to the Stops Analysis layer using the GP tool Add Field to Analysis Layers
If these fields are present then when Add Locations is called, the values of the Bearing and BearingTol are also copied over to the Stops field. Now if something happens to cause a network re-build, the locations are computed again at solve time and these fields will continued to be used.
The import stops tool is fine. Internally it is calling Add Locations. So the bearing/bearingtol fields are being used when you import.
If, before importing, you add the same fields to the Stops sub layer then you will see the values copied over as well after import.
When you import, the X, Y location of the stops will be at the same location of where the input points are. But the edge they snap too will be different IF the bearing/bearingtol values have an impact.
When you load the point locations into a route layer as Stops, the x,y location of these is the same as the input. They edge they snap to can be based on the location rules such as bearing/bearing tol and restricted road elements, etc. You cannot "see" where they located on the map. However if you open the Stops attribute table and look at the SourceOID and Position, that will tell you the edge and position along the digitized edge (percentage between 0 and 1) that point located. When you solve the route it will visit the stops where they were located.