Disable avoid_edges:

http://trac.mapnik.org/wiki/TextSymbolizer

 

Cheers,

Dave.

David Leaver
Senior Software Engineer

T: +64 7 8570805 | F: +64 7 8570801 | M: +64 21 876684 | E:
[email protected] <mailto:[email protected]> 
SmarTrak Limited. Innovation Park Ruakura Road PO Box 7239 Hamilton 3247
NZ

SmarTrak - Always in front

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Eric France
Sent: Wednesday, 27 January 2010 10:28 a.m.
To: [email protected]
Subject: Re: [Mapnik-users] Slashes in TextSymbolizer Text?

 

More info...it turns out to have nothing to do with the slashes.  The
text is not being rendered because it overlaps the edge of the tile.  Is
there any way to force partial rendering up to the tile edge?

 

Eric

 

 

________________________________

From: Eric France <[email protected]>
To: [email protected]
Sent: Tue, January 26, 2010 3:47:47 PM
Subject: [Mapnik-users] Slashes in TextSymbolizer Text?

I'm using a TextSymbolizer to add labels to the icons I'm rendering with
PointSymbolizer.

Each point in my shapefile has an attribute ("ID") and the
TextSymbolizer is configured to render this field.

Most of the points have IDs of the format "XYZ", and these are rendered
correctly.  However, a minority of points have IDs of the format
"ABC/XYZ", and for these, the text isn't rendered (the icon image is
rendered alone).

Are forward slashes not allowed in shapefile field values that are to be
rendered as text labels?

Eric France

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to