GENASYS

GenaMap Quick Reference Guide   Version 6.1

exit		Exits a script (or GenaMap) with exit status specified by n.
let		Evaluates arguuments as an arithmetic expression.
print		Echoes arguments.
read		Reads one line from standard input, and assigns the line to one or more variables.
set		Lists current environment assignments.
sys		Executes a system command.  If no command ID is present, a system shell is provided.


Help

'.'		Edit and use previous command lines (CED).
COMMands	Provide list of commands by functional group.
HELP		List commands or information on a command.
NEWS		List current news.
TIME		List total and elapsed time and disk I/O.


File Management

CLOSe		Close a master project.
COPY		Copy a map onto a new map.
DELEte		Delete a map or file.
EDIT		Alter map header, raster cells and catagories.
EXIT		Scripting language command to terminate session.
EXPOse		Expose map(s) for modification.
FKEY		Script to assign a command line to a function.
GET		Retrieve map(s) from the master project for update.
GEXIt		Script automatically exicuted upon normal exit of session.
INSErt		Insert the name of a map into the work names list.
ISOFf		Set state of island assignment to parent off.
ISON		Set state of island assignment ot parent on.
MLS		Map library system building, querying and plotting.
NEWMap		Make a new map.
OPEN		Open a master project.
PROTect		Protect map(s) from modification.
PUT		Replace or insert map(s) into a master project.
RENAme		Change the name of a map.
SYSManager	Provide a list of system management utilities.
TEE		Script to tee command output to the screen and a file.


X-Window Management

WACTivate	Activate a graphics window.
WCREate		Create a graphics window.
WDELete		Delete a graphics window.
WSTAtus		Report status of current window environment


Session Environment Settings

CRITerion	Set search radius distance criterion.
GENV		Script to save or restore environment variables.
GETVar		Get value of an environment variable.
GRPLot		Plot a grid of tic marks.
INPUt		Select the graphics input device.
OUTPut		Select the graphics output device.
PAGE		Set current number of lines per page.
SESSion		Change to a new or different session.
SETVar		Set the value of an environment variable.
SHFTmethod	Command to change current datum shift method and file.
SPROjection	Set session projection of geographic viewing window.
STATus		List current settings of the session.
UNITS		Change current units of measurement.


Color Tables

COLChange	Change the color of an entry in the current color table.
COLDefault	Install the default color table as the current color table.
COLOrs		Display available colors
COLSave		Save the current color table to a color table file.
COLTable	Read a color table file and install in session.


Display Manipulation

BARS		Plot feature information on the map or in a graph.
EDMRedraw	Redraw edit map, ancillary layers and edit buffer.
ERASe		Clear the screen.
EXCEdge		Extract common edges between two given area features.
GEOWindow	Set geographic viewing window and session projection.
GRDSize		Set window display size.
GRVPend		End current graphics viewport.
GRVPort		Define a coordinate system for the output device.
HISTogram	Plot an area, length, perimeter or frequency graph.
LABEl		Plot feature IDs, length/area, tags or attributes.
PIXPlot		Plot a descrete cell (pixel) map.
PIXShade	Rapid shade of descrete cell maps and TIFF images by pixel mapping.
PIXV		Script to display a TIFF image file.
PLOT		Plot active IDs and/or maps.
RAWPlot		Plot topology of vector active IDs and/or maps.
REDRaw		Re-run last PLOT, SHADe or RAWPlot command.
RESEt		Reset voomed window.
SCLEar		Script to clear the alpha portion of the screen.
SCROll		Move to a new zoom area.
SHADe		Shade cells and area features of active IDs and/or maps.
WINBounds	Set geographic viewing window boundaries values.
WINDow		Set geographic viewing window and session projection.
WINOffset	Offset the bounds of the current window.
WINSave		Save the current window to a file.
ZOOM		Magnify a portion of the viewing window.


Data Entry Session Settings

