[mapserver-users] Not able to manage "graticules"
ahmet temiz
ahmettemiz88 at gmail.com
Thu Mar 25 02:54:20 PDT 2010
hello
I was not able to manage "graticules".
java-mapscript fails like this:
java.lang.UnknownError: msDrawMap(): Image handling error. Failed to
draw layer named 'grid'.;msAddLabel(): Memory allocation error.
Realloc() error.
here is the grid component of my map file:
~~~~~~~~~~~~~~~~~~~~~~
LAYER
NAME "grid"
METADATA
"DESCRIPTION" "Grid"
END
PROJECTION
'proj=utm'
'zone=36'
'ellps=WGS84'
'datum=WGS84'
'units=m'
'no_defs'
''
END
TYPE LINE
STATUS ON
CLASS
NAME "Graticule"
COLOR 0 0 0
LABEL
COLOR 255 0 0
SIZE TINY
POSITION AUTO
PARTIALS FALSE
BUFFER 5
OUTLINECOLOR 255 255 255
END
END
GRID
MAXARCS 10
MAXINTERVAL 10
MAXSUBDIVIDE 2
LABELFORMAT '%7.0f m' # nice if a projected SRS used
# MININTERVAL 20000
# MAXSUBDIVIDE 2
END
END # Layer
~~~~~~~~~~~~~~~
how can I make grid object work in UTM projection ?
re
More information about the MapServer-users
mailing list