Can you save me a bunch of research and just post an example of your entity declarations (not necessarily all of them) and one or two textsymbolizer instances that use them?

Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

On 5/31/2013 12:12 PM, Stephan Knauss wrote:
I have increased the font size on thaimap.osm-tools.org <http://thaimap.osm-tools.org> as well. I did this by replacing the font sizes by xml entities and adjusting these.

As it seems to be useful for others as well I could submit it to svn.

If nobody disagrees I can submit it on Sunday.

Stephan



"Lynn W. Deffenbaugh (Mr)" <[email protected]> schrieb:

    I'm running my own Tile Server (mod_tile/renderd created from
    packages as described at
    http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/
    and would like to serve up a new set of tiles with larger font
    sizes for higher resolution displays.

    I read
    
https://help.openstreetmap.org/questions/8467/font-size-and-adding-scale-to-map
    which describes the textsymbolizer element in osm.xml, to whit:

    <https://help.openstreetmap.org/vote/8472/up/>
    3
    <https://help.openstreetmap.org/vote/8472/down/>
        

    The font size comes from the style file /osm.xml/. This includes
    several lines on the form "/|<textsymbolizer name="name"
    fontset_name="bold-fonts" size="11"/>|/". You can edit the /size/
    parameter in the wanted areas to generate a new style with other
    font sizes.


    But there's a TON of textsymbolizer's that would need to be
    edited.  Cloudmade's tile servers support an embedded doubler in
    their tile URL as described at
    http://developers.cloudmade.com/projects/tiles/documents

    To get double resolution tiles use *@2x* suffix: 997@2x - this
    will improve map look for iPhone 4, Motorola Milestone, etc.

    Does anyone know how they do that?  Is there a way to replace the
    textsymbolizer element size attributes with a variable (say
    Size11, Size8, SizeN) so that I can simply clone the style and
    edit all of the sizes in a single place?  Then I could do a 1.5,
    2, 4, or whatever by simply editing the sizes where the variables
    are declared instead of every single textsymbolizer element.

    Any/all help would be appreciated to accomplish label font scaling
    in the rendering chain with minimal manual editing work for each
    scale that I support.

    Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and Win32

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

    dev mailing list
    [email protected]
    http://lists.openstreetmap.org/listinfo/dev


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to