If I understood what I read on the mailing-list archive, a PointSymbloizer should be render at the polygon centroid, am I wrong ? However, with an osm datasource like below, the PointSymbolizer is rendered on the middle of the right edge.
If I close the polygon, it's on the right upper edge.

   <?xml version="1.0" encoding="UTF-8"?>
   <osm version="0.6" generator="legend2osm">
   <bounds minlat="-1" minlon="-1" maxlat="1" maxlon="1"/>
   <node id="-10" lat="-18.75" lon="-37.5" visible="true">
   </node>
   <node id="-11" lat="-18.75" lon="37.5" visible="true">
   </node>
   <node id="-12" lat="18.75" lon="37.5" visible="true">
   </node>
   <node id="-13" lat="18.75" lon="-37.5" visible="true">
   </node>
   <way id="-14" visible="true">
   <nd ref="-10" />
   <nd ref="-11" />
   <nd ref="-12" />
   <nd ref="-13" />
   <tag k="amenity" v="place_of_worship"/>
   <tag k="way_area" v="1"/>
   </way>
   </osm>

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

Reply via email to