Annotation layer not redisplaying on zoom-in
ANDERSON, WALTER
WAnderson at PBSJ.COM
Tue Jan 3 13:25:01 PST 2006
I am having a problem with labels on an annotation layer displaying on
the full extents but not displaying when I zoom in. The problem is with
the "Route Labels" layer in the map file below. The labels (with shield
symbols) shows up fine when the map is zoomed to full extent, but they
disappear whenever any level of zoom-in is made.
Can someone tell me what I am doing wrong?
I am currently testing this map on the latest ms4w mapserver build and
using the maplab tool to preview the map.
Thanks,
Walter Anderson
MAP
NAME "Highway"
STATUS ON
EXTENT 2560000 9840000 3465000 10348500
SIZE 600 400
SHAPEPATH "/ms4w/apps/hba/data/"
SYMBOLSET "/ms4w/apps/hba/htdocs/symbols.sym"
FONTSET "/ms4w/apps/hba/htdocs/fontset.txt"
IMAGETYPE JPEG
IMAGECOLOR 255 255 255
UNITS FEET
WEB
IMAGEPATH "/ms4w/tmp/ms_tmp/"
IMAGEURL "/ms_tmp/"
LOG "/ms4w/apps/hba/err.log"
END
REFERENCE
STATUS ON
IMAGE "/ms4w/apps/hba/data/austin_district.gif"
SIZE 304 174
EXTENT 2519285.568276 9809279.856313 3508398.761244 10375938.133188
COLOR -1 -1 -1
OUTLINECOLOR 255 0 0
END
SCALEBAR
STATUS EMBED
COLOR 0 0 0
OUTLINECOLOR 0 0 0
BACKGROUNDCOLOR 255 255 255
IMAGECOLOR 255 255 255
UNITS MILES
INTERVALS 2
SIZE 100 10
STYLE 0
POSITION LL
END
LAYER
NAME "County Boundaries"
STATUS ON
DATA "AUS_Counties"
TYPE POLYGON
UNITS FEET
SIZEUNITS PIXELS
LABELITEM "CNTY_NM"
LABELMINSCALE 100000
CLASS
LABEL
TYPE TRUETYPE
FONT "arial"
SIZE 8
POSITION CC
COLOR 255 0 255
END
STYLE
OUTLINECOLOR 192 0 255
SIZE 2
END
END
END
LAYER
NAME "Major Routes"
STATUS ON
DATA "AUS_Routes_Centerline"
TYPE LINE
CLASSITEM "RTE_PRFX_C"
UNITS FEET
SIZEUNITS PIXELS
CLASS
NAME "Interstate"
EXPRESSION "IH"
STYLE
SYMBOL "BigLine"
COLOR 255 0 0
SIZE 1
END
END
CLASS
NAME "Highway"
EXPRESSION "US"
STYLE
COLOR 0 0 0
SIZE 1
END
END
CLASS
NAME "Other"
EXPRESSION ('[RTE_PRFX_C] ' ne 'US' and '[RTE_PRFX_C] ' ne 'IH')
STYLE
COLOR 192 192 192
SIZE 1
END
END
END
LAYER
NAME "Billboards"
STATUS ON
DATA "billboards"
TYPE POINT
UNITS FEET
SIZEUNITS PIXELS
MINSCALE 1
MAXSCALE 250000
LABELITEM "PERMIT_NO"
LABELMINSCALE 1
LABELMAXSCALE 48000
DEBUG On
CLASS
LABEL
TYPE TRUETYPE
FONT "arial"
SIZE 6
POSITION UR
COLOR 255 0 0
END
STYLE
SYMBOL "Circle"
COLOR 255 0 0
SIZE 2
END
END
END
LAYER
NAME "credits"
STATUS DEFAULT
TYPE ANNOTATION
TRANSFORM FALSE
CLASS
LABEL
TYPE TRUETYPE
FONT "arial-italic"
SIZE 8
POSITION UR
COLOR 0 0 255
END
END
FEATURE
TEXT "© 2006 AZB"
POINTS
535 393
END
END
END
LAYER
NAME "Route Labels"
STATUS DEFAULT
DATA "rte_lbl"
TYPE ANNOTATION
CLASSITEM "SYS"
UNITS FEET
SIZEUNITS PIXELS
LABELITEM "NUM"
DEBUG on
CLASS
NAME "Interstate Shields"
EXPRESSION "IH"
MINSCALE 1
MAXSCALE 12000000
COLOR 0 0 0
LABEL
TYPE TRUETYPE
FONT "arial"
SIZE 8
POSITION CC
MINFEATURESIZE 40
MINDISTANCE 60
COLOR 255 0 0
END
STYLE
SYMBOL 2
COLOR 0 0 0
END
END
CLASS
NAME "US Highways"
EXPRESSION "US"
MINSCALE 1
MAXSCALE 12000000
COLOR 0 0 0
LABEL
TYPE TRUETYPE
FONT "arial"
SIZE 6
POSITION CC
MINFEATURESIZE 40
MINDISTANCE 40
COLOR 0 0 0
END
STYLE
SYMBOL 4
COLOR 255 255 255
OUTLINECOLOR 0 0 0
END
END
END
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060103/93a28925/attachment.htm>
More information about the MapServer-users
mailing list