Re: [JPP-Devel] No commit mailing list?

2007-02-01 Thread Jan-Oliver Wagner
On Wednesday 31 January 2007 23:05, Stefan Steiniger wrote:
> so .. we shall do one.
> but what do you mean by automatic?

just in contrast to sending diffs more or less manually to a list.

Automatic: A script generates emails from diff and log and sends
them to the mailing list - triggered through a check in, so just seconds
after a commit happened.

Best

Jan
-- 
Jan-Oliver Wagner: www.intevation.de/~jan  | GISpatcher: www.gispatcher.de
Kolab Konsortium : www.kolab-konsortium.de | Thuban: thuban.intevation.org
Intevation GmbH  : www.intevation.de   | Kolab : www.kolab.org
FreeGIS  : www.freegis.org | GAV   : www.grass-verein.de

-
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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Jan-Oliver Wagner
On Wednesday 31 January 2007 16:27, Ugo Taddei wrote:
> I gave your plugin a spin and it's AOK with deejump. Nice :-)

:-)
 
> I missed an option for landscape x portrait printing.

I added this as feature wish to the (new) TODO.txt file.

> It'd also be useful to  
> have some way of annotating a layout (just a box with some text...but I guess 
> that's still to come).

sure. You already can see the button (not yet active though).

Best

Jan
-- 
Jan-Oliver Wagner: www.intevation.de/~jan  | GISpatcher: www.gispatcher.de
Kolab Konsortium : www.kolab-konsortium.de | Thuban: thuban.intevation.org
Intevation GmbH  : www.intevation.de   | Kolab : www.kolab.org
FreeGIS  : www.freegis.org | GAV   : www.grass-verein.de

-
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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Jan-Oliver Wagner
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
-- 
Jan-Oliver Wagner: www.intevation.de/~jan  | GISpatcher: www.gispatcher.de
Kolab Konsortium : www.kolab-konsortium.de | Thuban: thuban.intevation.org
Intevation GmbH  : www.intevation.de   | Kolab : www.kolab.org
FreeGIS  : www.freegis.org | GAV   : www.grass-verein.de

-
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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Sascha L. Teichmann
-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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Ugo Taddei
Hello,

I think the problem here is that the old libs are still being used. The 
candidates here are the xml-api and batik jars.

We use a different procedure in deejump and that's why we havent' got any 
problem. Anyway, I took care to use the jars needed by the plugin. (S. 
installation instructions and Jan's email.)

The point is, really, the old jars should at some time be replaced by new ones.

Cheers,

Ugo

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
> 

-- 
l a t / l o n  GmbH
Aennchenstrasse 19   53177 Bonn, Germany
phone ++49 +228 184960   fax ++49 +228 1849629
http://www.lat-lon.dehttp://www.deegree.org

-
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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Geoffrey G Roy
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: 1)
   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 quic

Re: [JPP-Devel] PHeulARMACY

2007-02-01 Thread Uriel Mailman
Hi,

Purchase your medication from our site because it costs less.

http://www.vodrx*.com - Remove "*" to make the link working!

--

his robes, but it was too powerful.
Warn ...Dumbledore ... 
Ill get Dumbledore if you let go of me,  said Harry. Just let go, Mr.


-
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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Larry Becker

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: 1)
   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
> ___

Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Sunburned Surveyor

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: 1)
>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

Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Larry Becker

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: 1)
> >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 

Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread [EMAIL PROTECTED]
Hello Landon,

Larry is right about the resolution issue. It's not about
the vectors them selfs, its because they are rounded to near
integer values in the range of the size of the LayerViewPanel.

Lets say it has a size of say 300 x 300 pixel the renderers
round all vertices to that discrete raster. They are still
vectors but with rounded coordinates.

A possible workaround would be the creation of a fake big sized
LayerViewPanel (> 1 x 1 or so) and render this one.

This is not a limitation of SVG its a limitation of the
rendering in OpenJUMP.

- Sascha



Sunburned Surveyor schrieb:
> 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: 1)
>> >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:
> 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.

Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Sunburned Surveyor

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: 1)
> > >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!)
> > 

Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread [EMAIL PROTECTED]
Hi!

Sunburned Surveyor schrieb:
> 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 agree, this is just a workaround.

> 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.

