Making Geological Map Data for the Earth Accessible oneGeology logo
Making Geological Map Data for the Earth Accessible Navigation
Main content
Bottom links

OneGeology

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

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 mapfile. 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 mapfile, 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

OneGeology © 2013. This site is hosted by the British Geological Survey but responsibility for the content of the site lies with OneGeology not with the British Geological Survey. Questions, suggestions or comments regarding the contents of this site should be directed to the OneGeology secretariat.