Opened 12 years ago

#4165 new defect

Unknown connectiontype GRATICULE

Reported by: edmarmoretti Owned by: sdlime
Priority: highest Milestone: 6.0.1 release
Component: MapScript Version: 6.0
Severity: critical Keywords:
Cc:

Description

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(): Error: msInitializeVirtualTable(): Unknown connectiontype, it was -1

Warning: ms_newMapObj(): Error: getSymbol(): Parsing error near (GRATICULE)

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

Change History (0)

Note: See TracTickets for help on using tickets.