OpenJUMP uses the svggen subsystem of Batik to generate SVG.
This is mainly a Graphics2D context which interprets things
like g2d.draw(shape) in terms of SVG DOM calls.
There is nothing wrong with this. Vertices of shapes in Java2D
are defined with single/double precision floating point.
If your shape is e.g. Line2D.Double it will be treated as such.

Batik itself has the ability to round for a given precision.
The default is 4 digits. I sat this to 12 digits and it doesn't change
the result. The round must take place therefore earlier in the chain.

> 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.

This would be very nice. But have in mind that in this case you have
to write a complete new rendering approach. You have to answer the
question 'what does this JTS geometry + style mean in terms of SVG?'

But don't get me wrong ... I really would like to have such an
interface. ;-)

- Sascha


-
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


[JPP-Devel] The return of Concurrent modification error

2007-02-01 Thread Larry Becker

Hey Sunburned,

 While I was testing out the PrintLayout, I got a Concurrent modification
error on a project with only shapefiles.  This seems to point to OJ
specifically, since I have never yet gotten this error with SkyJUMP.
Unfortunately, I didn't get a trace.  I tried to look in the log, but I
guess OpenJUMP doesn't have a log anymore.

regards,
Larry
--
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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Jan-Oliver Wagner
Geoffrey,

On Thursday 01 February 2007 13:06, Geoffrey G Roy wrote:
> 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.

I added this hint to the INSTALL.txt file.

> Some brief comments on the PrintLayout plugin:
>
>1. It would be useful to allow for landscape/portrait sheets of paper

Ugo mentioned this already. I added this as a feature wish to TODO.txt.

>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.

I am not sure whether this is doable or how complex it would be.
Thats why I mentioned earlier that your plugin can not be replaced
by PrintLayout as yours offers other interesting features.

>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).

hm, this seems to be a bug.

>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: 1)

I added this to TODO.txt.

>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.

I added this idea as well to TODO.txt.

Thanks

Jan

-- 
Jan-Oliver Wagner: www.intevation.de/~jan  | GISpatcher: www.gispatcher.de
Kolab Konsortium : www.kolab-konsortium.de | Thuban: thuban.intevation.org
Intevation GmbH  : www.intevation.de   | Kolab : www.kolab.org
FreeGIS  : www.freegis.org | GAV   : www.grass-verein.de

-
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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread Sunburned Surveyor

Your right Sascha, the AWT Geometries would be stored with double precision.
But I think during the rendering process these coordinate value are shifted
and trimmed before rendering. (This is just a guess.) I think that is what
you are talking about when you say "The round must take place therefore
earlier in the chain."

We know the JTS Geometries store double precision. If we're tapping the AWT
Geometries derived from those JTS Geometries and the result is our "low
precision" SVG, then I think were loosing the precision somewhere in the
conversion from JTS to AWT.

One of these days will have to write some code that creates SVG directly
from the JTS Geometries. (Maybe there is already something like this in
GeoTools? I'll have to ask them.)

The Sunburned Surveyor


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


Hi!

Sunburned Surveyor schrieb:
> 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 agree, this is just a workaround.

> 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.

OpenJUMP uses the svggen subsystem of Batik to generate SVG.
This is mainly a Graphics2D context which interprets things
like g2d.draw(shape) in terms of SVG DOM calls.
There is nothing wrong with this. Vertices of shapes in Java2D
are defined with single/double precision floating point.
If your shape is e.g. Line2D.Double it will be treated as such.

Batik itself has the ability to round for a given precision.
The default is 4 digits. I sat this to 12 digits and it doesn't change
the result. The round must take place therefore earlier in the chain.

> 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.

This would be very nice. But have in mind that in this case you have
to write a complete new rendering approach. You have to answer the
question 'what does this JTS geometry + style mean in terms of SVG?'

But don't get me wrong ... I really would like to have such an
interface. ;-)

- Sascha


-
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


Re: [JPP-Devel] The return of Concurrent modification error

2007-02-01 Thread Sunburned Surveyor

I am wanting to use curse words so bad right now that I could almost spit!

Thanks for letting me know about this Larry. I don't know how much I can do
to fix this without a stack trace. I'm also surprised that the error only
appears in OpenJUMP. That will help me narrow my search to code in JUMP's
core that has been modified in OpenJUMP. I'd have to look at the
PrintLayoutCode to determine what caused the Exception. Do you remember what
exactly you were doing in the PrintLayoutPlugin when you got the Exception?

Landon


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


Hey Sunburned,

  While I was testing out the PrintLayout, I got a Concurrent modification
