[mapguide-users] FW: Problems while labeling polylines

uXuf yousuf.hassan at gmail.com
Fri Dec 28 11:58:16 EST 2007


I would maintain that MapGuide is doing its best to show as many line labels
as possible. Regarding your labels going upside down I think it'd happen if
you have a street that starts okay horizontally, but some how comes back in
a U-turn, only horizontally. So as far as I have experienced, the label
would start horizontally but following the line it could go upside down as
well, especially if the label is very long.

About the size perhaps you can choose NOT to show the labels, or divide your
streets into different categories. There is a high chance that you'd be
doing it already. Just make sure that the second-level layer's labels don't
show up in the first view (assuming the view you attached is the first
view). You could enable those labels in a subsequent view where you can also
increase the size of the second-level layer. Trial and error would be your
best friend here.

It would not be exactly as you want, but pretty close. Perhaps you can also
go back to your SHP or DWG files and check if there are any streets that are
causing your upside-down behaviour.

Regards,
uXuf


azpublic wrote:
> 
> 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
> 
> 

-- 
View this message in context: http://www.nabble.com/FW%3A-Problems-while-labeling-polylines-tp14525210s16610p14528318.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list