>Michael Michaud posted a suggestion about looking at integrating the
>Mapyrus library with Jeql, to provide rich output capability (a la
>GMT). I replied on my blog, but thought I would copy the reply here
>for all to see.
>
>I dug into the Mapyrus codebase, and unfortunately I don't see much
>possibility for integration with Jeql. The code is very clever, and
>obviously a lot of work has gone into understanding how to emit the
>various formats. Unfortunately, the code is not well modularized -
>especially the output side!
>
>
Yes, I was also surprised to see all the output code in only one or two
classes.
>I don't see much interest in trying to integrate at the language
>level, either, since the Mapyrus language appears to be heavily
>procedural in nature. The whole idea of Jeql is to be higher-level and
>more declarative.
>
>
I did not notice this difference of level. Probably difficult to
integrate two script languages with a different approaches.
>At this point I think GMT will provide more of a model for the
>language to specify graphics. And I will look into libraries like
>iText and Batik for output capabilities (although it might be tempting
>to try and repurpose some of the code from Mapyrus)
>
>
I must have a look on GMT (have you got a project url ?)
I'm sure iText and Batik are very good libraries for pdf and svg (and
maybe we'll soon be able to focus on one format and rely on other tools
to do the conversion - I saw that the last inkscape version can open and
edit a pdf map ;-))
I thought a combination of jeql and mapyrus could improve usability with
minimal development resources, but it may not be a good choice for a
tight integration of both parts.
Let's hear what others think
Regards,
Michaël
>>
>
>
>
>
>
I must have a look on GMT (have you got a project url ?)
I'm sure iText and Batik are very good libraries for pdf and svg (and
maybe we'll soon be able to focus on one format and rely on other tools
to do the conversion - I saw that the last inkscape version can open and
edit a pdf map ;-))
I thought a combination of jeql and mapyrus could improve usability with
minimal development resources, but it may not be a good choice for a
tight integration of both parts.
Let's hear what others think