HOW TO
Splitting arcs at regular intervals requires the use of Dynamic Segmentation commands.The following example generates a coverage containing a single arc. The arc is approximately 14 coverage units long and will be split at a regular interval of 3 units.
Code:
Arc: generate testcov
Generate: line
ID: 1
X,Y: 0,0
X,Y: 10,10
X,Y: end
ID: end
Generate: quit
Arc: build testcov (!node arc!)
Arc: list testcov.aat length
Record length
1 14.142
Code:
Usage: ARCROUTE <in_cover> <out_route_system> {in_route_item} {out_route_item}
{measure_item} {UL | UR | LL | LR} {BLANK | NOBLANK}
Arc: arcroute testcov road testcov-id road-id length LL
Building routes from arcs...
Sorting section table...
Arc: list testcov.ratroad
Record ROAD# ROAD-ID
1 1 1
Note:
Several commands allow routes to be created in bulk or interactively. Bulk methods include ARCROUTE, MEASUREROUTE, ARCSECTION, TOUR and PATH. Routes can be created interactively in ArcEdit with the MAKEROUTE command.
Code:
Arc: tables
Tables: define road.eve
Item Name: road-id 4 5 b
Item Name: interval 4 12 f 3
Tables: add
1
ROAD-ID: 1
INTERVAL: 3
2
ROAD-ID: 1
INTERVAL: 6
3
ROAD-ID: 1
INTERVAL: 9
4
ROAD-ID: 1
INTERVAL: 12
5
ROAD-ID:
Tables: list
Record ROAD-ID INTERVAL
1 1 3.000
2 1 6.000
3 1 9.000
4 1 12.000
Code:
Arc: eventsource
Usage: EVENTSOURCE ADD <LINEAR | CONTINUOUS | POINT> <source_name> <table_name>
{database} {relate_type} {route_key_item} {event_key_item}
{measure_item} {measure_item}
Usage: EVENTSOURCE DROP <source_name>
Usage: EVENTSOURCE LIST {source_name}
Usage: EVENTSOURCE SAVE <info_file>
Usage: EVENTSOURCE RESTORE <info_file>
Arc: eventsource add point source road.eve info ordered road-id road-id interval
Code:
Arc: arcplot
Arcplot: display 9999
Arcplot: mapextent testcov
Arcplot: routes testcov road
Usage: EVENTMARKERS <cover> <route_system> <event_source> {item | symbol}
{lookup_table} {offset_item} {lookup_table}
{ROTATE | PERPENDICULAR}
Arcplot: eventmarkers testcov road source 3
Usage: EVENTPOINTTEXT <cover> <route_system> <event_source> {text_item}
{lookup_table} {offset_item} {lookup_table}
{PERPENDICULAR {LEFT | RIGHT} {NOFLIP}}
Arcplot: eventpointtext testcov road source interval # 0.3
Code:
Arc: precision double double
Arc: eventpoint testcov road source pointcov
Creating output coverage POINTCOV ...
Arc: describe pointcov
Description of DOUBLE precision coverage pointcov
FEATURE CLASSES
Number of Attribute Spatial
Feature Class Subclass Features data (bytes) Index?
------------- -------- --------- ------------ -------
POINTS 4 32
Code:
Arc: &run nodesfrompoints
Usage: NODESFROMPOINTS <splitcov> <pointcov> <search_dist>
Arc: &run nodesfrompoints testcov pointcov 1
Arc: describe testcov
Description of DOUBLE precision coverage testcov
FEATURE CLASSES
Number of Attribute Spatial
Feature Class Subclass Features data (bytes) Index? Topology?
------------- -------- --------- ------------ ------- ---------
ARCS 5 28
NODES 6 12
ROUTES/SECTIONS ROAD 1/5 8/32
Article ID:000002382
Get help from ArcGIS experts
Download the Esri Support App