Geopak COGO
Summary of Commands

This site is under construction.

Explanation of Commands:


POINT COMMANDS

STORE n N northing E easting (STA station) (EL elevation)
STORE n X easting Y northing (STA station) (EL elevation)
STORE n station elevation
STORE pa PCODE pcode value
STORE pa STA station
DEL POINTS pa pb pk
DEL POINTS pa THRU pk
DEL POINTS pa-pk


CURVE COMMANDS

STORE CURVE name back tangent reference element ahead tangent (STA label station)
DELETE CURVE list

STORE CURVE BY PC AND PT:
STORE CURVE name PC pa PT pb element CC (STA label station)
Use CC for Counter Clockwise (Left) curves.
Use CL for Clockwise (Right) curves.

SEGMENT (CURVE) name (OFFSET distance) name1 pi pk


SPIRAL COMMANDS

SPIRAL TYPE 1: (INCOMING)
STORE SPIRAL name DB direction TS pa LS length element (STA) (CHORD)

where:
DB direction    Direction Back
TS pa           Tangent to spiral point

SPIRAL TYPE 2: (OUTGOING)
STORE SPIRAL name DA direction ST pb LS length element (STA) (CHORD)
where:
DA direction __ Direction Ahead
TS pa _______ Spiral to tangent point

SPIRAL TYPE 3: (CONNECTING FLATTER CURVE TO SHARPER CURVE)
STORE SPIRAL name D1 angle LS length D2 angle C1 pa C2 pb
STORE SPIRAL name D1 angle CS pa DB direction LS length D2 angle
STORE SPIRAL name D1 angle CS pa DB direction DA direction
STORE SPIRAL name R1 radius LS length R2 radius C1 pa C2 pb

SPIRAL TYPE 4: (CONNECTING SHARPER CURVE TO FLATTER CURVE)
STORE SPIRAL name D2 angle LS length D1 angle C2 pb C1 pa
STORE SPIRAL name D2 angle CS pa DB direction LS length D1 angle
STORE SPIRAL name D2 angle CS pa DB direction DA direction
STORE SPIRAL name R2 radius LS length R1 radius C2 pa C1 pb
where:
D1 angle ____ Degree of curve of flatter curve
D2 angle ____ Degree of curve of sharper curve
C1 pa ______ Known center point of flatter curve
C2 pb ______ Known center point of sharper curve
CS pa ______ Known point of the curve to spiral
R1 radius ___ Radius of flatter curve
R2 radius ___ Radius of sharper curve

SPIRAL-CURVE-SPIRAL
STORE SCS name back tangent LS length element ahead tangent

DELETE SPIRAL list
OFF/SPI pa SPIRAL name


CHAIN COMMANDS

STORE CHAIN name list (STA station)

STORE CHAIN FROM OFFSET CHAIN:
STORE CHAIN n2 PARALLEL CHAIN n1 OFFSET offset (BEG n cur) (STA station1 STA station2)
where:
n2 is the new chain
n1 is a previously stored chain
offset is the radial distance between chains
n is the begining point for a new chain
cur is the initial curve on the new chain

DELETE CHAIN name


LOCATE COMMANDS

TRAVERSE:
LOCATE n FROM pa distance direction (offset)

ANGLE:
LOCATE ANGLE b.s. point sta. point f.s. point (P/M) angle length (vertical angle)

POINT ON CURVE:
LOCATE n POC pb CC pa (P/M) LENGTH arc (OFFSET offset)
LOCATE n POC pb CC pa (P/M) LENGTH arc (OFFSET offset)
LOCATE n POC pb CC pa (P/M) TANGENT tangent (OFFSET offset)
LOCATE n POC pb CC pa (P/M) DELTA angle (OFFSET offset)
where:
POC pb ________ known point on a curve
CC pa _________ known point at Center of Curev

DIRECTION/DIRECTION INTERSECT:
LOCATE n INTERSECT LINE pa direction (OFFSET offset) LINE pb direction

DIRECTION/ARC INTERSECT:
LOCATE n INTERSECT LINE pa direction (OFFSET offset) ARC cp RADIUS radius NEAR px
where:
NEAR px point nearest the intersection

