Error using a simple hello_world.map file

Ricaille Tanguy tanguy.ricaille at TRASYS.LU
Mon Feb 6 08:57:52 EST 2006


Hello, i try to use a simple map test file (hello.map), and i have the
following response:
mapserv(): Web application error. No template provided.

hello.map:

MAP
 NAME HELLO
 STATUS ON
 EXTENT 0 0 4000 3000
 SIZE 400 300
 IMAGECOLOR 200 255 255
 WEB
  IMAGEPATH "/var/www/html/tmp/"
  IMAGEURL "/tmp/"
 END
 LAYER
  NAME "credits"
  STATUS DEFAULT
  TRANSFORM FALSE
  TYPE ANNOTATION
  FEATURE
   POINTS
    200 150
   END
   TEXT 'hello world into mapserver'
  END
  CLASS
   LABEL
    TYPE BITMAP
    COLOR 0 0 0
   END
  END
 END
END

Thanks,
Ricaille Tanguy



More information about the mapserver-users mailing list