error on a project with only shapefiles.  This seems to point to OJ
specifically, since I have never yet gotten this error with SkyJUMP.
Unfortunately, I didn't get a trace.  I tried to look in the log, but I
guess OpenJUMP doesn't have a log anymore.

regards,
Larry
--
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


Re: [JPP-Devel] The return of Concurrent modification error

2007-02-01 Thread Larry Becker

The concurrent modification error occurred for me just as it did for Pedro -
when opening a project file.  It got almost all of the way through loading
the layers before it hit.  I'll try to reproduce it again and get a trace
this time.  I was just taken off guard by the Log command not being there.

regards,
Larry

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


I am wanting to use curse words so bad right now that I could almost spit!


Thanks for letting me know about this Larry. I don't know how much I can
do to fix this without a stack trace. I'm also surprised that the error only
appears in OpenJUMP. That will help me narrow my search to code in JUMP's
core that has been modified in OpenJUMP. I'd have to look at the
PrintLayoutCode to determine what caused the Exception. Do you remember what
exactly you were doing in the PrintLayoutPlugin when you got the Exception?

Landon


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

> Hey Sunburned,
>
>   While I was testing out the PrintLayout, I got a Concurrent
> modification error on a project with only shapefiles.  This seems to point
> to OJ specifically, since I have never yet gotten this error with SkyJUMP.
> Unfortunately, I didn't get a trace.  I tried to look in the log, but I
> guess OpenJUMP doesn't have a log anymore.
>
> regards,
> Larry
> --
> 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


Re: [JPP-Devel] documentation format

2007-02-01 Thread Stefan Steiniger
Hei Gary,

i had a first look .. your manual seem to be very comprehensive :)
On the weekend i will try to have a second look on it if you wish and 
need some specific comments

thanx for your work
stefan

PS: if others are interested, those may drop a line and i put the doc on 
an ftp

Gary Watry schrieb:
> Here is the format I am using on other software
> 

-
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


Re: [JPP-Devel] The return of Concurrent modification error

2007-02-01 Thread Larry Becker

