[mapguide-users] FW: Problems while labeling polylines
Traian Stanev
traian.stanev at autodesk.com
Sat Dec 29 01:13:26 EST 2007
Comparing to Google Maps... Google Maps scales font size very significantly as well. For example, look at "Armory Drive" here:
http://maps.google.com/?ie=UTF8&hl=en&q=10+market+st,+san+francisco&f=q&sll=37.0625,-95.677068&sspn=23.875,57.630033&ll=37.729075,-122.501915&spn=0.003407,0.006689&z=18&om=1
About the upside down labels -- yes they do happen sometimes. One thing that may cause them is in case a street doubles up on itself (like a circular street). Consider taking some screenshots (or other helpful information) and creating a ticket in Trac so that we can track this issue and perhaps fix it in the future. The algorithm MapGuide uses for labeling streets is not the same as Google's -- in the case of MapGuide the algorithm was targeted at real time map generation, so it cannot spend too much time finding optimal label placement.
Traian
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of azpublic
Sent: Friday, December 28, 2007 10:52 AM
To: 'MapGuide Users Mail List'
Subject: RE: [mapguide-users] FW: Problems while labeling polylines
uXuf
If you look at the region of my attachment in google maps (Geneva
Switzerland) you can notice on smaller streets that the name does go upside
down. But its quite rare and certainly not as frequent as in mapguide.
Moreover the size of the font is relatively constant from one street to
another ...
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of uXuf
Sent: vendredi, 28. décembre 2007 15:16
To: mapguide-users at lists.osgeo.org
Subject: Re: [mapguide-users] FW: Problems while labeling polylines
I wouldn't count it as exactly a "bug". I think it is a reasonable behaviour
for that it attempts to display as many line labels as possible. These are
only obscured by the presence of other objects in close vicinity, or the
length of the line, which makes the labels smaller and/or force them to take
the direction the line is taking.
Similar behaviour is seen in Google Maps etc.
uXuf
azpublic wrote:
>
>
>
> Hi again,
>
>
>
>
>
> I'm having some trouble correctly labeling some street level polylines. I
> get some upside down labels or sometimes the labels don't have the same
> size
> as other for no apparent reason ...
>
>
>
> I included a screenshot of my generated map.
>
>
>
> You will see that some labels start correctly and end up upside down. Some
> other are much bigger than others ... etc ..
>
>
>
> How is it possible to avoid that?
>
>
>
> For example fix the size of the font and also fix the position of the
> label
> to the exact center of the polyline ...
>
>
>
> Thanks for your help !
>
>
>
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.17.11 - Release Date: 27.12.2007
> 00:00
>
>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.17.11 - Release Date: 27.12.2007
> 00:00
>
>
>
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context:
http://www.nabble.com/FW%3A-Problems-while-labeling-polylines-tp14525210s166
10p14526292.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.11 - Release Date: 27.12.2007
00:00
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.17.11 - Release Date: 27.12.2007
00:00
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list