[mapserver-users] LABEL_NO_CLIP seems not working inmapserver 5.4.1
Rodriguez, Heraldo
hrodriguez at siscat.com.ar
Wed Jul 1 05:29:17 PDT 2009
Thank you very much. I am afraid I am not allowed to upload any data ( the map would be fine , but without the data I think it'll be useless).
Anyway, I made the metatile larger (from 5x5 to 6x6) and now the map looks acceptable (some minimal duplication still persists, though.)
Thanks a lot again.
Lic. Heraldo G. Rodriguez
hrodriguez at siscat.com.ar
TEL: 54-11-4326-4002 int 255
Dpto. Desarrollo
Sistemas Catastrales S.A
-----Mensaje original-----
De: Steve Lime [mailto:Steve.Lime at dnr.state.mn.us]
Enviado el: miércoles, 01 de julio de 2009 0:58
Para: mapserver-users at lists.osgeo.org; Rodriguez, Heraldo
Asunto: Re: [mapserver-users] LABEL_NO_CLIP seems not working inmapserver 5.4.1
Hi Rodriguez: I did a couple of quick tests and it seems like the directive is
working as intended, at least with some government unit boundary data. Any
chance you could put together a small test case? Perhaps converting some
data to shapefile and whipping up a simple mapfile that shows the problem.
Are others experiencing the same issues?
Steve
>>> "Rodriguez, Heraldo" <hrodriguez at siscat.com.ar> 06/30/09 10:33 AM >>>
Hi everyone,
We have just upgraded from mapserver 5.2.0 to 5.4.1
Our application use OpenLayers, Tilecache with metatiles on, and
postgis.
The label positioning in polygons has improved a lot but now we are
experiencing label duplication on metatile boundaries.
The layer with the issues is parcelas. We are using
labelcache_map_edge_buffer and LABEL_NO_CLIP=ON .
Has anyone an idea why this is happening? The labels length varies from
2 to 4 characters maximum .
A fragment of our map is the following
WEB
# TEMPLATE "set in index.html"
# MINscale 1000
MAXscaleDENOM 1550000
METADATA
"wms_title" ...
"wfs_title" ...
"wms_onlineresource" ...
"wfs_onlineresource" ...
"WMS_FEATURE_INFO_MIME_TYPE" "text/html"
"wms_srs" ...
"wfs_srs" ...
"wms_encoding" ...
"labelcache_map_edge_buffer" "-10"
END
IMAGEPATH "/tmp/mapserver/"
IMAGEURL "/mapserver/"
END
LAYER
NAME parcelas
METADATA
"wms_title" "parcelas"
"wms_include_items" "all"
"wms_group_title" "Geograficos"
"wfs_title" "parcelas"
"gml_include_items" "all"
"gml_featureid" "gid"
END
CONNECTION "user=xxxxx password=xxxxxx dbname=scgis
host=localhost port=5432"
CONNECTIONTYPE postgis
PROCESSING "CLOSE_CONNECTION=DEFER"
PROCESSING "LABEL_NO_CLIP=ON"
DATA "the_geom FROM parcelas USING UNIQUE
gid"
STATUS DEFAULT
TYPE POLYGON
OPACITY 80
MAXscaledenom 15000
LABELITEM parcela
LabelMaxscaledenom 1200
DUMP true
CLASS
NAME "parcelas"
TEMPLATE './QueryTemplates/parcelas.html'
STYLE
COLOR 242 239 233 #g
earth
OUTLINECOLOR 210 210 210
END
Label
minsize 7
Size 7
maxsize 8
type truetype
PARTIALS false
POSITION AUTO
MINDISTANCE 20
PRIORITY 5
font "vera"
color 86 86 86
end
END
END
Any help would be appreciated. Thanks in advance
Regards,
Lic. Heraldo G. Rodriguez
hrodriguez at siscat.com.ar
TEL: 54-11-4326-4002 int 255
Dpto. Desarrollo
Sistemas Catastrales S.A
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list