I should also note, so as not to overly alarm anyone, that the error was
fully recoverable (like all of JUMP's errors), and did not happen again
although I immediately tried loading the project again several times.

Larry

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


The concurrent modification error occurred for me just as it did for Pedro
- when opening a project file.  It got almost all of the way through loading
the layers before it hit.  I'll try to reproduce it again and get a trace
this time.  I was just taken off guard by the Log command not being there.

regards,
Larry

On 2/1/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
>
> I am wanting to use curse words so bad right now that I could almost
> spit!
>
> Thanks for letting me know about this Larry. I don't know how much I can
> do to fix this without a stack trace. I'm also surprised that the error only
> appears in OpenJUMP. That will help me narrow my search to code in JUMP's
> core that has been modified in OpenJUMP. I'd have to look at the
> PrintLayoutCode to determine what caused the Exception. Do you remember what
> exactly you were doing in the PrintLayoutPlugin when you got the Exception?
>
> Landon
>
>
> On 2/1/07, Larry Becker < [EMAIL PROTECTED]> wrote:
>
> > Hey Sunburned,
> >
> >   While I was testing out the PrintLayout, I got a Concurrent
> > modification error on a project with only shapefiles.  This seems to point
> > to OJ specifically, since I have never yet gotten this error with SkyJUMP.
> > Unfortunately, I didn't get a trace.  I tried to look in the log, but I
> > guess OpenJUMP doesn't have a log anymore.
> >
> > regards,
> > Larry
> > --
> > 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/





--
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


Re: [JPP-Devel] The return of Concurrent modification error

2007-02-01 Thread Larry Becker

Got it!  After 8 tries at loading the project, it hit.

java.util.ConcurrentModificationException
   at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
   at java.util.AbstractList$Itr.next(Unknown Source)
   at
com.vividsolutions.jump.workbench.model.LayerManager.fireCategoryChanged(
LayerManager.java:335)
   at com.vividsolutions.jump.workbench.model.LayerManager.addCategory(
LayerManager.java:210)
   at com.vividsolutions.jump.workbench.model.LayerManager.addCategory(
LayerManager.java:187)
   at
com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.loadLayers(
OpenProjectPlugIn.java:163)
   at com.vividsolutions.jump.workbench.ui.plugin.OpenProjectPlugIn.run(
OpenProjectPlugIn.java:112)
   at
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run
(TaskMonitorManager.java:149)
   at java.lang.Thread.run(Unknown Source)

Larry

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


I should also note, so as not to overly alarm anyone, that the error was
fully recoverable (like all of JUMP's errors), and did not happen again
although I immediately tried loading the project again several times.

Larry

On 2/1/07, Larry Becker <[EMAIL PROTECTED]> wrote:
>
> The concurrent modification error occurred for me just as it did for
> Pedro - when opening a project file.  It got almost all of the way through
> loading the layers before it hit.  I'll try to reproduce it again and get a
> trace this time.  I was just taken off guard by the Log command not being
> there.
>
> regards,
> Larry
>
> On 2/1/07, Sunburned Surveyor < [EMAIL PROTECTED]> wrote:
> >
> > I am wanting to use curse words so bad right now that I could almost
> > spit!
> >
> > Thanks for letting me know about this Larry. I don't know how much I
> > can do to fix this without a stack trace. I'm also surprised that the error
> > only appears in OpenJUMP. That will help me narrow my search to code in
> > JUMP's core that has been modified in OpenJUMP. I'd have to look at the
> > PrintLayoutCode to determine what caused the Exception. Do you remember what
> > exactly you were doing in the PrintLayoutPlugin when you got the Exception?
> >
> > Landon
> >
> >
> > On 2/1/07, Larry Becker < [EMAIL PROTECTED]> wrote:
> >
> > > Hey Sunburned,
> > >
> > >   While I was testing out the PrintLayout, I got a Concurrent
> > > modification error on a project with only shapefiles.  This seems to point
> > > to OJ specifically, since I have never yet gotten this error with SkyJUMP.
> > > Unfortunately, I didn't get a trace.  I tried to look in the log, but I
> > > guess OpenJUMP doesn't have a log anymore.
> > >
> > > regards,
> > > Larry
> > > --
> > > 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/




--
http://amusingprogrammer.blogspot.com/





--
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


Re: [JPP-Devel] The return of Concurrent modification error

2007-02-01 Thread Sunburned Surveyor

A seemingly random exception. That's got to be a timing thing with threads.
I wish I knew how to fix the stinking thing.

If it happens again try and grab me that stack trace.

SS

P.S. - To which logging function do you refer?

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


I should also note, so as not to overly alarm anyone, that the error was
fully recoverable (like all of JUMP's errors), and did not happen again
although I immediately tried loading the project again several times.

Larry

 On 2/1/07, Larry Becker <[EMAIL PROTECTED]> wrote:
>
> The concurrent modification error occurred for me just as it did for
> Pedro - when opening a project file.  It got almost all of the way through
> loading the layers before it hit.  I'll try to reproduce it again and get a
> trace this time.  I was just taken off guard by the Log command not being
> there.
>
> regards,
> Larry
>
> On 2/1/07, Sunburned Surveyor < [EMAIL PROTECTED]> wrote:
> >
> > I am wanting to use curse words so bad right now that I could almost
> > spit!
> >
> > Thanks for letting me know about this Larry. I don't know how much I
> > can do to fix this without a stack trace. I'm also surprised that the error
> > only appears in OpenJUMP. That will help me narrow my search to code in
> > JUMP's core that has been modified in OpenJUMP. I'd have to look at the
> > PrintLayoutCode to determine what caused the Exception. Do you remember what
> > exactly you were doing in the PrintLayoutPlugin when you got the Exception?
> >
> > Landon
> >
> >
> >  On 2/1/07, Larry Becker < [EMAIL PROTECTED]> wrote:
> >
> > > Hey Sunburned,
> > >
> > >   While I was testing out the PrintLayout, I got a Concurrent
> > > modification error on a project with only shapefiles.  This seems to point
> > > to OJ specifically, since I have never yet gotten this error with SkyJUMP.
> > > Unfortunately, I didn't get a trace.  I tried to look in the log, but I
> > > guess OpenJUMP doesn't have a log anymore.
> > >
> > > regards,
> > > Larry
> > > --
> > > 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/




--
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


Re: [JPP-Devel] PrintLayout Plugin 0.8.2

2007-02-01 Thread [EMAIL PROTECTED]
Hi again!

For the long run the direct JTS -> SVG conversion would be fine.

But what to do against the rounding issue in the short run?

Is there an easy way to turn off this rounding?

This would help not even the SVG export, it would help _any_ export
scheme that relies on rendering. If I'am right even Geoff's print plugin
suffers form this too. (He works around it with an upscaled
LayerViewPanel?)

I can do the the same in the PrintLayout plugin,
but this is - as said before - a workaround.

Maybe Jon or Martin can help?

- Sascha


Sunburned Surveyor schrieb:
> Your right Sascha, the AWT Geometries would be stored with double
> precision.
> But I think during the rendering process these coordinate value are shifted
> and trimmed before rendering. (This is just a guess.) I think that is what
> you are talking about when you say "The round must take place therefore
> earlier in the chain."
> 
> We know the JTS Geometries store double precision. If we're tapping the AWT
> Geometries derived from those JTS Geometries and the result is our "low
> precision" SVG, then I think were loosing the precision somewhere in the
> conversion from JTS to AWT.
> 
> One of these days will have to write some code that creates SVG directly
> from the JTS Geometries. (Maybe there is already something like this in
> GeoTools? I'll have to ask them.)
> 
> The Sunburned Surveyor
> 
> 
> On 2/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> wrote:
>>
>> Hi!
>>
>> Sunburned Surveyor schrieb:
>> > 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 agree, this is just a workaround.
>>
>> > 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.
>>
>> OpenJUMP uses the svggen subsystem of Batik to generate SVG.
>> This is mainly a Graphics2D context which interprets things
>> like g2d.draw(shape) in terms of SVG DOM calls.
>> There is nothing wrong with this. Vertices of shapes in Java2D
>> are defined with single/double precision floating point.
>> If your shape is e.g. Line2D.Double it will be treated as such.
>>
>> Batik itself has the ability to round for a given precision.
>> The default is 4 digits. I sat this to 12 digits and it doesn't change
>> the result. The round must take place therefore earlier in the chain.
>>
>> > 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.
>>
>> This would be very nice. But have in mind that in this case you have
>> to write a complete new rendering approach. You have to answer the
>> question 'what does this JTS geometry + style mean in terms of SVG?'
>>
>> But don't get me wrong ... I really would like to have such an
>> interface. ;-)
>>
>> - Sascha
>>
>>
>> -
>> 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

-
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


Re: [JPP-Devel] The return of Concurrent modification error

2007-02-01 Thread Sunburned Surveyor

Larry,

Thanks for your help with this. I still don't understand why we are getting
this exception. It must be becuase iteration can cause a
ConcurrentModificationException, despite what the Javadoc says. I'll get
this fix commited to OpenJUMP's code base tomorrow, I hope...
I might also try to find someone that can help me identify if this is a
possible problem with Sun's implementation of the
ConcurrentModificationException, or if I'm just overlooking something. I
just don't see where the code in the fireCategoryChanged method is
"modifying" the collection of listeners, which is supposed to be the only
way a ConcurrentModificationException can be thrown.

I'm also passing along this message to Vivid Solutions so they can make the
fix in JUMP. If they want, I can provide Vivid with the patched source code
file so all they have to do is make the replacement.

The Sunburned Surveyor



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


Sunburned,

  I caught the Concurrent mod error in Eclipse and got the console
traceback, the same as I posted before.

I modified line 335 in fireCategoryChanged using the same technique as you
did in fireFeaturesChanged and it seems to have fixed the problem.

for (Iterator i = new ArrayList(layerListeners).iterator();
i.hasNext();) {//LDB added

I tried it 14 times in a row and didn't get the error.  Previously it had
never gone past 8 without hitting it.  Hope it is fixed for good now!

regards,
Larry

On 2/1/07, Sunburned Surveyor <[EMAIL PROTECTED]> wrote:
>
> Thanks a lot Larry. I notice that the last portion of your stack trace
> looks almost exactly like Pedro's. The one glaring similarity. Both your
> stack trace and Pedro's contain multiple and subseqent calls to the
> LayerManager.addCategoryMethod. I'm almost posotive that this is the
> root of the problem. I wonder if the JVM could be implementing the behavior
> of this exception differently than is stated in the Javadoc?
>
> I know that is a remote chance, and that I'm probably just overlooking
> something. Still, I thought I had put this stinker to rest.
>
> The good news is there's an easy fix if the problem is coming from what
> I think. I'll try the fix out and then see if I can duplicate the error with
> your sample project file.
>
> SS
>
>
>  On 2/1/07, Larry Becker <[EMAIL PROTECTED] > wrote:
> >
> > Sunburned,
> >
> >I have attached the project that triggered the problem.  There
> > doesn't seem to be anything special about it, but I got it to reproduce
> > again after only 7 tries.  Just extract the zip and open the project file.
> >
> >   The stack trace is in the last email.  It looks very much like
> > Pedro's.  I'll try to work on it too.  Who knows, as I implement more of OJ
> > into SkyJUMP, I might copy the bug (assuming I haven't already).
> >
> > regards,
> > Larry
> >
> > On 2/1/07, Sunburned Surveyor <[EMAIL PROTECTED] > wrote:
> > >
> > > A seemingly random exception. That's got to be a timing thing with
> > > threads. I wish I knew how to fix the stinking thing.
> > >
> > > If it happens again try and grab me that stack trace.
> > >
> > > SS
> > >
> > > P.S. - To which logging function do you refer?
> > >
> > >  On 2/1/07, Larry Becker <[EMAIL PROTECTED] > wrote:
> > > >
> > > > I should also note, so as not to overly alarm anyone, that the
> > > > error was fully recoverable (like all of JUMP's errors), and did not 
happen
> > > > again although I immediately tried loading the project again several 
times.
> > > >
> > > > Larry
> > > >
> > > >  On 2/1/07, Larry Becker <[EMAIL PROTECTED] > wrote:
> > > > >
> > > > > The concurrent modification error occurred for me just as it did
> > > > > for Pedro - when opening a project file.  It got almost all of the way
> > > > > through loading the layers before it hit.  I'll try to reproduce it 
again
> > > > > and get a trace this time.  I was just taken off guard by the Log 
command
> > > > > not being there.
> > > > >
> > > > > regards,
> > > > > Larry
> > > > >
> > > > > On 2/1/07, Sunburned Surveyor < [EMAIL PROTECTED] >
> > > > > wrote:
> > > > > >
> > > > > > I am wanting to use curse words so bad right now that I could
> > > > > > almost spit!
> > > > > >
> > > > > > Thanks for letting me know about this Larry. I don't know how
> > > > > > much I can do to fix this without a stack trace. I'm also surprised 
that the
> > > > > > error only appears in OpenJUMP. That will help me narrow my search 
to code
> > > > > > in JUMP's core that has been modified in OpenJUMP. I'd have to look 
at the
> > > > > > PrintLayoutCode to determine what caused the Exception. Do you 
remember what
> > > > > > exactly you were doing in the PrintLayoutPlugin when you got the 
Exception?
> > > > > >
> > > > > > Landon
> > > > > >
> > > > > >
> > > > > >  On 2/1/07, Larry Becker < [EMAIL PROTECTED] > wrote:
> > > > > >
> > > > > > > Hey Sunburned,
> > > > > > >
> > > > > > >   While I was testing out the PrintLayout, I got a
> > > > > > > Concurrent 

[JPP-Devel] Rendering precision of SVG export (was PrintLayout Plugin 0.8.2)

2007-02-01 Thread Sascha L. Teichmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi together,

Larry brought up the point that the SVG export is crappy
due to rounding errors.

I tracked down this issue to the point where the rounding is done.
Mainly two classes are responsible for this:

1) com.vividsolutions.jump.workbench.ui.renderer.java2D.PolygonShape

The coordinates are converted to integers here by using a
java.awt.Polygon. Bad idea. I replaced this by a java.awt.geom.GeneralPath.

2) com.vividsolutions.jump.workbench.ui.renderer.java2D.Java2DConverter

Each incoming JTS point transformed to model space is rounded to the
nearest integer in #toViewPoint(). Bad idea again. I removed this
rounding. A comment for this method says that there is a rounding
issue in Java2D. This comment dates back to 2004. I wonder if this
is still relevant nowadays?!

After doing this two little modification the quality improved
dramatically. See the screen shots before.png [1] and after.png [2]

I strongly recommend to take this mods into CVS because all rendering
via a Graphics2D context is effected by this. Printing quality e.g.
suffers as well from this issue.

Kind regards, Sascha

[1] http://intevation.de/~teichmann/before.png
[2] http://intevation.de/~teichmann/after.png
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFwqHisrvOlFf8EzcRArkpAKCI7hD03CZtweL6U+uy9hdzsQ/1JgCfTAmo
dgre16tGnG135ZV8/WOdEVU=
=YXRP
-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