You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAP
NAME WMS_TEST
SHAPEPATH ./data
FONTSET etc/fonts.txt
WEB
METADATA
"wms_onlineresource" "http://localhost/path/to/ows?"
"ows_enable_request" "DescribeLayer"
"wms_enable_request" "!GetCapabilities !GetFeatureInfo GetMap"
END
END
PROJECTION
"init=epsg:4326"
END
LAYER
NAME lakes_elev
METADATA
"DESCRIPTION" "Lakes with dimesions (elevation and text)"
"wms_title" "Lakes"
"wms_description" "Lakes"
"wms_enable_request" "*"
END
TYPE POLYGON
STATUS ON
DATA lakes2
PROJECTION
"init=epsg:4326"
END
LABELITEM "text_dimen"
LABELCACHE OFF # <---- needed to triger the issue
CLASS
NAME "Lakes with elevation"
STYLE
COLOR 0 0 240
OUTLINECOLOR 0 0 199
END
LABEL
COLOR 0 0 0
OUTLINECOLOR 255 255 255
FONT "vera"
TYPE truetype
SIZE 8
POSITION cc
STYLE
COLOR 255 0 0
END
END #end label
END
END # layer
END
/!\ you need the lakes2.shp with an empty value in text_dimen as the problem come from LABELCACHE OFF with an empty value in the column.
The text was updated successfully, but these errors were encountered:
Here is a minimalist mapfile from wxs msautotest:
/!\ you need the lakes2.shp with an empty value in text_dimen as the problem come from LABELCACHE OFF with an empty value in the column.
The text was updated successfully, but these errors were encountered: