Providing geoscience data globally Navigation
Main content
Bottom links

OneGeology

Home > How to serve a OneGeology WMS > Setting up a MapServer WMS > Configuring your MapServer WMS > Unknown identifier
Information:

This is the OneGeology archive website, for the latest information return to the main OneGeology website

4.3.3.2 Unknown identifier

loadLayer(): Unknown identifier. Parsing error near (matching text):(line line-number)

This error can occur when you are missing an enclosing KEYWORD in the map file. For example in the below example, the CLASS keyword has been commented out, leaving the STYLE section uncommented; STYLE is now found in an unexpected position in the map file, resulting in an error.

  #CLASS
    STYLE
      COLOR 161 8 0
      MINSIZE 1
      MAXSIZE 10
    END #style
  #END #class

Section last modified: 19 January 2010

Back | Next