Ok Hi JR, now I have the time to test your code....I have modified DbfHandler in order to be able to instantiate OMTracingLabeler and it seems to work nice. I have also create a Factory class to create OMTextLabeler object and now i will let it read some configruation properties in order to be able to istantiate OMTracingLabeler or OMTextLabeler according to configuration file. As soon as it is all tested I will submit my class and any modification I will made to your class...
I have another question have you (it is an open question...) never played with MultiRoadLayer?
Alessio Iannone
Software Engineer
Mobile: 39 329 8834960
Email: alessio.iannone_at_nextant.it
IM: quonn77_at_hotmail.com (AIM)
http://www.linkedin.com/in/alessioiannone
Web sites of the Martial Arts I play
Nextant - Navcomm Applications
Via Alessandro Noale
See who we know in common Want a signature like this?
----- Messaggio originale -----
Da: JR Andreassen <janrune@io.com>
A: OpenMap MList <openmap-users@bbn.com>
Inviato: Martedì 8 aprile 2008, 19:17:28
Oggetto: Re: [OpenMap Users] Shapefile, linear path labelling and others
Here is the code.....
You have to instantiate it instead of the Regular Labler.
It will rotate the text to follow the longest line segment that will fit it.
Not too sophisticated yet, but worked for our purposes.
It has not been tested with the new version.
JR
> I sure can and will....
> Just a question of time....
> JR
>> Could you share your extension?
>> Thanks a lot for your support.
>>
>> ----- Messaggio originale -----
>> Da: JR Andreassen <janrune@io.com>
>> A: Alessio Iannone <alessio_iannone@yahoo.it>
>> Cc: OpenMapUsers <openmap-users@bbn.com>
>> Inviato: Martedì 8 aprile 2008, 16:19:25
>> Oggetto: Re: [OpenMap Users] Shapefile, linear path labelling and others
>>
>> Hi..
>> I made an extension to to OpenMap that labeled a Line segment(road).
>> I had to do quite a bit of work to get it working right.
>> It's not perfect, but works pretty good.
>> I submitted it to Don to see if they would include it, but I have not
>> looked at the new version so I don't know if it's in there.
>> Once I have it working in the new version I can submit it again...
>> JR
>> Alessio Iannone wrote:
>> > Hi Don, Hi all...
>> > I have a question about features of OpenMap.
>> > Can OpenMap rendere label of a ShapeFile (assuming we have for example
>> > an associated dbf File) following the linear path of a road?
>> > There is any tutorial on how to use a Shape File and the Rules to
>> > define how to rendere road network according to dbf attributes and/or
>> > zoom level?
>> > Best Regards
>> **
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
Inviato da Yahoo! Mail.
La casella di posta intelligente.
http://it.docs.yahoo.com/mail/overview/index.html
--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Apr 15 2008 - 10:05:51 EDT