[OSM-talk] Mapnik PointSymbolizer question

Steve Chilton S.L.Chilton at mdx.ac.uk
Tue Apr 8 08:54:57 BST 2008


Never had occasion to do that but sure it is possible.
To move the TextSymboliser something like this moves label 8 pixels above the symbol:
<Rule>
<MaxScaleDenominator>50000</MaxScaleDenominator>
<MinScaleDenominator>25000</MinScaleDenominator>
<Filter>[railway]='station'</Filter>
<TextSymbolizer name="name" face_name="DejaVu Sans Bold" size="9" fill="#000" dy="-8" halo_radius="1" wrap_width="0"/>
</Rule>

Use of similar dy="xx" command (or dx=+/- to move in horizontal direction) would work in PointSymbolizer command

Cheers

STEVE

	 
	-----Original Message----- 
	From: talk-bounces at openstreetmap.org on behalf of Steven te Brinke 
	Sent: Mon 4/7/2008 8:33 PM 
	To: talk at openstreetmap.org 
	Cc: 
	Subject: [OSM-talk] Mapnik PointSymbolizer question
	
	

	Hello,
	
	Does anyone know if it is possible in Mapnik to place a PointSymbolizer
	at some offset from the point instead of centering the image above the
	point.
	
	Thanks,
	Steven
	
	
	_______________________________________________
	talk mailing list
	talk at openstreetmap.org
	http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
	





More information about the talk mailing list