Providing geoscience data globally Navigation
Main content
Bottom links


Home > How to serve a OneGeology WMS > Setting up a MapServer WMS > Configuring your MapServer WMS > Unknown identifier 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.

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

Section last modified: 19 January 2010

Back | Next