[Mapserver-users] polygon lable problem
Aaron D. Hunt
hunt at zedxinc.com
Wed Jul 9 07:48:48 PDT 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0031_01C34607.AD88E090
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Here is shape file I am using Steve, and I am using 4.0b
I am also going to try the code from Vincent.
----- Original Message -----
From: "Steve Lime" <steve.lime at dnr.state.mn.us>
To: <ed at topozone.com>; <hunt at zedxinc.com>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, July 09, 2003 12:43 AM
Subject: Re: [Mapserver-users] polygon lable problem
> Can you share the data? Concave layers are generally not a problem.
> Polygon labeling uses a technique similar to scanline conversion used to
> compute label points so label points are gauranteed to be "in" the
> polygon. Could be an issue with clipping, or perhaps the label cache
> (you could test that by setting LABELCACHE OFF), but there's no way to
> know without the data and an extent that shows the problem.
>
> I'll be out until the 14th but will look at it then. BTW What version
> are you using?
>
> Steve
>
> Stephen Lime
> Data & Applications Manager
>
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
> >>> "Aaron D. Hunt" <hunt at zedxinc.com> 07/08/03 11:37 AM >>>
> There is a label item but I am overriding the with a TEXT Cool/Wet in
> the class. This is not the first time I have had this problem with
> labeling.
>
> ----- Original Message -----
> From: Ed McNierney
> To: Aaron D. Hunt ; mapserver-users at lists.gis.umn.edu
> Sent: Tuesday, July 08, 2003 12:27 PM
> Subject: RE: [Mapserver-users] polygon lable problem
>
>
> Aaron -
>
> Have you checked the attribute table for the data layer, and are you
> SURE that there is indeed a label string for that polygon?
>
> - Ed
> Ed McNierney
> President and Chief Mapmaker
> TopoZone.com / Maps a la carte, Inc.
> 73 Princeton Street, Suite 305
> North Chelmsford, MA 01863
> ed at topozone.com
> (978) 251-4242
>
> -----Original Message-----
> From: Aaron D. Hunt [mailto:hunt at zedxinc.com]
> Sent: Tuesday, July 08, 2003 12:02 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] polygon lable problem
>
>
> With the layer below, Mapserver seams to have a problem labeling
> concave polygons. If you look at the image link below, there is one
> concave polygon in Canada that is not labeled. Is there any way to get
> mapserver to label the polygon.
>
>
> http://wcs.zedxinc.com/dy_images/cold.png
>
>
> LAYER
> NAME weather
> TYPE polygon
> TRANSPARENCY 60
> LABELITEM "COLOR"
> DATA ""
> STATUS ON
> CLASS
> NAME "NAM"
> COLOR 47 111 111
> TEXT Cool/Wet
> LABEL
> force true
> TYPE TRUETYPE
> FONT arial
> SIZE 12
> POSITION cc
> ANTIALIAS FALSE
> OUTLINECOLOR 255 255 255
> COLOR 0 0 0
> END
> END
> END
>
>
> Aaron D. Hunt
> Technical Manager
> ZedX Inc.
> Voice: 814-357-8490
> Fax: 814-357-8499
------=_NextPart_000_0031_01C34607.AD88E090
Content-Type: application/x-zip-compressed;
name="shape.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="shape.zip"
UEsDBBQAAAAIANqI5y5Crj8WtgcAAMwbAAAYAAAAUGF1bF9XZWF0ZXJfQ29sZC1XZXQuc2hwvdgL
cFTVGQfwEwxCMyoEQgmCcYk2vBSSkHeyyZcNSUjIJiGUmIQ8dhehjq8iGuQx6LFipYq2HSaIKDHT
IQUtg50KGgaKl7aKEKqU0oFSCvEBjWNR2qTFRy1dc7//afbrXhLamd5hZvPjnL2P73H33KvUpCgV
drv2XPdVSg0Ftd+y/5htf9Jisv+/kpTDNrcsK6tw+ZKlwT8jgv8ssy+aZ/Ff9qfmfarJFJyoUvvt
Q1lzzVhYUxX7Ztta2BJWOHa8bXKyS3jCAI4RVrbN8Xgz54NZ8IXX7U8nc6zM9bNJ2KoMtZauCLWS
Lhfzy8T4HOFSMb+EjfOHeTO5drCZfyEv1IgnjjfStoY5/hrnx1Y4f+lYtlcY1+8Kbw3HC6P+EE82
If6oR2GF/CXwfGEtbA3WYftlSPDfZNOH1m085ua532Tn9/WhR/Xf5vNYLl2Z3eFN/615/1rYGsCq
+vK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jqM3VkbT49+vT7iST7TfpfUEsDBBQAAAAIANqI5y7g7ipTcwAAAG8F
AAAYAAAAUGF1bF9XZWF0ZXJfQ29sZC1XZXQuZGJmY2ZmZ2dnYGA4yLCaARtwD/IPdw0CM501gYQG
mrybY5AvlOkciE3e09XHBSpfiUXeL9TXCWb+Qizyzv4+/kFQJsiFXGjyvAoBiaU5CkSA8NTEktQi
wuqc83NSdMNTSwipMySkABOMOnXUqaNOxQ+GtVOlAFBLAwQUAAAACADaiOcuqq0qEVYAAACcAAAA
GAAAAFBhdWxfV2VhdGVyX0NvbGQtV2V0LnNoeGNgUOdiwA78XjAzMLDCeA2JByAMDwjtkOYAEQ9w
YMABAn2srFwrCoqATCMGBkagPsZvDAxMGgwMLEpAegUDA9s5iDjHJCC9g4GByw9Ib2Bg4GEC0g8A
UEsBAhQAFAAAAAgA2ojnLkKuPxa2BwAAzBsAABgAAAAAAAAAAAAgALaBAAAAAFBhdWxfV2VhdGVy
X0NvbGQtV2V0LnNocFBLAQIUABQAAAAIANqI5y7g7ipTcwAAAG8FAAAYAAAAAAAAAAEAIAC2gewH
AABQYXVsX1dlYXRlcl9Db2xkLVdldC5kYmZQSwECFAAUAAAACADaiOcuqq0qEVYAAACcAAAAGAAA
AAAAAAAAACAAtoGVCAAAUGF1bF9XZWF0ZXJfQ29sZC1XZXQuc2h4UEsFBgAAAAADAAMA0gAAACEJ
AAAAAA==
------=_NextPart_000_0031_01C34607.AD88E090--
More information about the MapServer-users
mailing list