mapserver/mapserver — pull request #4165 by tbonfort (2013-02-28 09:22:36+00:00)
Title: Unknown connectiontype GRATICULE

**Reporter: edmarmoretti**
**Date: 2012/01/24 - 22:22**
**Trac URL:** http://trac.osgeo.org/mapserver/ticket/4165
I'm trying to create a coordinate grid using Mapserver 6. My mapfile is:

LAYER

CONNECTIONTYPE GRATICULE

NAME "SAMPLEGRID"

STATUS DEFAULT

TYPE LINE

UNITS DD

CLASS

LABEL

SIZE MEDIUM

COLOR 255 128 89

OFFSET 0 0

POSITION CC

SHADOWSIZE 1 1

TYPE BITMAP

END # LABEL

STYLE

ANGLE 0

COLOR 0 255 128

OFFSET 0 0

END # STYLE

END # CLASS

GRID

LABELFORMAT "DDMMSS"

MAXSUBDIVIDE 5

MINSUBDIVIDE 5

END # GRID

END # LAYER

But I get the following error messages:

Warning: ms_newMapObj(): [MapServer Error]: msInitializeVirtualTable(): Unknown connectiontype, it was -1

Warning: ms_newMapObj(): [MapServer Error]: getSymbol(): Parsing error near (GRATICULE)

Fatal error: Uncaught exception 'MapScriptException' with message 'Failed to open map file...