, March 15, 2012 1:55 PM
To: Ian Walberg
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Label alignment
Ian,
Label text is positioned based on the bbox enclosing the text and in the
case of your three labels the position point is the upper left corner.
If you had concatenated the
.
Thanks
Ian
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge
Sent: Tuesday, March 13, 2012 6:35 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Label alignment
I'
Perhaps OFFSET x y is what you are after. I am having trouble visualizing
the problem.
But I think you want to nudge the label a bit to line up better with
elements on the map.
OFFSET allows you to move the label away from the start by by a number of
pixels.
Good luck with it.
Matt :)
Matt Mc
I'm not sure I understand all of these issues, but have you tried
concatenating all the your test into a multiple line string and use a
special character as the line break indicator, say an '@' char. Then in
the LABEL block use WRAP '@'
You can also use ALIGN CENTER|LEFT|RIGHT to control the a
Folks,
I am not sure what the correct terminology is for our current issue but
let me give explaining it a try.
We are using a label layer with transform off to display some overview
information on a map.
The text sometimes needs to be lined up horizontally or spaced evenly
vertically.
* Mapserver chooses the longest visible segment to place the label. If
you set the LABEL_NO_CLIP processing keyword, it will select the
longest segment of the underlying feature, whether it is visible or
not.
* There's no such thing as alignment between labels coming from
different features. The al
All,
Sorry about the links in the previous Email (again), geez I don't know
what's going on at work, but here are the real links:
https://gis.ci.stpaul.mn.us/datasets/SHP/FED/USGS/USNG/mn_usng_lines_labels_2_public.map?mapext=503179.6728349806+111379.8994326578+508281.0020239575+135621.4157386
All,
Ok, I made some progress, sort of.
I started out here:
http://gis.ci.stpaul.mn.us/datasets/SHP/FED/USGS/USNG/mn_usng_lines_labels_2_public.map?mapext=503179.6728349806%20111379.8994326578%20508281.0020239575%20135621.41573867595&mapsize=70%20600&mode=map&MOOSETIME=1241653121858
(
http:
All,
Ok, let's try this again, I redid the link. . . . should work now for everyone.
I'm playing around with generating a map collar image by labeling some lines
with MapServer.
I get the labels looking about what I would like them to look like, but the
alignment vertically ( and this app
Oops, sorry, wrong mapfile: try this one.
https://gis.ci.stpaul.mn.us/datasets/SHP/FED/USGS/USNG/mn_usng_lines_labels_2_public.map?mapext=503179.6728349806+111379.8994326578+508281.0020239575+135621.41573867595&mapsize=70+600&mode=map&MOOSETIME=1241653121858
bobb
>>> "Brent Fraser" 05/06/09 7
Bob,
The links say a username and password are required...
Brent
> All,
>
> I'm playing around with generating a map collar image by labeling some
> lines with MapServer.
>
> I get the labels looking about what I would like them to look like, but
> the alignment vertically ( and this applies to
All,
I'm playing around with generating a map collar image by labeling some lines
with MapServer.
I get the labels looking about what I would like them to look like, but the
alignment vertically ( and this applies to horizontal alignment as well ) is
not playing nice.
See this link:
http
12 matches
Mail list logo