ASAVe		Automatically save edit buffer on edge completion.
AUXD		Script for auxillary digitizing functions menu.
CFITmethod	Select method for fitting curve points.
EDANcillary	Specify ancillary display and snap IDs for edit map.
EDBTag		Specify tag for points and lines in edit buffer.
EDMAp		Define edit maps, checkpoint and ancillary IDs.
EDMDefine	Specify map(s) for entry and edit commands.
LBELl		Switch locator bell on or off.


Geographic Data Entry

BOUNd		Extract boundary nodes and store in edit map.
CHECkpoint	Measure registration checkpoint.
DIGI		Map digitize and edit script.
EDBCurve	Record a point for curve fitting in edit buffer.
EDBDraw		Draw to new location in edit buffer.
EDBMove		Move to a new location in the edit buffer.
EDBNode		Move to beginning/draw to end of edit buffer edge.
EDBSave		Save contents if the edit buffer to the edit map.
EDBUndo		Undo the contents of the edit buffer.
EDBZ		Specify default z value for locations in the edit buffer.
NODDraw		Script to plot node inconsistancies identified in NODReport.
NODMove		Move a node to a new location.
PASTe		Paste all or part of map(s) onto edit map(s).
RECTangle	Produce a new map with lines forming rectangles.
REGIster	Set up a map sheet for digitizing.
THIEssen	Produce thiessen polygons from point features.
TILEr		Tessellate and store in vector map and attribute file.


Geographic Data Manipulation

DELFeatures	Delete features in active IDs.
DISSolve	Remove edges between features having the same tag.
EDCDelete	Clip out data in an area and delete it from an edit map.
EDCSave		Clip out data in an area and save it to an edit map.
EDITFeature	Edit characteristics of a vector or cell map feature.
EDITList	Edit characteristics of all vector features.
EDMEdit		Examine or edit topological entity in edit map
EDMInters	Identify two crossing edges and create intersection.
EDMJoin		Join all edit map edges across extraneous nodes.
EDPDelete	Delete edit map edges accross extraneous nodes.
EDVErtex	Add, delete, move a vertex of an edge map in edit map.
GBCIrcle	Graphics buffer circle generation.
GBCLose		Close graphics buffer to make area feature.
GBDUmp		Graphics buffer dump.
GBELlipse	Graphics buffer ellipse generation.
GBEPoint	Erase (undo) the last point in edit buffer.
GBERase		Erase (undo) all points and edges in the edit buffer.
GBFOcal		Graphics buffer focal point specification.
GBID		Graphics buffer load from active ID.
GBMAbs		Graphics buffer move absolute.
GBMRel		Graphics buffer move relative.
GBPDeleted	Graphics buffer pick deleted.
GBPIck		Graphics buffer pick.
GBPLot		Redraw all points and edges in edit buffer.
GBROtate	Graphics buffer rotate.
GBSAve		Save contents of the graphics buffer to the edit map.
GBSCale		Graphics buffer scale.
GLOCator	Get location from graphics input device.
GRSNap		Adjust location to snap to nearest grid in search radius.
SCIRcle		Plot circle of search criterion radius.
SNAP		Adjust location to nearest entity in search radius.


Coordinate Geometry

ARCCircle	Create an arc of a circle by various means.
CDS		Create a cul-de-sac from a road centerline.
CGALine		Enter distance and azimuth from a node to make a line.
CGANgle		Set constant angle value to add to subsiquent angles.
CGAPoint	Enter distance and azimuth from a node to make a point.
CGBLine		Enter distance and bearing from a node to make a line.
CGBPoint	Enter distance and bearing from a node to make a point.
CGDLine		Enter change (delta) in x and y to make a line.
CGDPoint	Enter change (delta) in x and y to make a point.
CGINverse	Display distance, bearing and azimuth of two points.
CGLIne		Enter x and y coordinates defining a line.
CGLOcate	Display x,y coordinates and those of nearest node or edge.
CGPOint		Enter x and y coordinates defining points.
CGSNap		Set state of COGO snapping to entities to off or on.
COGO		Script to provide menu of coordinate geometry functions.
EDMFillet	Create fillet curve at vertex of two edges.
GBADjust	Graphics Bowditch adjustment.
PCOPy		Create Parallel copy of edge at specified distance.
POEDge		Compute point(s) along a raw edge.
POLIne		Compute point(s) on a line feature.


