On May 25, 2011, at 1:28 PM, Susana Iraiis Delgado Rodriguez wrote: > Hello list!! >
Hello, welcome! > I just began to work with mapnik and Python to generate a image out from a > shapefile. I've created png files for the use of LineSymbolizer and > PolygonSymbolizer. Great. > Now, I want to get an image from a shapefile which its geometry has points, > but reading the documentation of PointSymbolizer, i figured out, it only > works with image files. PointSymbolizer works with point geometries, and in Mapnik 0.7.x and below expects a small png or tif image to be supplied as an icon/symbol to be placed at each point. Mapnik2 (current trunk) supports png, tiff, and jpeg images as well as SVG symbols. Mapnik2 also has a new MarkersSymbolizer that can be used to dynamically draw points, based on a few parameters, to avoid the need to load a image or svg as an icon. Here is and example XML: http://trac.mapnik.org/browser/trunk/tests/data/good_maps/markers_symbolizer_points.xml > Am I getting a wrong conclusion? Is there anyway PointSymbolizar work with > shapefiles? Hope the above helps. Let me know if you have further questions. Dane _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

