That stinks.

I don't think the real solution to this problem is messing with the
LayerViewPanel resolution. I know that I'm in no position to complain, so
please take the following as only an outsider's observation.

I think most of the current SVG "exporters" in OpenJUMP use Batik to convert
Java AWT Shapes to SVG. I think this is where we are running into the
resolution problems. I think a better way would be to access the JTS
geometries and styling information stored in the Layers, and use that to
write the SVG.

Of course, I haven't torn apart the SVG exporters, so maybe they are already
doing what I am talking about. Stefan would have an idea, as I think he
wrote the original SVG support in OpenJUMP.

The Sunburned Surveyor


On 2/1/07, Larry Becker <[EMAIL PROTECTED]> wrote:

Resolution is a confusing term, isn't it?  To see what I mean, look at the
attached jaggy.png image that I captured from a pdf file written by the
PrintLayout plugin.  I compared it to OpenJUMP's SVG output and found it to
be basically the same.  Although vectors are being used, their precision is
being truncated to screen resolution.

regards,
Larry

 On 2/1/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:

>  Larry,
>
> I haven't had a chance to try out Jan's plug-in yet, but I was confused
> by a comment in your last e-mail. You said that "...as with the Save as SVG
> option in OpenJUMP, the resolution of the resulting vectors seems to be
> limited to the screen resolution which is a bit dissappointing."
>
> I don't understand. Unless your embedding an image in SVG, SVG vectors
> don't technically have a "resolution". They're vector graphics.
>
> What am I missing?
>
> Thanks,
>
> Landon
>
>
>  On 2/1/07, Larry Becker <[EMAIL PROTECTED] > wrote:
> >
> > I have resolved my problems with the PrintLayout plugin.  They appear
> > to have been caused (as usual) by typos in the bat file.
> >
> > I would tend to agree with Geoff's comments.  Also, as with the Save
> > as SVG option in OpenJUMP, the resolution of the resulting vectors seems to
> > be limited to the screen resolution which is a bit disappointing.  Is it
> > possible that changing the resolution of the LayerViewPanel before producing
> > the vectors would improve the quality?
> >
> > regards,
> > Larry Becker
> >
> > On 2/1/07, Geoffrey G Roy <[EMAIL PROTECTED] > wrote:
> > >
> > > To Sasha, Jan and others
> > >
> > > Finally working, yes- you need to ALL jars to the classpath.   It
> > > should
> > > be made clear that the exe version of OpenJUMP cannot be used as the
> > > classpath seems to be locked away somewhere.  I must use the batch
> > > file
> > > suitable edited.  This is a issue previously raised with regard to
> > > the
> > > next release.
> > >
> > > Some brief comments on the PrintLayout plugin:
> > >
> > >    1. It would be useful to allow for landscape/portrait sheets of
> > > paper
> > >    2. Printing on multiple sheets is for me essential as I do not
> > > have a
> > >       large format printer, in this case we need to see the page
> > >       boundaries so that appropriate page layouts can be made.
> > >    3. Importing the Map does not import embedded raster layers.  I
> > >       notice that you can import a raster image separately but there
> > > may
> > >       be problems with alignment - but more importantly the last
> > > import
> > >       is not transparent so it completely blocks out the underlying
> > >       image (assuming that we have a map drawing on top of the
> > > image).
> > >    4. For most practical applications it is important to be able to
> > >       produce a scaled drawing on paper, often at some nice rounded
> > >       value (like 1: 10000)
> > >    5. Instead of using an built-in PDF converter I find using a
> > > print
> > >       driver (like PDF995) most effective for saving printed images
> > > all
> > >       nicely set out.  This driver will also produce multi-page
> > > outputs.
> > >
> > > Please correct me if I have misinterpreted somethings.
> > >
> > > regards
> > >
> > >
> > > Geoff
> > >
> > >
> > > Sascha L. Teichmann wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Hello,
> > > >
> > > > once again. You have to add _all_ new Jars to the CLASSPATH!
> > > > Did you read my reply to Maltes Mail from 30-jan-2007?
> > > > I posted a openjump.bat (from plain OpenJUMP stable) with patched
> > > > CLASSPATH to include all JARS.
> > > >
> > > > - - Did you test that?
> > > >
> > > > - - Did you have downloaded _all_ the extra jars and put them
> > > >   into the CLASSPATH?
> > > >
> > > > org.w3c.dom.svg.SVGDocument for instance is in the
> > > xml-apis-ext.jar .
> > > > If this one would be in the CLASSPATH Java would have found it.
> > > >
> > > > Needed files (besides the plugin jar of cause)
> > > >
> > > > - - batik-all.jar
> > > > - - js.jar
> > > > - - pdf-transcoder.jar
> > > > - - xml-apis-ext.jar
> > > > - - xml-apis.jar          (overwrites an existing one!)
> > > >
> > > > Best regards
> > > > - - Sascha
> > > >
> > > > Jan-Oliver Wagner schrieb:
> > > >
> > > >> Geoffrey,
> > > >>
> > > >> On Thursday 01 February 2007 00:39, Geoffrey G Roy wrote:
> > > >>
> > > >>> I have tried your 0.8.2 version, but still get  an error when
> > > trying to
> > > >>> execute the extension
> > > >>>
> > > >>> "org.w3c.dom.svg.SVGDocument (No Class Def Found)"
> > > >>>
> > > 
----------------------------------------------------------------------------
> > >
> > > >>> java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument
> > > >>>     at java.lang.ClassLoader.defineClass1(Native Method)
> > > >>>
> > > >> ...
> > > >>
> > > >>> de.intevation.printlayout.PrintLayoutPlugin.run (
> > > PrintLayoutPlugin.java:63)
> > > >>>     at
> > > >>>
> > > 
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run
> > > (TaskMonitorManager.java:149)
> > > >>>     at java.lang.Thread.run(Unknown Source)
> > > >>>
> > > 
---------------------------------------------------------------------------
> > > >>>
> > > >>> Am I missing a library jar?
> > > >>>
> > > >> I confess I am puzzled. We tested the whole procedure over here
> > > and
> > > >> it worked. There also were two other reports on this list that
> > > >> it worked. And we also have some reports that it does not work
> > > for them.
> > > >>
> > > >> Looking at the reports, I see that all positive reports come from
> > > people
> > > >> who probably use a german Windows or Linux.
> > > >> Is there anyone out there who managed to run the plugin on an
> > > >> english Windows system?
> > > >>
> > > >> I also confess I am not a Java expert. So, any help in analysing
> > > this problem
> > > >> is highly appreciated. (In general I feel able though to work on
> > > a problem --
> > > >> if I only could reproduce it, which is not the case).
> > > >>
> > > >> Best
> > > >>
> > > >>      Jan
> > > >>
> > > > -----BEGIN PGP SIGNATURE-----
> > > > Version: GnuPG v1.4.2.2 (GNU/Linux)
> > > > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> > > >
> > > > iD8DBQFFwblJsrvOlFf8EzcRAqPAAJ9EfknP4aBepyzZFVt3qERXj76sRwCbBhko
> > > > pZiD28wlui9e29RbYW3MiLI=
> > > > =QooE
> > > > -----END PGP SIGNATURE-----
> > > >
> > > >
> > > -------------------------------------------------------------------------
> > > > Using Tomcat but need to do more? Need to support web services,
> > > security?
> > > > Get stuff done quickly with pre-integrated technology to make your
> > > job easier.
> > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > > Geronimo
> > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > > _______________________________________________
> > > > Jump-pilot-devel mailing list
> > > > Jump-pilot-devel@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > > >
> > > >
> > >
> > > --
> > > Geoffrey G Roy
> > > Cadplan
> > > 129 Gloster Street, Subiaco WA 6008
> > > Tel: (08) 9381 4870  Fax: (08) 9382 4459
> > > Email: [EMAIL PROTECTED]
> > > http://www.cadplan.com.au
> > >
> > >
> > > -------------------------------------------------------------------------
> > >
> > > Using Tomcat but need to do more? Need to support web services,
> > > security?
> > > Get stuff done quickly with pre-integrated technology to make your
> > > job easier.
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > > Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > > _______________________________________________
> > > Jump-pilot-devel mailing list
> > > Jump-pilot-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> > >
> >
> >
> >
> > --
> > http://amusingprogrammer.blogspot.com/
> >
> > -------------------------------------------------------------------------
> > Using Tomcat but need to do more? Need to support web services,
> > security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier.
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache
> > Geronimo
> >
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
> >
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier.
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>


--
http://amusingprogrammer.blogspot.com/
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to