Data Transformation

RBDEst		Get destination points from edit map for rubber sheeting.
RBSOurce	Get source points from a map for rubber sheeting.
RBTRansform	Rubber sheet source map into destination map.
RBVIew		View results of rubber sheet transformation.
REPRoject	Coordinate projection transformation.
TRANsform	Map coordinate conversion.


Topological Check/Edit

CLEAr		Dismantle all area features in map(s).
E2ESnap		Sanp edges to adjacent edges.
FEADel		Delete features in a map.
ISAParent	Assign all islands to parent area feature.
ISASelect	Assign selected islands to parent area feature.
ISDParent	Deassign all islands from parent area feature.
ISDSelect	Deassign selected islands from parent area feature.
N2ESnap		Snap nodes to adjacent edges.
N2NSnap		Snap adjacent nodes together.
TIDY		Clean map by removing deleted and unused data.
VERIfy		Topoligical validation and area feature formation.
ZIPDraw		Script to plot mismatched nodes identified in ZIPReport.
ZIPNode		Highlight boundary nodes that need to be zipped up.
ZIPReport	Report on nodes positioned in an adjacent map.
ZIPUp		Script to import text from text import file.


Import/Export

IMPOrt		Import data from input file to edit map.
TEX2mport	Import data from import file to edit map.
TEXImport	Script to import text from text import file.


Tagging

EXQTag		Enquire about the position and symbology of a tag.
RECLassify	Replace tags of features in active IDs and/or maps.
TAG		Attribute tagging.
TAG2text	Script to write out tags in text import format.
TAGAdd		Tag nodes, edges or area features in the edit maps.
TAGDelete	Delete a tag from an edit map feature.
TAGPlot		Plot the tags in the current edit maps.
TAGSave		Write area feature tags from active IDs to tag queue.
TAGUntagged	Tag untagged nodes, edges, areas or text.
ZIPTag		Highlight boundary nodes where tags need to be zipped up.


Active Tables

ACTIve		Produce active table.
ACTList		List the contents of an active save file.
ACTRestore	Restore IDs in active save file to active table.
ACTSave		Save active IDs to an active save file.
FREE		Remove entries from the active table.
ISELect		Select features from an index map by tag.
SAVE		Save active IDs and maps into a new map.
SELEct		Retrieve features from map(s) and/or active ID(s)
SELFu		Use selection criteria from external files.


Symbology Control

ASSIGN		List and assign symbology.
BUNCreate	Create a symbology table.
BUNDle		Open a symbology bundle table.
DRSYmbol	Plot a symbol or marker at a given point.
EDSFeature	Set feature symbology for editing
EDSTag		Set tag symbology for editing.
EDSYmbology	Edit feature symbology
FONTs		Symbol and character font creation and maintenance.
LFONts		Line fonts for primitive plotting.
MRKEd		Edit marker symbology location, lead line and rotation.
SYMBology	Enter, change, list, delete and plot symbology entries.


Index Maps

IADD		Replace or insert map(s) into an index map.
IDELete		Remove map(s) from an index map.
ILISt		List maps in an index map.
IPLOt		Plot boundary of maps in an index map.
ITADd		Use active IDs to insert tags into an index map.
ITDElete	Use active IDs to remove tags from an index map.


Internal Attributes

ATTCalc		Calculate values for new attribute field.
ATTEdit		Attribute edit based on feature.
ATTRibute	Multiple attributes data management.


RDBMS Manipulation

DBCOnnect	Connect to an external DBMS.
DBEXecute	Execute and SQL command.
DBLAbel		Label feature with attributes from a DBMS.
DBQUery		Identify features and list attributes from a DBMS.
DBREport	Report on feature attributes from a DBMS.
DBSElect	Select features using criteria from a DBMS.
DBSEnd		Transfer feature information to a DBMS.
DBTAg		Retag map feature with value from external RDBMS.


Text Management

