[Mapserver-dev] AUTO label placement
jorodrig at sfwmd.gov
jorodrig at sfwmd.gov
Thu Aug 28 14:57:18 EDT 2003
The only solution I found is to force the lable to a desired position
via :position UR or UL etc. This also stops duplicate labels. Look
closely, you may actually be seeing a duplicate when you do a query,
its not that the label is not aligning.
Jospeh
----- Original Message -----
From: "Chris G. Nicholas" <cgn at globexplorer.com>
Date: Thursday, August 28, 2003 1:36 pm
Subject: [Mapserver-dev] AUTO label placement
> I am playing a bit here with a street database loaded into
> PostGIS, trying to get street labeling to align with the road
> segments; attached is what I'm getting. Just wondering what it
> takes to get the alignment to kick in...
>
> thanks in advance!
>
> Chris Nicholas
> GlobeXplorer
>
> --------------------------------------------
>
> My mapfile has a layer definition like:
>
> LAYER
> PROJECTION
> "init=epsg:4326"
> END
>
>
> CONNECTIONTYPE postgis
> NAME "streets"
> MAXSCALE 6000000
> CONNECTION "user=mapmaker dbname=gextest host=pogo"
> DATA "the_geom from streets USING SRID=4326"
> STATUS ON
> TYPE LINE
> LABELITEM "name"
> LABELCACHE ON
> CLASS
> LABEL
> MINDISTANCE 50
> ANGLE AUTO
> POSITION AUTO
> COLOR 155 155 155
> BUFFER 10
> END
> END
> END
>
>
>
>
>
More information about the mapserver-dev
mailing list