I wanted to share some quick thoughts about SVG support in OpenJUMP.
I'm a big fan of Inkscape and I think it has the potential to be a
great tool for cartographic map design.

Why develop a lot of cartographic design or art tools for OpenJUMP
when Inkscape already has a great deal of momentum? (This isn't meant
to detract from the great printing plug-ins that have developed in the
last few months.)

I want to post about this on my blog, but haven't had time yet.

At any rate I started helping with the lib2geom effort a little bit,
in an effort to contribute to Inkscape's development. (lib2geopm will
be the new geometry library for Inkscape.) Working with C++ has made
me realize the true beauty of Java!

I thought one good way to add support for SVG export in OpenJUMP would
be to create a SVGConvertable interface with at least one method. The
method signature would look something like:

public String convertToSVG(Layerable argToConvert)

The method would accept a Layerable object and would return a String
object with the SVG representation of the Layerable.

I could then implement this interface in my class that extends the
Layer class and stores text labels.

This interface would allow a SVGExporter utility to determine which
layers support conversion to SVG and would allow this conversion
without the messy details of dealing with custom Layerable objects.

What do you guys think?

The Sunburned Surveyor

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to