TAG2text	Script to write out tags in text import format.
TEX2tag		Script to convert text import file to tag import file.
TEXAdd		Script to enter text and appearance of text using settings.
TEXADDCurv	Script to create a curve verticies.
TEXADDLead	Script to create lead line vertices.
TEXCopy		Script to copy a text entry to a new location.
TEXCurve	Script to manipulate text curve line.
TEXDElete	Script to delete a text entry from a text edit map.
TEXDUmp		Script to dump text feature into text import format.
TEXEdit		Script to change text or appearance of text by
TEXFile		Script to import text from tag import file.
TEXFix		Script to fix text feature mbr.
TEXGEdit	Script to modify text using values settings.
TEXGMod		Script to globally modify some text attributes.
TEXImport	Script to import text from text import file.
TEXLead		Script to manipulate text lead line(s).
TEXMove		Script to move a text entry to a new location.
TEXPaste	Script to paste text feature into text edit maps.
TEXSave		Script to save text feature into text edit maps.
TEXT		Script for text graphics compilation.
TEXValue	Script to manipulate text environment values.


Cartographic Output

COMPose		Hardcopy cartographic compostition.
CGRId		Script to create a map containing grid and gradicules.
CPLOt		Produce a scaled check plot.
DRLAbel		Plot text strings from an external source.
DRLIne		Draw a raw or symbolized line.
DRPOly		Shade a raw or symbolized polygon.
DRTExt		Draw raw, symbolized or user-defined text string.
HARDcopy	Use composition file to create hard copy plot.
P1P2		Plot tics at the P1 and P2 points of an HPGL plot file.


Reports

LPRInt		Spool file to the line printer queue.
NODReport	Report on logically inconsistent nodes.
PIPReport	Point-in-polygon reporting.
REPOrt		Produce a table of attributes of features.
SAMPle		Script to produce a random sample of feature IDs or cells.
SNAPlist	Snap to map(s) given a session x y coordinate.
TABLe		Produce area, length, parimeter or frequency tables.
VIEW		List the contents of a file.


Data Enquiry

DESCribe	Provide information about the contents of a map.
DISTance	Compute distance between points.
DOEDge		Compute points' distance along and offset from a raw edge.
DOLIne		Compute points' distance along and offset from a line feature.
ENQEdge		Enquire characteristics of an edge in a map.
ENQFeature	Enquire characteristics of a map feature.
ENQList		Enquire characteristics of all vector or text features.
ENQMap		Enquire characteristics of a map.
ENQNode		Enquire characteristics of a node in a map.
IDLIst		List map name and feature IDs.
LIST		List map names.
LOCAte		Provide coordinates of locations.
QUERy		Identify and provide information on features in a map.
SNAPfeature	Snap to specific feature at a given x,y point.


Data Analysis

ACBUild		Build a new access table.
ACCAtchment	Access catchment area analysis.
ACLOcation	Access location profile table computation.
ACPOtential	Access potential values computation.
ACPRoximity	Access proximity count threshold analysis.
BUFFer		Point, line and area zone generation.
MATDCreate	Distance matrix creation.
MATDIstance	Distance matrix manipulation.
MATICreate	Creation of a matrix for interaction manipulation.
MATINteract	Origin to destination matrix manipulation.
NETDistrict	Select lines closest to a network district.
NETPath		Select network line features within a network distance zone.
NETZone		Select line features within a network distance zone.
OVERlay		Preform topological intersection.
PROXimity	Select features within a distance.
SELTravel	Order features in traveling salesman route order.
SHORt		Find the shortest route throughout a network.


Scripting Language Commands

File Redirection:
	>	redirect to file
	>>	append to file
	2>	redirect error to file
	2>>	append error to file
	2>&1	redirect error to where output is going
	>&2	redirect output to where error is going

Program Flow Control:
	if list		forname [in word...]	while list
	then list	do list			do list
	[elif list	done			done
	then list]
	[else list]
	fi

	case word in	test a word against several alternatives and
	pattern)command	take appropriate action for that matches
	;;
	pattern)command
	;;
	esac

shift [ n ]	Shifts command line arguements along n places.
eval	Evaluates contents of arguements and executes the results as a
	list of commands.

    Source: geocities.com/hanson_c