Re: [OpenMap Users] Shapefile, linear path labelling and others

From: JR Andreassen <janrune_at_io.com>
Date: Tue, 08 Apr 2008 12:17:28 -0500

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_at_io.com>
>> A: Alessio Iannone <alessio_iannone_at_yahoo.it>
>> Cc: OpenMapUsers <openmap-users_at_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_at_bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>




--
[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 08 2008 - 13:18:02 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT