Results 1 to 1 of 1

Thread: Mapfile sanity checker

  1. #1
    Registered User
    Join Date
    Aug 2002
    Posts
    189

    Mapfile sanity checker

    This perl script checks all .map files in the current directory for the following errors:
    • Invalid header line
    • M line where number of coordinates is not divisible by 3 (incomplete point)
    • M line where number of points does not equal the number of points it says it has
    • M line with 0 or one points
    • L line where number of coordinates is not divisible by 2 (incomplete point)
    • L line where number of points does not equal the number of points it says it has
    • L line with 0 or one points
    • P, Z, A, and H lines with an incorrect number of fields
    • (null) as a color name or line/point name (this is debatable as to whether it is an error)
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On