[Tilesathome] Rendering county names
Dirk-Lüder Kreie
osm-list at deelkar.net
Thu Nov 29 13:16:57 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chris Hill schrieb:
> I've noticed that county names have started rendering, so I added place=county, name=East Riding of Yorkshire in a location that is fairly central to the county and not too cluttered. Unfortunately the name looks too long:
>
> http://www.openstreetmap.org/?lat=53.9163&lon=-0.5604&zoom=12&layers=0BF
>
> Can I split the name onto two lines?
>
> How else might it be persuaded to render in full?
As a workaround: Try putting the node at lon=-0.571289 (exact tile
center) and rerendering the tile and adjacent tiles left and right.
(x=2040,2041,2042;y=1316)
unfortunately the renderer has a limited view and looks just a smal bit
outside it's current tile to catch labels, but with long texts like this
it fails.
Splitting onto two lines is not possible with osmarender IIRC, but
someone with more intimate knowledge of xsl and svg can tell you more.
- --
Dirk-Lüder "Deelkar" Kreie
Bremen - 53.0952°N 8.8652°E
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHTrvJFUbODdpRVDwRAuy7AJ4gXF8HvafSUw9hxYZE7bqNsgBf5QCeOWXa
8NI/3398+Znpn+VEJr9vCeM=
=ZcYJ
-----END PGP SIGNATURE-----
More information about the Tilesathome
mailing list