Is This Content Helpful?
We're glad to know this article was helpful.
This demo shows how to use the CALIBRATEROUTES command. There are four options:
The following is a simple line cover thirty units long spanning from 0 to 30.
clean c # # # line
Go into arcedit and convert this entire arc into a section. Then convert this section into a route named BUS with a bus-id = 10
de arc ids node section.bus measures route.bus arrows
setdrawsym 11 2
add Use option-1 to select the arc.
Use option-3 to make the full arc a section.
Use option-9 to quit
makeroute 10 * Enter the left end as the start point of route.
This route must be calibrated. Note that it begins at 0 and ends at 30.
A point cover named P must be created to set the calibration points. Two points located 10 and 20 units from the left end of our route must be defined. Since the entire route spans from 0 to 30, these calibration points should have values of 10 and 20. Offset the values by one unit; for example make the calibration points 11 and 21 and see how CALIBRATEROUTES handles it.
build p point
additem p.pat p.pat bus-id 2 2 i
additem p.pat p.pat measure 3 3 i
Go into tables and make bus-id = 10
p-id = 1 has measure = 11
p-id = 2 has measure = 22
CALC BUS-ID = 10
RES P-ID = 1
CALC MEASURE = 11
CALC MEASURE = 21
Now enter arcplot. There is a route named bus and a point cover named P with two points.
PAGESIZE 10 6
BOX 0 0 10 6
MAPPOS CEN CEN
SECTIONLINES C BUS 2
POINTTEXT P MEASURE you get 11 and 21 on the screen
POINTTEXT P P-ID # UL you get the point ids 1 and 2 drawn.
ROUTEHATCH C BUS .1 1 5 2 RIGHT ENDS you get the hatches drawn
from 0 to 30
The route based on the point cover P must be calibrated. The point on the section at measure 10 should be recalibrated to 11 and the point at measure 20 should be recalibrated to 21.
Make four copies of cover C and use the four options:
COPY C C1
COPY C C2
COPY C C3
COPY C C4
calibrateroutes c1 bus p bus-id measure .1 split partial
The SPLIT option splits the section at the calibration points. There are now three sections.
The PARTIAL option limits the calibration between the calibration points, but leaves the end points alone.
Measure 10 becomes 11, and 20 becomes 21. All points between 10 and 20 gets calibrated, i.e., offset by one.
However the beginning portion (0 to 10) and the ending portion (20 to 30)
do not change.
calibrateroutes c2 bus p bus-id measure .1 split full
The FULL option calibrates the entire section. The new beginning and end points are extrapolated.
The start point changes from 0 to 1 and the end point changes from 30 to 31.
calibrateroutes c3 bus p bus-id measure .1 nosplit full
The NOSPLIT option does not split the section. The start point has changed from 0 to 1, while the end point has changed from 30 to 31. There is only one calibrated section.
calibrateroutes c4 bus p bus-id measure .1 nosplit partial
This last choice NOSPLIT with PARTIAL does not make any sense. If it is run, the program does nothing to it.
NOSPLIT an only be used with the FULL option.
pagesize 10 6
box 0 0 10 6
mappos cen cen
sectionlines c bus 2
pointtext p measure
routehatch c bus .1 1 5 2 right ends
This is the original section C that needs to be calibrated:
routehatch c1 bus .1 1 5 2 right ends
Notice how positions 10 and 20 now read 11 and 22. But the ends are still at 0 and 30. This is the SPLIT with PARTIAL option.
routehatch c2 bus .1 1 5 2 right ends
Now the ends read 1 and 31. This is the SPLIT with FULL option.
routehatch c3 bus .1 1 5 2 right ends
This is the NOSPLIT with FULL option. It is still one section. The ends read 1 and 31.
routehatch c4 bus .1 1 5 2 right ends
This is the NOSPLIT with PARTIAL option. This option is meaningless, and no change is done.
It may be a lot more clear if the individual sections are viewed in different colors.
&sys arc list c1.secbus
Notice there are three sections. Notice the bus# item. It has values of 1, 2 and 3. Use this item to draw up the sections with three different colors:
sectionhatch c1 bus .1 1 5 bus# right ends
The three sections are distinguishable as they are drawn in different colors.
sectionhatch c2 bus .1 1 5 bus# right ends
sectionhatch c3 bus .1 1 5 bus# right ends
sectionhatch c4 bus .1 1 5 bus# right ends