--------------------------------------------------------------------------------
NORMAL, normal successful completion.
Explanation: The current POLYGONS library routine has completed successfully.
User action: None.
--------------------------------------------------------------------------------
ALLOCD, Allocated 'integer' Bytes before failure.
Explanation: Additional message to POLY_F_MEMORY.
User action: None.
DEFPOL, Maximum number of polygons set to a default of 'integer'
Explanation: The logical name LSL$POLYGONS_POLMAX was either undefined or bad. POLYGONS is setting the maximum number of polygons to the specified default value.
User action: None.
DEFSID, Average number of sides per polygons set to a default of 'integer'
Explanation: The logical name LSL$POLYGONS_AVERAGE_SIDES was either undefined or bad. POLYGONS is setting the maximum number of polygons to the specified default value.
User action: None.
POLVAL, Maximum number of polygons set to 'integer'
Explanation: The logical name LSL$POLYGONS_POLMAX was successfully parsed to the specified value
User action: None.
SIDVAL, Average number of sides per polygon set to 'integer'
Explanation: The logical name LSL$POLYGONS_AVERAGE_SIDES was successfully parsed to the specified value
User action: None.
SUGGEST, Suggested maximum value for LSL$__POLYGONS__POLMAX = 'integer'.
Explanation: Additional message to POLY_F_MEMORY.
User action: set the logical name LSL$_POLYGONS_POLMAX to a number less-than or equal-to the suggested value.
--------------------------------------------------------------------------------
BADJUN, 'integer' arm junction detected at ('x coord','y coord').
Explanation: A zero or one arm junction has been detected at the specified location. Warnings relating to one arm junctions are only issued if the user has specified the /ONEARM=WARN command qualifier.
User action: A zero arm junction would cause serious problems to the POLYGONS library routines. Program execution is normally abandoned after one (or more) zero arm junctions have been detected. Such junctions should not occur. Examine all stages of the flowline used to create the junction structured input file. Check the HI (HIstory) record of the input file for signs of abnormal processing termination earlier in the flowline. If the problem cannot be traced, please contact Laser-Scan. One arm junctions are quite acceptable to the POLYGONS library polygon formation routines. The presence of an unwanted one arm junction may indicate poor quality control in the production flowline.
DBLDIG, double digitising suspected.
Explanation: Evidence of double-digitising has been discovered. This has been more specifically located in previous warnings. Execution will probably be aborted soon after this warning is detected.
User action: Investigate the segments specified in earlier warnings for possible overlap or coincidence. If double-digitising is found then the offending segment(s) should be edited out using LITES2 and junction-structure rebuilt using ILINK.
DUPSEGFSN, duplicate segment FSN found.
Explanation: Two or more input file features (segments) share the same FSN (Feature Serial Number). As the POLYGONS library routines use the segment FSN to uniquely identify segments, this would cause later processing problems. Processing will usually be terminated after these duplicate FSN warnings.
User action: Use the IMP utility IRENUMBER to reallocate the input feature FSNs to unique values.
INVFEAT, invalid IFF segment feature.
Explanation: Problems have been found in one or more of the input IFF segments. These will have been detailed in previous warnings. Execution will probably be aborted soon after this warning is given.
User action: Correct the problems detailed by previous warnings and re-run IPOLYGON.
LOSTARM, unable to find current arm in feature with FSN 'integer'.
Explanation: The program has come along the specified segment to a junction in which it cannot locate the current arm. This problem may be caused by double digitising, whereby two arms lie at exactly the same angle within the junction.
User action: Use LITES2 to examine the input segment file, either use LITES2 or ILINK/LLJOIN followed by ILINK/MERGE to remove all traces of double digitising. Use ILINK/STRUCTURE to re-create junction structure and the re-run the POLYGONS utility.
MDDEFAULT, MD error: origin defaulted to (0,0).
Explanation: The /ABSOLUTE qualifier has been given, but there was some error in the MD (map descriptor) entry, either not type 2 or not a valid MD type 2 entry. The origin offset has been set to a default value of (0,0) and the /ABSOLUTE qualifier ignored.
User action: Check the MD entry, and check that it is type 2 and of the correct length.
MULTIDUF, polygon 'integer' multiply flagged as duff.
Explanation: POLYGONS utilities usually attempt to continue processing even if polygon formation fails due to bad input IFF junction structure. The incomplete polygon is flagged as being duff and is carefully avoided throughout the remaining processing stages. The input IFF junction structure is corrupt in such a way that recursive polygon formation has occurred.
User action: While the POLYGONS utility will make every effort to ensure that the output files will not contain corrupt polygons, the output files should be checked very carefully. Ideally, the cause of the junction structure corruption should be traced and remedied, and then the POLYGONS utility should be re-run.
MULTISEG, segment with FSN 'integer' used to form multiple polygons.
Explanation: POLYGONS utilities attempt to continue processing even if polygon formation fails due to bad input IFF junction structure. The incomplete polygon is flagged as being duff and is carefully avoided throughout the remaining processing stages. One result of such action is that segments cannot properly be flagged as 'used' in a given direction - the polygon which used the segment is flagged as duff and invalid. Segments may thus be used several times near the site of a corrupt polygon and this message is output to warn the user that the output files may contain spurious polygon features.
User action: While the POLYGONS utility will make every effort to ensure that the output files will not contain corrupt polygons the output files should be checked very carefully. Ideally, the cause of the junction structure corruption should be traced and remedied, and then the POLYGONS utility should be re-run.
NOARM, no junction arms to follow in feature with FSN 'integer'.
Explanation: The program has encountered a junction in which there are no arms, or no arms left unused to follow. This should not normally happen, as zero arm junctions are trapped prior to polygon formation.
User action: Use LITES2 to examine and correct the input segment file. Use ILINK/STRUCTURE to re-create junction structure and the re-run the POLYGONS utility.
PIPFAIL, unable to generate a point inside polygon with ID 'integer' and coordinate ('x coord','y coord').
Explanation: an attempt was made to automatically generate a point that was guaranteed to lie inside a specified polygon. The routine has unexpectedly failed for this particular polygon.
User action: please make a copy of the dataset and command line being used for possible later analysis and submit an SPR.
TOOMNYNODES, too many nodes.
Explanation: An attempt has been made to add extra arms to a node.
User action: Check for previous errors.
UNEXPSEC, unexpected sector 'integer' found.
Explanation: The program has calculated that an output file junction lies in a junction sector that does not lie within the sector header.
User action: Use LITES2 to check the output file very carefully.
--------------------------------------------------------------------------------
BOUNDING, unable to determine bounding polygon.
Explanation: The program cannot identify a unique bounding polygon.
User action: Use LITES2 to ensure that all junctions are properly formed around the periphery of the polygon area. There should be a single boundary. Attempts to run IPOLYGON on groups of islands will fail in this way. (See the IPOLYGON chapter "IPOLYGON treatment of the Bounding Polygon" section.) If necessary add an artificial bounding polygon away from the original linework using LITES2, then use ILINK/STRUCTURE to re-create the junction structure and the re-run the POLYGONS utility.
FORMPOLY, previous warnings invalidate polygon formation - aborting
Explanation: warnings have been issued during polygon formation. Execution has continued in an attempt to find all the causes. Now the polygon formation phase has completed and is known to be corrupt, execution will cease.
User action: Take what action is suggested by the previous warnings.
MDABSENT, MD (map descriptor) entry missing.
Explanation: The /ABSOLUTE qualifier has been given, but there was no MD (map descriptor) entry.
User action: Check the IFF file for a valid MD entry.
POLPTS, too many points in polygon coordinate buffer - max. allowed is 'integer'.
Explanation: To facilitate seed point assignment and nested polygon determination, the program must place all the coordinates which define each polygon in turn into a temporary buffer. At least one polygon is defined by more than the permitted number of coordinates.
User action: Check the input segment IFF file. Do the polygons need to have so many defining points? If so, then use LITES2 to split the segment data into two or more files to ensure that no polygon will be defined by more than the permitted number of coordinates. Re-run ILINK on the divided segment files and then re-run IPOLYGON.
POSNEST, too many possible nested polygons - maximum allowed is 'integer'
Explanation: IPOLYGON can only process up to the specified maximum number of nested polygons. If the polygon structure is too complicated IPOLYGON runs out of internal storage for candidate nested polygons during the nested polygon identification phase of execution.
User action: Check the input segment IFF file. Do the polygons need to be so complex? If so, then use LITES2 to split the segment data into two or more files to ensure that no polygon will contain no more than the permitted number of nested polygons. Re-run ILINK on the divided segment files and then re-run IPOLYGON.
SEGPTS, too many points in segment coordinate buffer - max. allowed is 'integer'
Explanation: To facilitate seed point assignment and nested polygon determination IPOLYGON must be able to read all the coordinates which define each segment forming a polygon into a temporary buffer. At least one segment is defined by more than the permitted number of coordinates.
User action: Check the input segment IFF file. Do the segments need to have so many defining points? If so, then use LITES2 to split segments which have more than the permitted number of coordinates into two or more segments to ensure that no single segment feature is defined by more than the permitted number of coordinates. Re-run ILINK on the divided segment files and then re-run IPOLYGON. IPOLYGON is designed to cope with the "2 arm" IFF junctions which result from such division of features.
TABBUILD, previous warnings invalidate lookup tables - aborting
Explanation: IPOLYGON has detected errors in the input IFF segment and/or seed point features that make further processing pointless.
User action: Use the warnings output by IPOLYGON and the LITES2 command file (if specified) to correct the input IFF files using LITES2. When all the edits are complete (and if necessary ILINK run on the segment IFF file), re-run IPOLYGON using the corrected IFF files.
TOOMNYNEST, too many nested polygons - maximum allowed is 'integer'
Explanation: IPOLYGON can only process up to the specified maximum number of nested polygons.
User action: Check the input segment IFF file. Do the polygons need to be so complex? If so, then use LITES2 to split the segment data into two or more files to ensure that no polygon will contain no more than the permitted number of nested polygons. Re-run ILINK on the divided segment files and then re-run IPOLYGON.
TOOMNYPOL, too many polygons formed - maximum allowed is 'integer'
Explanation: IPOLYGON can only process up to the specified maximum number of polygons. This value must also include 'fake' polygons caused by isolated polygons leading to polygon duplication within IPOLYGON workspace. Such 'fake' polygons are stored twice: once as the inner boundary of a "doughnut" shaped outer polygon and once as the isolated polygon in its own right. Thus polygon maps which contain many isolated polygons will significantly increase demands on IPOLYGON internal workspace.
User action: Use LITES2 to split seed point and the segment IFF files into two or more files. Ensure that there will be no more than the permitted number of polygons in any sub-file created from the original file. Re-run ILINK on the divided segment files and then re-run IPOLYGON.
TOOMNYPS, too many polygons segments - maximum allowed is 'integer'
Explanation: IPOLYGON can only process up to the specified maximum number of segments involved in polygon boundaries.
User action: Use LITES2 to split seed point and the segment IFF files into two or more files. Re-run ILINK on the divided segment files and then re-run IPOLYGON.
TOOMNYRING, too many rings extracted - maximum allowed is 'integer'
Explanation: Internally IPOLYGON traces round a polygon boundary using all connected segments regardless of the setting of /ONEARM. If /ONEARM=USE is not specified then these boundaries are analysed into loops. This multiple pass operation can only deal with a maximum number of extracted loops.
User action: Check to see that IPOLYGON runs with the /ONEARM=USE combination present.
TOOMNYSEED, too many seed point features read - maximum allowed is 'integer'
Explanation: IPOLYGON can only process up to the specified maximum number of seed points.
User action: Use LITES2 to split seed point and the segment IFF files into two or more files. Ensure that there will be no more than the permitted number of segments in any sub-file created from the original file. Re-run ILINK on the divided segment files and then re-run IPOLYGON.
TOOMNYSEG, too many segment features read - maximum allowed is 'integer'
Explanation: IPOLYGON can only process up to the specified maximum number of segments.
User action: Use LITES2 to split seed point and the segment IFF files into two or more files. Ensure that there will be no more than the permitted number of segments in any sub-file created from the original file. Re-run ILINK on the divided segment files and then re-run IPOLYGON.
TOOMNYTREE, too many trees formed - maximum allowed is 'integer'
Explanation: IPOLYGON can only process up to the specified maximum number of trees - zero-area nested polygons.
User action: Check the input segment IFF file. Are trees required? They can be eliminated by not specifying /ONEARM=USE. If they are required, then use LITES2 to split the segment data into two or more files to ensure that no polygon will contain no more than the permitted number of trees. Re-run ILINK on the divided segment files and then re-run IPOLYGON.
UNEXPEOF, unexpected end of IFF file 'file-spec'
Explanation: specified input IFF file terminated before an IFF EJ entry was encountered.
User action: Use IMEND to correctly terminate the file. Re-run the POLYGONS program on the repaired IFF file. If the problem persists try reading the file into LITES2 and then exit. Re-run the POLYGONS program.
--------------------------------------------------------------------------------
BADFLAG, bad internal segment flags
Explanation: Internal flags have become incorrectly set, possibly as a result of the use of an input segment file containing invalid IFF junction structure.
User action: It is possible that the input segment file contains corrupt junction structure and this should be investigated before contacting Laser-Scan. Use the IMP utility IPATCH to examine the file or ITOTEXT/ADDRESS, (if the file is not too big)! If the junction structure is believed correct, or is incorrect but produced by a Laser-Scan utility, please save the input files and submit an SPR to Laser-Scan.
FATAL, Unspecified fatal error
Explanation: The current POLYGONS library routine has failed in a bad way. This message should not normally be seen by the user.
User action: Contact Laser Scan and describe in detail the steps which led to this message.
LOST, failed to locate IFF entry at recorded address - position lost
Explanation: IPOLYGON has incorrectly stored the address of an entry within one of the input IFF files and has now attempted to locate that IFF entry. This is a very severe error. IPOLYGON is irrevocably lost.
User action: Try reading the input IFF files into LITES2. If this is successful then the problem lies within IPOLYGON itself; please make a copy of the input IFF files and report the problem to Laser-Scan.
MEMORY, *** ERROR allocating virtual memory.
Explanation: The polygons package dynamically memory handling routines were not able to allocate the memory that it required.
User action: Reduce the values of LSL$_POLYGONS_POLMAX and LSL$_POLYGONS_SIDES.
STACKOVER, polygon formation stack overflow
Explanation: The polygon library routines form each polygon on a stack which is only flushed into the programs polygon storage when the polygon is complete. The current polygon has more segments than there is room on the formation stack. This should never happen.
User action: Please save the input files and submit an SPR to Laser-Scan.
--------------------------------------------------------------------------------