Hi Larry,

thanks for your effort, I think this new function would be a nice and useful option for labeling!

I don't know if I am getting the problem correctly, but couldn't the entries of the "vertical alignment"-combobox be changed to "above the feature", "on the feature" and "below the feature"? For existing polygon-layers the vertical alignment should be set to "on the feature" automatically if someone activates the "labels"-tab of the styles-dialog and the style actually is set to "on the feature" (as the previous default).
I haven't looked into the affected classes and I am not as well informed about the OJ-code, so maybe my ideas are not realizable...

Regards,
Nils

Michaël Michaud schrieb:
Hi, Larry
  
Thanks Stefan.   I would appreciate feedback from others on how 
vertical alignment for polygons affects their work, plugins, or 
tutorials.  If necessary, I can change the default so that it acts 
like it did before the mod (for new layers).  Unfortunately, (for 
existing layers) the default setting for vertical alignment was "Above 
the Line" but the Style was "On the Line", so there could be lots of 
unintended consequences for existing layers.   Does anyone have 
suggestions as to how these could be minimized?
    
This change will not affect my work as I don't use styles too much. But 
it's always good to have more choice. That's nice to have a new option.
The only way I can think of to solve the confusion between "Above Line" 
and "On the line" is
- to let "Above the line" have its old meaning even for polygons (can 
think "Above the line traversing the polygon horizontaly and passing 
through its middle")
- adding "Above/Below the polygon" or "Above/Below the feature" which 
will act as your new option for polygons and which will act as 
Above/Below line for point/linestring

Just an idea to keep backward compatibility. I do not say it should be 
done that way, as it adds more menu items without adding really new 
capabilities.

Maybe another option could be to create a small beantool to migrate old 
"Above line" styles to new "On" style for a selection of layers.

Michaël
 
  
regards,
Larry

On Fri, Jun 4, 2010 at 10:30 PM, Stefan Steiniger <sst...@geo.uzh.ch 
<mailto:sst...@geo.uzh.ch>> wrote:

    is welcome, I would say.
    thanks!

    Larry Becker schrieb:
    > I made an experimental change to LabelStyle to allow vertical
    alignment
    > to work for polygons and not just points and lines.  For maps with
    > polygon layers that are not "space filling" (i.e. buildings), the
    > preferred label position is outside of the polygon, and you
    would choose
    > a vertical alignment of Above or Below.  For the old method of
    labels
    > guaranteed to be on the polygon, choose On.  Currently the menu text
    > also includes "the Line" after Above, On, or Below, but this should
    > probably be removed if you like this change.
    >
    > regards,
    > Larry
    >
    >
    >
    ------------------------------------------------------------------------
    >
    >
    ------------------------------------------------------------------------------
    > ThinkGeek and WIRED's GeekDad team up for the Ultimate
    > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
    > lucky parental unit.  See the prize list and enter to win:
    > http://p.sf.net/sfu/thinkgeek-promo
    >
    >
    >
    ------------------------------------------------------------------------
    >
    > _______________________________________________
    > Jump-pilot-devel mailing list
    > Jump-pilot-devel@lists.sourceforge.net
    <mailto:Jump-pilot-devel@lists.sourceforge.net>
    > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

    ------------------------------------------------------------------------------
    ThinkGeek and WIRED's GeekDad team up for the Ultimate
    GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
    lucky parental unit.  See the prize list and enter to win:
    http://p.sf.net/sfu/thinkgeek-promo
    _______________________________________________
    Jump-pilot-devel mailing list
    Jump-pilot-devel@lists.sourceforge.net
    <mailto:Jump-pilot-devel@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


------------------------------------------------------------------------

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
------------------------------------------------------------------------

_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
  
    


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


  


-- 
Dipl.-Biol. Nils Kuhn
Email: nils.k...@bws-gmbh.de
Fon: +49 (0)40 - 23 16 65-26
Fax: +49 (0)40 - 23 16 65-01

BWS GmbH 
Gotenstraße 14
D-20097 Hamburg
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg: HRB 87830
Geschäftsführer:
Dipl.-Geol. Robert Dési
Dipl.-Geogr. Hydr. Lutz Krob


*************************************************************************************************************

HINWEIS: 
Diese E-Mail und beigefügte Dateien dienen nur der Vorabstimmung und stellen 
keine rechtswirksame Willenserklärungen oder Beratungsleistungen dar. Es können 
keine Haftungsansprüche gegenüber der BWS GmbH geltend gemacht werden. 
Alle rechtswirksamen Äußerungen (Verträge, Stellungnahmen, Berechnungen, Vermerke etc.)
erhalten Sie von uns in schriftlicher Form und gegebenenfalls auf separatem Datenträger.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, 
informieren Sie bitte den Absender und vernichten Sie diese E-Mail. 
Unerlaubtes Kopieren und Weiterleiten dieser E-Mail sind nicht gestattet.

*************************************************************************************************************
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to