Hi,
On 08/08/11 15:47, Oliver Tonnhofer wrote:
I'm wondering if there are any options to get vector output from
Mapnik with editable text labels. I looked at the SVG, EPS and PDF
output but Mapnik/Cairo renders each character separately, making the
text uneditable with Inkscape or Illustrator.
Welcome to the club ;)
Is it possible to
change the output behavior? The actual format is not important for me
and I can accept inferior text placement (e.g. around corners).
It should not be too difficult to have a native SVG renderer (instead of
using Cairo) for Mapnik. After all, all a renderer has to do is to
accept a geo feature, iterate over the styles, and output rendering
instructions... or something ;)
In fact, Dane recently told me that (quote)
>>>>
Yes, a native svg_renderer was started and is in mapnik2, just disabled
by default and I think requires something like >= boost 1.43 or 1.44 to
compile properly.
http://trac.mapnik.org/wiki/MapnikRenderers#svg_renderer
<<<<
Quote from the trac page, "Only the basics are implemented at this
point...".
I had a potential client who wanted AI-editable SVG and I was planning
to do code this myself and charge them for the work but they have since
reconsidered and it was a too big thing to do in my spare time, so the
job is still out there waiting for someone to tackle it. (Hint, hint ;)
I'm also still interested and could conceivably spend a little time on
it, or maybe you could re-activate Carlos López Garcés, the original author,
If you're looking for AI compatiblity, you should also talk to Igor
Breijc who has spent some time finding out how exactly an SVG file must
look so that AI recognizes the layers and all; Maperitive now has two
distict output modes, one for normal SVG and one for AI SVG.
Bye
Frederik
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users