[Mapserver-users] Labels with strange AUTO angles
Steve Lime
steve.lime at dnr.state.mn.us
Tue Mar 4 15:08:58 PST 2003
Funny since that code hasn't been changed in years (not by me anyway).
>>> "Ed McNierney" <ed at topozone.com> 03/04/03 04:26PM >>>
Brent, Steve -
I had to leave the office before double-checking my math, but the
angle
calculation (for the single string I was running through the debugger)
seemed to have a sign reversal.
Yes, I think this is a very serious bug. I will do some more problem
isolation and post a good test case.
- Ed
Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA 01863
Phone: (978) 251-4242 Fax: (978) 251-1396
ed at topozone.com
-----Original Message-----
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Tuesday, March 04, 2003 4:58 PM
To: Ed McNierney; mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Labels with strange AUTO angles
Ed,
I don't think too many people are using Mapserver 3.7 with GD2-FT2.
A
few
of us are, and have reported the label angle problem. See
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=268
The angle seems to be mirrored about the X-axis when angles are 0-45
degrees, and the Y-axis for 45-90 degrees (could be a tan/atan
problem?). I
don't know if this is a problem in Mapserver, GD or Freetype, or a
combination.
Personally I think this is a show-stopper for the 3.7 release. Is
anybody
willing to debug this problem?
Brent Fraser
bfraser at geoanalytic.com
----- Original Message -----
From: "Ed McNierney" <ed at topozone.com>
To: <mapserver-users at lists.gis.umn.edu>
Sent: Tuesday, March 04, 2003 2:08 PM
Subject: [Mapserver-users] Labels with strange AUTO angles
I'm having more label problems. I can't believe I'm the only one
seeing
this, so I thought I'd ask <g>.
Attached is a map with very strange label angles. The brown line is
the
railroad that goes with the "Boston and Maine Railroad" label, and the
stream labels are equally screwy.
These are all linear shapefiles (polylines) with ANGLE AUTO labels.
I'm
using the current CVS code (as of this morning) with GD 2.0.11 and
FreeType
2.1.2, running on Windows. I've walked through the code and I don't
quite
understand the numbers msPolylineLabelPoint is calculating for angles;
but
if it's really doing them incorrectly I'd expect lots of people to
notice.
If this rings a bell, let me know - thanks.
- 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
_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list