DIRECTION/CURVE INTERSECT:
LOCATE n INTERSECT LINE pa direction (OFFSET offset) CURVE name (OFFSET offset) NEAR px

DIRECTION/SPIRAL INTERSECT:
LOCATE n INTERSECT LINE pa direction (OFFSET offset) SPIRAL name (OFFSET offset) NEAR px

ARC/ARC INTERSECT:
LOCATE n INTERSECT ARC ca RADIUS radius ARC cb RADIUS radius NEAR px
where:
ca ____ radius of arc 1
cb ____ radius of arc 2

ARC/SPIRAL INTERSECT:
LOCATE n INTERSECT ARC cp RADIUS radius SPIRAL name (OFFSET offset) NEAR px

CURVE/CURVE INTERSECT:
LOCATE n INTERSECT CURVE name1 (OFF offset) CURVE name2 (OFFSET offset) NEAR px

CURVE/SPIRAL INTERSECT:
LOCATE n INTERSECT CURVE name1 (OFF offset) SPIRAL name2 (OFFSET offset) NEAR px

LINE/CHAIN INTERSECT:
LOCATE n INTERSECT LINE pa direction (OFF offset) CHAIN name (OFFSET offset) NEAR px

CURVE/CHAIN INTERSECT:
LOCATE n INTERSECT CURVE name1 (OFF offset) CHAIN name2 (OFFSET offset) NEAR px

SPIRAL/CHAIN INTERSECT:
LOCATE n INTERSECT SPIRAL name1 (OFF offset) CHAIN name2 (OFFSET offset) NEAR px

CHAIN/CHAIN INTERSECT:
LOCATE n INTERSECT CHAIN name1 (OFF offset) CHAIN name2 (OFFSET offset) NEAR px

ON A CURVE:
LOCATE n ON CURVE name distance (FROM) pa (OFFSET offset)
LOCATE n ON CURVE name STATION station (OFFSET offset)
where:
distance ___ arc distance
station ____ station value of point

ON A SPIRAL:
LOCATE n ON SPIRAL name LENGTH length (OFF offset)
where:
length ___ length along the spiral

ON CHAIN:
LOCATE n (ON) CHAIN name STA station (NEAR px) (OFF offset)

ON CHAIN BY PROJECTION:
LOCATE n PROJECT pa ON CHAIN name (OFF offset)
where:
PROJECT pa ___ known point of radial projection

BY DIVIDE CHAIN:
DIV/CHA name EVEN v STATION station1 (r a) STATION station2 (r b) (OFFSET offset) BEGIN pi (STEP n)
Points pi pi+1 ... located and stored at even stations along the chain name.
DIV/CHA name INCREMENT v STATION station1 (r a) STATION station2 (r b) (OFFSET offset) BEGIN pi (STEP n)
Points pi pi+1 ... located and stored at increment (v) stations along the chain name.
The initial station for pi is the begining station of the chain.


MEASUREMENT COMMANDS

INVERSE:
INVERSE pa pb *Inverses between two points.
INVERSE pa-pb *Inverses between a range of points.

TANGENT BEARING:
PRINT DIRECTION CURVE name STA station
PRINT DIRECTION SPIRAL name STA station
PRINT DIRECTION CHAIN name STA station

ANGLE AT:
ANGLE AT pa pb TO pc

ANGLE:
ANGLE pa pa p1-pk

AREA:
AREA (/DESCRIBE) pa pb pc pd pe pa
AREA /DES option will give all data related to points and curvilinear segments.
AREA /DES will also print closure information if the boundary of the given points does not close (i.e., if the last point is different from the first point.


MISCELLANEOUS COMMANDS

REBUILD DATABASE * compresses .gpk file

MAKE INPUT FILE file-name element-list
where:
file-name ____ Name of the input file where GEOPAK commands are written
element-list __ List of GEOPAK elements for which input file commands are to be created.

LAYOUT OFFSET CHAIN name pa pb ... pj (ELEV) (NEAR px)