Re: [JPP-Devel] OpenJUMP poster / flyer

2008-12-15 Thread Giuseppe Aruta
Hi Stefn,
it sounds good!
Just a couple of thoughs/ideas:
* The top/botton colour: I use  a light orange colour for my tutorials. Just to 
enforce the color of the kangaroo (see sample attached)
* I am not sude but I think that Paolo's Oracle plugin can save too (?)
* Jython plugin, right now, works only with OpemnJUMP 1.1 and nor with OpenJUMP 
1.2

Regards

Peppe




--- Lun 15/12/08, Stefan Steiniger sst...@geo.uzh.ch ha scritto:

 Da: Stefan Steiniger sst...@geo.uzh.ch
 Oggetto: Re: [JPP-Devel] OpenJUMP poster / flyer
 A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
 Data: Lunedì 15 dicembre 2008, 01:04
 update:
 I added a line under data formats:
 . supports: OGC WMS  WFS
 
 stefan
 
 Stefan Steiniger schrieb:
  Hei guys,
  
  I though I spent this weekend a bit sensefull and
 created a kind of 
  flyer. Not sure how the images come in print (I
 couldn't print yet), and 
  I would also like to change the top and bottom grey
 bars to 
  blue-ish/green-ish.. but I couldn't find a way in
 Illustrator yet to 
  make a coloured gradient [if somebody knows...]
  
  Any comments? Are the fonts of good size?
  Should we put the flyer on the webpage?
  
  stefan
  
  
 
 
  
 
 --
  SF.Net email is Sponsored by MIX09, March 18-20, 2009
 in Las Vegas, Nevada.
  The future of the web can't happen without you. 
 Join us at MIX09 to help
  pave the way to the Next Web now. Learn more and
 register at
 
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
  
  
 
 
  
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
 
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in
 Las Vegas, Nevada.
 The future of the web can't happen without you.  Join
 us at MIX09 to help
 pave the way to the Next Web now. Learn more and register
 at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


  

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] R: about some items on Layer list menu

2008-12-15 Thread P . Rizzi Ag . Mobilità Ambiente
Refresh layers is indeed used with DataStore based layers,
the ones added with Layers/Add DataStore Layers.
It would be great if it worked with other kind of layers too,
expecially layers created with Layers/Run DataStore query,
but also layers created from shape files may be refreshed, why not???

Moving it to the main menu doesn't sound good to me, since it would be
a little less easy to reach and also because a user may not be aware
of where each layer gets its data from.
If the refresh function is extended to other kind of layers, 
in which menu should it reside, then???

To shorten the layer contextual menu (it's a little too long, indeed),
a submenu may be added. For example a Data actions menu where you can put
the Refresh Layer action and maybe also the View/Edit Attributes,
View/Edit Schema, or whatever other action it seems fit.

What do you think of this???

Bye
Paolo Rizzi


 -Messaggio originale-
 Da: Giuseppe Aruta [mailto:giuseppe_ar...@yahoo.it]
 Inviato: sabato 13 dicembre 2008 18.58
 A: OpenJump develop and use
 Oggetto: [JPP-Devel] about some items on Layer list menu
 
 
 Hi
 there are two items on the Layer list menu which need have 
 still bugs (or strange behaviour)
 
 1) Image Layer Manager (Test) - It works only if I click on a 
 single raster layer. It doesn't work if I click on 2 or more 
 raster layers.
 It has an Add option which doesn't work (at least with my 
 test JPG). The Delete option, of coarse works and.. the 
 image disapears on the Layer view. It is not possible to let 
 it come back (Add doesn't work!) until I close and open again 
 the raster.
 Option Close, of coarse, close the window.
 Below the window, In the show metadata section, the 
 coordinates of upper left and lower right point are displayed.
 Since only this last function seems to be useful, I ask if we 
 can remove this function and substitute it with a general 
 Show raster metadata one which save the last function
 
 2) Refresh-layers
 I still haven't seen working this function. It is never 
 available on any projects I did with OpenJUMP. Its tooltip 
 shows that Layer must have a data souce. Is this function 
 connected to PostGIS and Oracle datasource? If yes, Why not 
 to  move this function on Menu barLayer menu?
 This will probabily simplify the layer list (less items)
 
 *
 Another observation.
 When a user wants to cut and past items, he has to use the 
 Layer View menu to copy and the Layer List menu to paste. It 
 would be better if both Copy and Paste items will be on the 
 same menu, in this case the Layer View
 
 
 Regards
 
 Peppe
 
 
   
 
 --
 
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las 
 Vegas, Nevada.
 The future of the web can't happen without you.  Join us at 
 MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009
.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Sunburned Surveyor
Larry and Stefan,

Thanks for clarifying the copy/paste issue.

Peppe and Jukka,

This type of feedback is really invaluable. Thanks for taking the time
to provide it.

All,

I could enter the items mentioned above into our bug tracker. Does
anyone know how to separate true bugs from suggested improvements
like changes to the user interface/user interaction. I would think it
might be helpful to distinguish the two categories of items in the
tracker.

SS

On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:
 Hi,

 1) Image Layer Manager: not sure where it comes from - we may change the
 behaviour as you proposed, i.e. disable the option)

 I remember that it came with the JUMP image support from Vivid solutions but 
 I may be wrong.  I have never quite understood what value it is supposed to 
 give for the user.


 2) refresh layers: I have not used it either. I think it was useful a
 while ago? However, we need to check its function (what probably
 requires a database - which I don't have)

 It is essential for DB layers. Usually DB layer features are cached by OJ and 
 updates in the database do not show before refreshing them. If the function 
 does not do anything with other data sources perhaps it could be renamed to 
 refresh DB layer then?

 I have a couple of remarks:

 - Image layers cannot be saved into project file. Perhaps it would not be 
 very difficult to make them saveable?
 - DB layer can be saved into project files. Therefore the database query for 
 the layers is saved. However, the used cannot see the actual SQL while using 
 OJ.  It would be useful sometimes to see the SQL in the properties or even to 
 be able to edit it without a need to make a new layer.  Editing SQL should 
 naturally be followed by automatic refresh if original features were in disk 
 cache.
 - I use usually scale bar as a hint while digitizing.  It does not get saved 
 into project file but scale bar must be added by hand every time.

 -Jukka Rahkonen-

  1) Image Layer Manager (Test) - It works only if I click on a
 single raster layer. It doesn't work if I click on 2 or more raster
 layers.
   It has an Add option which doesn't work (at least with my test
 JPG). The Delete option, of coarse works and.. the image disapears
 on the Layer view. It is not possible to let it come back (Add
 doesn't work!) until I close and open again the raster.
   Option Close, of coarse, close the window.
   Below the window, In the show metadata section, the coordinates
 of upper left and lower right point are displayed.
   Since only this last function seems to be useful, I ask if we can
 remove this function and substitute it with a general Show raster
 metadata one which save the last function
  
   2) Refresh-layers
   I still haven't seen working this function. It is never available
 on any projects I did with OpenJUMP. Its tooltip shows that Layer
 must have a data souce. Is this function connected to PostGIS and
 Oracle datasource? If yes, Why not to  move this function on Menu
 barLayer menu?
   This will probabily simplify the layer list (less items)
  
   *
   Another observation.
   When a user wants to cut and past items, he has to use the Layer
 View menu to copy and the Layer List menu to paste. It would be
 better if both Copy and Paste items will be on the same menu, in
 this case the Layer View
  
  
   Regards
  
   Peppe
  
  
  
  
  
 
 --
   SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
 Vegas, Nevada.
   The future of the web can't happen without you.  Join us at MIX09
 to help
   pave the way to the Next Web now. Learn more and register at
  
 
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
   ___
   Jump-pilot-devel mailing list
   Jump-pilot-devel@lists.sourceforge.net
 mailto:Jump-pilot-devel@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
  

 
 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
 Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to
 help
 pave the way to the Next Web now. Learn more and register at
 
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 mailto:Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




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


 

Re: [JPP-Devel] R: about some items on Layer list menu

2008-12-15 Thread Sunburned Surveyor
Paolo wrote: To shorten the layer contextual menu (it's a little too
long, indeed),
a submenu may be added. For example a Data actions menu where you can put
the Refresh Layer action and maybe also the View/Edit Attributes,
View/Edit Schema, or whatever other action it seems fit.

This seems reasonable to me.

SS

On Mon, Dec 15, 2008 at 3:30 AM, P.Rizzi Ag.Mobilità Ambiente
paolo.ri...@ama-mi.it wrote:
 Refresh layers is indeed used with DataStore based layers,
 the ones added with Layers/Add DataStore Layers.
 It would be great if it worked with other kind of layers too,
 expecially layers created with Layers/Run DataStore query,
 but also layers created from shape files may be refreshed, why not???

 Moving it to the main menu doesn't sound good to me, since it would be
 a little less easy to reach and also because a user may not be aware
 of where each layer gets its data from.
 If the refresh function is extended to other kind of layers,
 in which menu should it reside, then???

 To shorten the layer contextual menu (it's a little too long, indeed),
 a submenu may be added. For example a Data actions menu where you can put
 the Refresh Layer action and maybe also the View/Edit Attributes,
 View/Edit Schema, or whatever other action it seems fit.

 What do you think of this???

 Bye
 Paolo Rizzi


 -Messaggio originale-
 Da: Giuseppe Aruta [mailto:giuseppe_ar...@yahoo.it]
 Inviato: sabato 13 dicembre 2008 18.58
 A: OpenJump develop and use
 Oggetto: [JPP-Devel] about some items on Layer list menu


 Hi
 there are two items on the Layer list menu which need have
 still bugs (or strange behaviour)

 1) Image Layer Manager (Test) - It works only if I click on a
 single raster layer. It doesn't work if I click on 2 or more
 raster layers.
 It has an Add option which doesn't work (at least with my
 test JPG). The Delete option, of coarse works and.. the
 image disapears on the Layer view. It is not possible to let
 it come back (Add doesn't work!) until I close and open again
 the raster.
 Option Close, of coarse, close the window.
 Below the window, In the show metadata section, the
 coordinates of upper left and lower right point are displayed.
 Since only this last function seems to be useful, I ask if we
 can remove this function and substitute it with a general
 Show raster metadata one which save the last function

 2) Refresh-layers
 I still haven't seen working this function. It is never
 available on any projects I did with OpenJUMP. Its tooltip
 shows that Layer must have a data souce. Is this function
 connected to PostGIS and Oracle datasource? If yes, Why not
 to  move this function on Menu barLayer menu?
 This will probabily simplify the layer list (less items)

 *
 Another observation.
 When a user wants to cut and past items, he has to use the
 Layer View menu to copy and the Layer List menu to paste. It
 would be better if both Copy and Paste items will be on the
 same menu, in this case the Layer View


 Regards

 Peppe




 --
 
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
 Vegas, Nevada.
 The future of the web can't happen without you.  Join us at
 MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009
 .visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Larry Becker
Hi SS,

  There is separate tracker for feature requests:

http://sourceforge.net/tracker/?group_id=118054atid=679909

regards,
Larry

On Mon, Dec 15, 2008 at 10:23 AM, Sunburned Surveyor 
sunburned.surve...@gmail.com wrote:

 Larry and Stefan,

 Thanks for clarifying the copy/paste issue.

 Peppe and Jukka,

 This type of feedback is really invaluable. Thanks for taking the time
 to provide it.

 All,

 I could enter the items mentioned above into our bug tracker. Does
 anyone know how to separate true bugs from suggested improvements
 like changes to the user interface/user interaction. I would think it
 might be helpful to distinguish the two categories of items in the
 tracker.

 SS

 On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
  Hi,
 
  1) Image Layer Manager: not sure where it comes from - we may change the
  behaviour as you proposed, i.e. disable the option)
 
  I remember that it came with the JUMP image support from Vivid solutions
 but I may be wrong.  I have never quite understood what value it is supposed
 to give for the user.
 
 
  2) refresh layers: I have not used it either. I think it was useful a
  while ago? However, we need to check its function (what probably
  requires a database - which I don't have)
 
  It is essential for DB layers. Usually DB layer features are cached by OJ
 and updates in the database do not show before refreshing them. If the
 function does not do anything with other data sources perhaps it could be
 renamed to refresh DB layer then?
 
  I have a couple of remarks:
 
  - Image layers cannot be saved into project file. Perhaps it would not be
 very difficult to make them saveable?
  - DB layer can be saved into project files. Therefore the database query
 for the layers is saved. However, the used cannot see the actual SQL while
 using OJ.  It would be useful sometimes to see the SQL in the properties or
 even to be able to edit it without a need to make a new layer.  Editing SQL
 should naturally be followed by automatic refresh if original features were
 in disk cache.
  - I use usually scale bar as a hint while digitizing.  It does not get
 saved into project file but scale bar must be added by hand every time.
 
  -Jukka Rahkonen-
 
   1) Image Layer Manager (Test) - It works only if I click on a
  single raster layer. It doesn't work if I click on 2 or more raster
  layers.
It has an Add option which doesn't work (at least with my test
  JPG). The Delete option, of coarse works and.. the image disapears
  on the Layer view. It is not possible to let it come back (Add
  doesn't work!) until I close and open again the raster.
Option Close, of coarse, close the window.
Below the window, In the show metadata section, the coordinates
  of upper left and lower right point are displayed.
Since only this last function seems to be useful, I ask if we can
  remove this function and substitute it with a general Show raster
  metadata one which save the last function
   
2) Refresh-layers
I still haven't seen working this function. It is never available
  on any projects I did with OpenJUMP. Its tooltip shows that Layer
  must have a data souce. Is this function connected to PostGIS and
  Oracle datasource? If yes, Why not to  move this function on Menu
  barLayer menu?
This will probabily simplify the layer list (less items)
   
*
Another observation.
When a user wants to cut and past items, he has to use the Layer
  View menu to copy and the Layer List menu to paste. It would be
  better if both Copy and Paste items will be on the same menu, in
  this case the Layer View
   
   
Regards
   
Peppe
   
   
   
   
   
 
 --
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
  Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09
  to help
pave the way to the Next Web now. Learn more and register at
   
 
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
  mailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
   
 
 
 --
  SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
  Nevada.
  The future of the web can't happen without you.  Join us at MIX09 to
  help
  pave the way to the Next Web now. Learn more and register at
 
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
  

Re: [JPP-Devel] R: about some items on Layer list menu

2008-12-15 Thread Larry Becker
Personally, I would rather see new items moved to submenues.  It is
confusing when you move features that have been there since the original
JUMP.

Larry

On Mon, Dec 15, 2008 at 10:27 AM, Sunburned Surveyor 
sunburned.surve...@gmail.com wrote:

 Paolo wrote: To shorten the layer contextual menu (it's a little too
 long, indeed),
 a submenu may be added. For example a Data actions menu where you can put
 the Refresh Layer action and maybe also the View/Edit Attributes,
 View/Edit Schema, or whatever other action it seems fit.

 This seems reasonable to me.

 SS

 On Mon, Dec 15, 2008 at 3:30 AM, P.Rizzi Ag.Mobilità Ambiente
 paolo.ri...@ama-mi.it wrote:
  Refresh layers is indeed used with DataStore based layers,
  the ones added with Layers/Add DataStore Layers.
  It would be great if it worked with other kind of layers too,
  expecially layers created with Layers/Run DataStore query,
  but also layers created from shape files may be refreshed, why not???
 
  Moving it to the main menu doesn't sound good to me, since it would be
  a little less easy to reach and also because a user may not be aware
  of where each layer gets its data from.
  If the refresh function is extended to other kind of layers,
  in which menu should it reside, then???
 
  To shorten the layer contextual menu (it's a little too long, indeed),
  a submenu may be added. For example a Data actions menu where you can
 put
  the Refresh Layer action and maybe also the View/Edit Attributes,
  View/Edit Schema, or whatever other action it seems fit.
 
  What do you think of this???
 
  Bye
  Paolo Rizzi
 
 
  -Messaggio originale-
  Da: Giuseppe Aruta [mailto:giuseppe_ar...@yahoo.it]
  Inviato: sabato 13 dicembre 2008 18.58
  A: OpenJump develop and use
  Oggetto: [JPP-Devel] about some items on Layer list menu
 
 
  Hi
  there are two items on the Layer list menu which need have
  still bugs (or strange behaviour)
 
  1) Image Layer Manager (Test) - It works only if I click on a
  single raster layer. It doesn't work if I click on 2 or more
  raster layers.
  It has an Add option which doesn't work (at least with my
  test JPG). The Delete option, of coarse works and.. the
  image disapears on the Layer view. It is not possible to let
  it come back (Add doesn't work!) until I close and open again
  the raster.
  Option Close, of coarse, close the window.
  Below the window, In the show metadata section, the
  coordinates of upper left and lower right point are displayed.
  Since only this last function seems to be useful, I ask if we
  can remove this function and substitute it with a general
  Show raster metadata one which save the last function
 
  2) Refresh-layers
  I still haven't seen working this function. It is never
  available on any projects I did with OpenJUMP. Its tooltip
  shows that Layer must have a data souce. Is this function
  connected to PostGIS and Oracle datasource? If yes, Why not
  to  move this function on Menu barLayer menu?
  This will probabily simplify the layer list (less items)
 
  *
  Another observation.
  When a user wants to cut and past items, he has to use the
  Layer View menu to copy and the Layer List menu to paste. It
  would be better if both Copy and Paste items will be on the
  same menu, in this case the Layer View
 
 
  Regards
 
  Peppe
 
 
 
 
  --
  
  SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
  Vegas, Nevada.
  The future of the web can't happen without you.  Join us at
  MIX09 to help
  pave the way to the Next Web now. Learn more and register at
  http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009
  .visitmix.com/
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 --
  SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
 Nevada.
  The future of the web can't happen without you.  Join us at MIX09 to help
  pave the way to the Next Web now. Learn more and register at
 
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 


 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net

Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Sunburned Surveyor
I should have known that. :]

I will try to file the items in the previous thread to either the bug
tracker or the feature tracker on my lunch break today, unless Peppe
wants to beat me to it.

SS

On Mon, Dec 15, 2008 at 8:27 AM, Larry Becker becker.la...@gmail.com wrote:
 Hi SS,

   There is separate tracker for feature requests:

 http://sourceforge.net/tracker/?group_id=118054atid=679909

 regards,
 Larry

 On Mon, Dec 15, 2008 at 10:23 AM, Sunburned Surveyor
 sunburned.surve...@gmail.com wrote:

 Larry and Stefan,

 Thanks for clarifying the copy/paste issue.

 Peppe and Jukka,

 This type of feedback is really invaluable. Thanks for taking the time
 to provide it.

 All,

 I could enter the items mentioned above into our bug tracker. Does
 anyone know how to separate true bugs from suggested improvements
 like changes to the user interface/user interaction. I would think it
 might be helpful to distinguish the two categories of items in the
 tracker.

 SS

 On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
  Hi,
 
  1) Image Layer Manager: not sure where it comes from - we may change
  the
  behaviour as you proposed, i.e. disable the option)
 
  I remember that it came with the JUMP image support from Vivid solutions
  but I may be wrong.  I have never quite understood what value it is 
  supposed
  to give for the user.
 
 
  2) refresh layers: I have not used it either. I think it was useful a
  while ago? However, we need to check its function (what probably
  requires a database - which I don't have)
 
  It is essential for DB layers. Usually DB layer features are cached by
  OJ and updates in the database do not show before refreshing them. If the
  function does not do anything with other data sources perhaps it could be
  renamed to refresh DB layer then?
 
  I have a couple of remarks:
 
  - Image layers cannot be saved into project file. Perhaps it would not
  be very difficult to make them saveable?
  - DB layer can be saved into project files. Therefore the database query
  for the layers is saved. However, the used cannot see the actual SQL while
  using OJ.  It would be useful sometimes to see the SQL in the properties or
  even to be able to edit it without a need to make a new layer.  Editing SQL
  should naturally be followed by automatic refresh if original features were
  in disk cache.
  - I use usually scale bar as a hint while digitizing.  It does not get
  saved into project file but scale bar must be added by hand every time.
 
  -Jukka Rahkonen-
 
   1) Image Layer Manager (Test) - It works only if I click on a
  single raster layer. It doesn't work if I click on 2 or more raster
  layers.
It has an Add option which doesn't work (at least with my test
  JPG). The Delete option, of coarse works and.. the image
  disapears
  on the Layer view. It is not possible to let it come back (Add
  doesn't work!) until I close and open again the raster.
Option Close, of coarse, close the window.
Below the window, In the show metadata section, the coordinates
  of upper left and lower right point are displayed.
Since only this last function seems to be useful, I ask if we
  can
  remove this function and substitute it with a general Show raster
  metadata one which save the last function
   
2) Refresh-layers
I still haven't seen working this function. It is never
  available
  on any projects I did with OpenJUMP. Its tooltip shows that Layer
  must have a data souce. Is this function connected to PostGIS and
  Oracle datasource? If yes, Why not to  move this function on Menu
  barLayer menu?
This will probabily simplify the layer list (less items)
   
*
Another observation.
When a user wants to cut and past items, he has to use the Layer
  View menu to copy and the Layer List menu to paste. It would be
  better if both Copy and Paste items will be on the same menu, in
  this case the Layer View
   
   
Regards
   
Peppe
   
   
   
   
   
 
  --
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las
  Vegas, Nevada.
The future of the web can't happen without you.  Join us at
  MIX09
  to help
pave the way to the Next Web now. Learn more and register at
   
 
  http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
  mailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
   
 
 
  --
  SF.Net email is 

Re: [JPP-Devel] OpenJUMP poster / flyer

2008-12-15 Thread Edgar Soldin
just some remarks on the text and the gradient...

--
OpenJUMP is...
. a Vector GIS (that can read rasters as well),
. not just another free demo viewer, but you can
edit, save, analyse, conflate and display your data,
. [is] working on Windows, Linux and MacOSX platforms
as it programmed in JAVA,
. [provides] an excellent framework for rapid prototyping,
. [is] freely distributed under the GNU GPL license.

--

remarks:
1) [] should be removed, as they conflict with the head line.
2) Every line should therefore also end with a period (.)  .
3) as it programmed in JAVA should be as it is .. but maybe you'd
like to use *java based* plus the term *cross platform* instead?


For the _coloured gradient_ activate the gradient tool from the palette
and click in the visualized gradient line on the bottom. two colorboxes
will appear. one on the left and another on the right. Doubleclick on
one of them to change its value in the color tool. Go back to the
gradient tool .. done..

regards ede
--

 update:
 I added a line under data formats:
 . supports: OGC WMS  WFS

 stefan

 Stefan Steiniger schrieb:
   
 Hei guys,

 I though I spent this weekend a bit sensefull and created a kind of 
 flyer. Not sure how the images come in print (I couldn't print yet), and 
 I would also like to change the top and bottom grey bars to 
 blue-ish/green-ish.. but I couldn't find a way in Illustrator yet to 
 make a coloured gradient [if somebody knows...]

 Any comments? Are the fonts of good size?
 Should we put the flyer on the webpage?

 stefan


 

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/


 

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

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
   


-- 
public class WhoDidIt{ // A comment. I love comments 
  private static Person sender;

  public static void main (String[] foo){

  sender = new Person();
  sender.setName(new String[]{Edgar, Soldin});

  Address address = new Address();
  address.setStreet(Stadtweg 119);
  address.setZip(39116);
  address.setCity(Magdeburg);
  address.setCountry(Germany);

  sender.setAddress(address);

  sender.setMobilePhone( +49(0)171-2782880 );
  sender.setWebSiteUrl( http://www.soldin.de );
  sender.setEmail( ed...@soldin.de );
  sender.setPGPPublicKey( http://www.soldin.de/edgar_soldin.asc );
  sender.setGender(true);

  System.out.println(sender.toString());
  }
}


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Stefan Steiniger
. sub menus make sense, but can we do that for mouse menus?

. we also have a (bug) tracker category for guy improvements - not just 
bugs and feature requests

stefan

Sunburned Surveyor wrote:
 I should have known that. :]
 
 I will try to file the items in the previous thread to either the bug
 tracker or the feature tracker on my lunch break today, unless Peppe
 wants to beat me to it.
 
 SS
 
 On Mon, Dec 15, 2008 at 8:27 AM, Larry Becker becker.la...@gmail.com wrote:
 Hi SS,

   There is separate tracker for feature requests:

 http://sourceforge.net/tracker/?group_id=118054atid=679909

 regards,
 Larry

 On Mon, Dec 15, 2008 at 10:23 AM, Sunburned Surveyor
 sunburned.surve...@gmail.com wrote:
 Larry and Stefan,

 Thanks for clarifying the copy/paste issue.

 Peppe and Jukka,

 This type of feedback is really invaluable. Thanks for taking the time
 to provide it.

 All,

 I could enter the items mentioned above into our bug tracker. Does
 anyone know how to separate true bugs from suggested improvements
 like changes to the user interface/user interaction. I would think it
 might be helpful to distinguish the two categories of items in the
 tracker.

 SS

 On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 1) Image Layer Manager: not sure where it comes from - we may change
 the
 behaviour as you proposed, i.e. disable the option)
 I remember that it came with the JUMP image support from Vivid solutions
 but I may be wrong.  I have never quite understood what value it is 
 supposed
 to give for the user.


 2) refresh layers: I have not used it either. I think it was useful a
 while ago? However, we need to check its function (what probably
 requires a database - which I don't have)
 It is essential for DB layers. Usually DB layer features are cached by
 OJ and updates in the database do not show before refreshing them. If the
 function does not do anything with other data sources perhaps it could be
 renamed to refresh DB layer then?

 I have a couple of remarks:

 - Image layers cannot be saved into project file. Perhaps it would not
 be very difficult to make them saveable?
 - DB layer can be saved into project files. Therefore the database query
 for the layers is saved. However, the used cannot see the actual SQL while
 using OJ.  It would be useful sometimes to see the SQL in the properties or
 even to be able to edit it without a need to make a new layer.  Editing SQL
 should naturally be followed by automatic refresh if original features were
 in disk cache.
 - I use usually scale bar as a hint while digitizing.  It does not get
 saved into project file but scale bar must be added by hand every time.

 -Jukka Rahkonen-

  1) Image Layer Manager (Test) - It works only if I click on a
 single raster layer. It doesn't work if I click on 2 or more raster
 layers.
   It has an Add option which doesn't work (at least with my test
 JPG). The Delete option, of coarse works and.. the image
 disapears
 on the Layer view. It is not possible to let it come back (Add
 doesn't work!) until I close and open again the raster.
   Option Close, of coarse, close the window.
   Below the window, In the show metadata section, the coordinates
 of upper left and lower right point are displayed.
   Since only this last function seems to be useful, I ask if we
 can
 remove this function and substitute it with a general Show raster
 metadata one which save the last function
  
   2) Refresh-layers
   I still haven't seen working this function. It is never
 available
 on any projects I did with OpenJUMP. Its tooltip shows that Layer
 must have a data souce. Is this function connected to PostGIS and
 Oracle datasource? If yes, Why not to  move this function on Menu
 barLayer menu?
   This will probabily simplify the layer list (less items)
  
   *
   Another observation.
   When a user wants to cut and past items, he has to use the Layer
 View menu to copy and the Layer List menu to paste. It would be
 better if both Copy and Paste items will be on the same menu, in
 this case the Layer View
  
  
   Regards
  
   Peppe
  
  
  
  
  


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-15 Thread Rahkonen Jukka
Hi,

Hi installed Java update and after that I have been getting every now and then 
IndexOutOfBoundsExceptions.  I wonder if it is just an accident.  I do not 
remember I have seen such errors before, even the work I was doing was just the 
same as always. Errors do not harm working, and the message is like this:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at 
com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.getShape(MultiClickTool.java:206)
at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:353)
at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:405)
at 
com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:378)
at 
com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.mouseReleased(MultiClickTool.java:133)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93)
at 
com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool.mouseReleased(QuasimodeTool.java:199)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

-Jukka Rahkonen-

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-15 Thread Sunburned Surveyor
Jukka,

Based on the stack trace you posted, this error is coming from the use
of a CursorTool. In particular, this cursor tool uses multiple clicks
on the Layer View to perform its work. The tool that allows a user to
draw a polygon is an example.

I'm guessing the source of the problem may have to do with some
modifications to the java.util.Array class.

You mentioned a Java update, but not the version of Java. Are you
running Java 1.5 or Java 1.6? What is your operating system? What
version of OpenJUMP, and can you provide any more details on the
update (like a date or version number)?

Thanks,

The Sunburned Surveyor

On Mon, Dec 15, 2008 at 9:53 AM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:
 Hi,

 Hi installed Java update and after that I have been getting every now and 
 then IndexOutOfBoundsExceptions.  I wonder if it is just an accident.  I do 
 not remember I have seen such errors before, even the work I was doing was 
 just the same as always. Errors do not harm working, and the message is like 
 this:

 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.getShape(MultiClickTool.java:206)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:353)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:405)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:378)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.mouseReleased(MultiClickTool.java:133)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool.mouseReleased(QuasimodeTool.java:199)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

 -Jukka Rahkonen-

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Larry Becker
 but can we do that for mouse menus?

SkyJUMP has layer context sub-menus.

I think we should remove the Image Layer Manager if it isn't functional.
I'm not sure why the save legend is needed there.  It might be better on the
file menu.

On Mon, Dec 15, 2008 at 11:36 AM, Stefan Steiniger sst...@geo.uzh.chwrote:

 . sub menus make sense, but can we do that for mouse menus?

 . we also have a (bug) tracker category for guy improvements - not just
 bugs and feature requests

 stefan

 Sunburned Surveyor wrote:
  I should have known that. :]
 
  I will try to file the items in the previous thread to either the bug
  tracker or the feature tracker on my lunch break today, unless Peppe
  wants to beat me to it.
 
  SS
 
  On Mon, Dec 15, 2008 at 8:27 AM, Larry Becker becker.la...@gmail.com
 wrote:
  Hi SS,
 
There is separate tracker for feature requests:
 
  http://sourceforge.net/tracker/?group_id=118054atid=679909
 
  regards,
  Larry
 
  On Mon, Dec 15, 2008 at 10:23 AM, Sunburned Surveyor
  sunburned.surve...@gmail.com wrote:
  Larry and Stefan,
 
  Thanks for clarifying the copy/paste issue.
 
  Peppe and Jukka,
 
  This type of feedback is really invaluable. Thanks for taking the time
  to provide it.
 
  All,
 
  I could enter the items mentioned above into our bug tracker. Does
  anyone know how to separate true bugs from suggested improvements
  like changes to the user interface/user interaction. I would think it
  might be helpful to distinguish the two categories of items in the
  tracker.
 
  SS
 
  On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
  jukka.rahko...@mmmtike.fi wrote:
  Hi,
 
  1) Image Layer Manager: not sure where it comes from - we may change
  the
  behaviour as you proposed, i.e. disable the option)
  I remember that it came with the JUMP image support from Vivid
 solutions
  but I may be wrong.  I have never quite understood what value it is
 supposed
  to give for the user.
 
 
  2) refresh layers: I have not used it either. I think it was useful a
  while ago? However, we need to check its function (what probably
  requires a database - which I don't have)
  It is essential for DB layers. Usually DB layer features are cached by
  OJ and updates in the database do not show before refreshing them. If
 the
  function does not do anything with other data sources perhaps it could
 be
  renamed to refresh DB layer then?
 
  I have a couple of remarks:
 
  - Image layers cannot be saved into project file. Perhaps it would not
  be very difficult to make them saveable?
  - DB layer can be saved into project files. Therefore the database
 query
  for the layers is saved. However, the used cannot see the actual SQL
 while
  using OJ.  It would be useful sometimes to see the SQL in the
 properties or
  even to be able to edit it without a need to make a new layer.
  Editing SQL
  should naturally be followed by automatic refresh if original features
 were
  in disk cache.
  - I use usually scale bar as a hint while digitizing.  It does not get
  saved into project file but scale bar must be added by hand every
 time.
 
  -Jukka Rahkonen-
 
   1) Image Layer Manager (Test) - It works only if I click on a
  single raster layer. It doesn't work if I click on 2 or more
 raster
  layers.
It has an Add option which doesn't work (at least with my
 test
  JPG). The Delete option, of coarse works and.. the image
  disapears
  on the Layer view. It is not possible to let it come back (Add
  doesn't work!) until I close and open again the raster.
Option Close, of coarse, close the window.
Below the window, In the show metadata section, the
 coordinates
  of upper left and lower right point are displayed.
Since only this last function seems to be useful, I ask if we
  can
  remove this function and substitute it with a general Show
 raster
  metadata one which save the last function
   
2) Refresh-layers
I still haven't seen working this function. It is never
  available
  on any projects I did with OpenJUMP. Its tooltip shows that
 Layer
  must have a data souce. Is this function connected to PostGIS
 and
  Oracle datasource? If yes, Why not to  move this function on Menu
  barLayer menu?
This will probabily simplify the layer list (less items)
   
*
Another observation.
When a user wants to cut and past items, he has to use the
 Layer
  View menu to copy and the Layer List menu to paste. It would be
  better if both Copy and Paste items will be on the same menu, in
  this case the Layer View
   
   
Regards
   
Peppe
   
   
   
   
   
 


 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 

Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-15 Thread Rahkonen Jukka
Hi,

I was drawing polylines, and the Java version number was hidden in the title :)

-Jukka-


-Alkuperäinen viesti-
Lähettäjä: Sunburned Surveyor [mailto:sunburned.surve...@gmail.com]
Lähetetty: ma 15.12.2008 20:30
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11
 
Jukka,

Based on the stack trace you posted, this error is coming from the use
of a CursorTool. In particular, this cursor tool uses multiple clicks
on the Layer View to perform its work. The tool that allows a user to
draw a polygon is an example.

I'm guessing the source of the problem may have to do with some
modifications to the java.util.Array class.

You mentioned a Java update, but not the version of Java. Are you
running Java 1.5 or Java 1.6? What is your operating system? What
version of OpenJUMP, and can you provide any more details on the
update (like a date or version number)?

Thanks,

The Sunburned Surveyor

On Mon, Dec 15, 2008 at 9:53 AM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:
 Hi,

 Hi installed Java update and after that I have been getting every now and 
 then IndexOutOfBoundsExceptions.  I wonder if it is just an accident.  I do 
 not remember I have seen such errors before, even the work I was doing was 
 just the same as always. Errors do not harm working, and the message is like 
 this:

 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.getShape(MultiClickTool.java:206)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:353)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:405)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:378)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.mouseReleased(MultiClickTool.java:133)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool.mouseReleased(QuasimodeTool.java:199)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

 -Jukka Rahkonen-

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel 

Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Giuseppe Aruta
No SS, don't worry I can wait!! :-)


--- Lun 15/12/08, Sunburned Surveyor sunburned.surve...@gmail.com ha scritto:

 Da: Sunburned Surveyor sunburned.surve...@gmail.com
 Oggetto: Re: [JPP-Devel] about some items on Layer list menu
 A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
 Data: Lunedì 15 dicembre 2008, 17:34
 I should have known that. :]
 
 I will try to file the items in the previous thread to
 either the bug
 tracker or the feature tracker on my lunch break today,
 unless Peppe
 wants to beat me to it.
 
 SS
 
 On Mon, Dec 15, 2008 at 8:27 AM, Larry Becker
 becker.la...@gmail.com wrote:
  Hi SS,
 
There is separate tracker for feature requests:
 
 
 http://sourceforge.net/tracker/?group_id=118054atid=679909
 
  regards,
  Larry
 
  On Mon, Dec 15, 2008 at 10:23 AM, Sunburned Surveyor
  sunburned.surve...@gmail.com wrote:
 
  Larry and Stefan,
 
  Thanks for clarifying the copy/paste issue.
 
  Peppe and Jukka,
 
  This type of feedback is really invaluable. Thanks
 for taking the time
  to provide it.
 
  All,
 
  I could enter the items mentioned above into our
 bug tracker. Does
  anyone know how to separate true bugs
 from suggested improvements
  like changes to the user interface/user
 interaction. I would think it
  might be helpful to distinguish the two categories
 of items in the
  tracker.
 
  SS
 
  On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
  jukka.rahko...@mmmtike.fi wrote:
   Hi,
  
   1) Image Layer Manager: not sure where it
 comes from - we may change
   the
   behaviour as you proposed, i.e. disable
 the option)
  
   I remember that it came with the JUMP image
 support from Vivid solutions
   but I may be wrong.  I have never quite
 understood what value it is supposed
   to give for the user.
  
  
   2) refresh layers: I have not used it
 either. I think it was useful a
   while ago? However, we need to check its
 function (what probably
   requires a database - which I don't
 have)
  
   It is essential for DB layers. Usually DB
 layer features are cached by
   OJ and updates in the database do not show
 before refreshing them. If the
   function does not do anything with other data
 sources perhaps it could be
   renamed to refresh DB layer then?
  
   I have a couple of remarks:
  
   - Image layers cannot be saved into project
 file. Perhaps it would not
   be very difficult to make them saveable?
   - DB layer can be saved into project files.
 Therefore the database query
   for the layers is saved. However, the used
 cannot see the actual SQL while
   using OJ.  It would be useful sometimes to
 see the SQL in the properties or
   even to be able to edit it without a need to
 make a new layer.  Editing SQL
   should naturally be followed by automatic
 refresh if original features were
   in disk cache.
   - I use usually scale bar as a hint while
 digitizing.  It does not get
   saved into project file but scale bar must be
 added by hand every time.
  
   -Jukka Rahkonen-
  
1) Image Layer Manager (Test) - It
 works only if I click on a
   single raster layer. It doesn't
 work if I click on 2 or more raster
   layers.
 It has an Add
 option which doesn't work (at least with my test
   JPG). The Delete option,
 of coarse works and.. the image
   disapears
   on the Layer view. It is not possible
 to let it come back (Add
   doesn't work!) until I close and
 open again the raster.
 Option Close, of
 coarse, close the window.
 Below the window, In the show
 metadata section, the coordinates
   of upper left and lower right point
 are displayed.
 Since only this last function
 seems to be useful, I ask if we
   can
   remove this function and substitute
 it with a general Show raster
   metadata one which save the
 last function

 2) Refresh-layers
 I still haven't seen
 working this function. It is never
   available
   on any projects I did with OpenJUMP.
 Its tooltip shows that Layer
   must have a data souce. Is this
 function connected to PostGIS and
   Oracle datasource? If yes, Why not to
  move this function on Menu
   barLayer menu?
 This will probabily simplify
 the layer list (less items)

 *
 Another observation.
 When a user wants to cut and
 past items, he has to use the Layer
   View menu to copy and the Layer List
 menu to paste. It would be
   better if both Copy and Paste items
 will be on the same menu, in
   this case the Layer View


 Regards

 Peppe





  
  
 --
 SF.Net email is Sponsored by
 MIX09, March 18-20, 2009 in Las
   Vegas, Nevada.
 The future of the web can't
 happen without you.  Join us at
   MIX09
   to help
 pave the way to the Next 

Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-15 Thread Sunburned Surveyor
Sorry Jukka...I missed the version in the subject line of the e-mail.
Let me do some poking around this week and I will get back to you. If
you don't hear from me by Friday, send me a reminder. :]

SS

On Mon, Dec 15, 2008 at 10:46 AM, Rahkonen Jukka
jukka.rahko...@mmmtike.fi wrote:
 Hi,

 I was drawing polylines, and the Java version number was hidden in the title 
 :)

 -Jukka-


 -Alkuperäinen viesti-
 Lähettäjä: Sunburned Surveyor [mailto:sunburned.surve...@gmail.com]
 Lähetetty: ma 15.12.2008 20:30
 Vastaanottaja: OpenJump develop and use
 Aihe: Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

 Jukka,

 Based on the stack trace you posted, this error is coming from the use
 of a CursorTool. In particular, this cursor tool uses multiple clicks
 on the Layer View to perform its work. The tool that allows a user to
 draw a polygon is an example.

 I'm guessing the source of the problem may have to do with some
 modifications to the java.util.Array class.

 You mentioned a Java update, but not the version of Java. Are you
 running Java 1.5 or Java 1.6? What is your operating system? What
 version of OpenJUMP, and can you provide any more details on the
 update (like a date or version number)?

 Thanks,

 The Sunburned Surveyor

 On Mon, Dec 15, 2008 at 9:53 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 Hi installed Java update and after that I have been getting every now and 
 then IndexOutOfBoundsExceptions.  I wonder if it is just an accident.  I do 
 not remember I have seen such errors before, even the work I was doing was 
 just the same as always. Errors do not harm working, and the message is like 
 this:

 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.getShape(MultiClickTool.java:206)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:353)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:405)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:378)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.mouseReleased(MultiClickTool.java:133)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool.mouseReleased(QuasimodeTool.java:199)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

 -Jukka Rahkonen-

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --
 SF.Net email is Sponsored by MIX09, March 

Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Sunburned Surveyor
I agree that the image layer manager should be removed if it isn't
serving a useful purpose. Perhaps past or current employees of Vivid
Solutions could comment on the planned purpose of the Image Layer
Manager?

SS

On Mon, Dec 15, 2008 at 11:21 AM, Giuseppe Aruta
giuseppe_ar...@yahoo.it wrote:
 No SS, don't worry I can wait!! :-)


 --- Lun 15/12/08, Sunburned Surveyor sunburned.surve...@gmail.com ha 
 scritto:

 Da: Sunburned Surveyor sunburned.surve...@gmail.com
 Oggetto: Re: [JPP-Devel] about some items on Layer list menu
 A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
 Data: Lunedì 15 dicembre 2008, 17:34
 I should have known that. :]

 I will try to file the items in the previous thread to
 either the bug
 tracker or the feature tracker on my lunch break today,
 unless Peppe
 wants to beat me to it.

 SS

 On Mon, Dec 15, 2008 at 8:27 AM, Larry Becker
 becker.la...@gmail.com wrote:
  Hi SS,
 
There is separate tracker for feature requests:
 
 
 http://sourceforge.net/tracker/?group_id=118054atid=679909
 
  regards,
  Larry
 
  On Mon, Dec 15, 2008 at 10:23 AM, Sunburned Surveyor
  sunburned.surve...@gmail.com wrote:
 
  Larry and Stefan,
 
  Thanks for clarifying the copy/paste issue.
 
  Peppe and Jukka,
 
  This type of feedback is really invaluable. Thanks
 for taking the time
  to provide it.
 
  All,
 
  I could enter the items mentioned above into our
 bug tracker. Does
  anyone know how to separate true bugs
 from suggested improvements
  like changes to the user interface/user
 interaction. I would think it
  might be helpful to distinguish the two categories
 of items in the
  tracker.
 
  SS
 
  On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
  jukka.rahko...@mmmtike.fi wrote:
   Hi,
  
   1) Image Layer Manager: not sure where it
 comes from - we may change
   the
   behaviour as you proposed, i.e. disable
 the option)
  
   I remember that it came with the JUMP image
 support from Vivid solutions
   but I may be wrong.  I have never quite
 understood what value it is supposed
   to give for the user.
  
  
   2) refresh layers: I have not used it
 either. I think it was useful a
   while ago? However, we need to check its
 function (what probably
   requires a database - which I don't
 have)
  
   It is essential for DB layers. Usually DB
 layer features are cached by
   OJ and updates in the database do not show
 before refreshing them. If the
   function does not do anything with other data
 sources perhaps it could be
   renamed to refresh DB layer then?
  
   I have a couple of remarks:
  
   - Image layers cannot be saved into project
 file. Perhaps it would not
   be very difficult to make them saveable?
   - DB layer can be saved into project files.
 Therefore the database query
   for the layers is saved. However, the used
 cannot see the actual SQL while
   using OJ.  It would be useful sometimes to
 see the SQL in the properties or
   even to be able to edit it without a need to
 make a new layer.  Editing SQL
   should naturally be followed by automatic
 refresh if original features were
   in disk cache.
   - I use usually scale bar as a hint while
 digitizing.  It does not get
   saved into project file but scale bar must be
 added by hand every time.
  
   -Jukka Rahkonen-
  
1) Image Layer Manager (Test) - It
 works only if I click on a
   single raster layer. It doesn't
 work if I click on 2 or more raster
   layers.
 It has an Add
 option which doesn't work (at least with my test
   JPG). The Delete option,
 of coarse works and.. the image
   disapears
   on the Layer view. It is not possible
 to let it come back (Add
   doesn't work!) until I close and
 open again the raster.
 Option Close, of
 coarse, close the window.
 Below the window, In the show
 metadata section, the coordinates
   of upper left and lower right point
 are displayed.
 Since only this last function
 seems to be useful, I ask if we
   can
   remove this function and substitute
 it with a general Show raster
   metadata one which save the
 last function

 2) Refresh-layers
 I still haven't seen
 working this function. It is never
   available
   on any projects I did with OpenJUMP.
 Its tooltip shows that Layer
   must have a data souce. Is this
 function connected to PostGIS and
   Oracle datasource? If yes, Why not to
  move this function on Menu
   barLayer menu?
 This will probabily simplify
 the layer list (less items)

 *
 Another observation.
 When a user wants to cut and
 past items, he has to use the Layer
   View menu to copy and the Layer List
 menu to paste. It would be
   better if both Copy and Paste items
 will be on the same menu, in
   this case the Layer View


 Regards

 Peppe





  
  
 

Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Martin Davis
I don't think we built this at Vivid (although I could be wrong...  ).  
Was it added directly to OpenJUMP?

Sunburned Surveyor wrote:
 I agree that the image layer manager should be removed if it isn't
 serving a useful purpose. Perhaps past or current employees of Vivid
 Solutions could comment on the planned purpose of the Image Layer
 Manager?

 SS

 On Mon, Dec 15, 2008 at 11:21 AM, Giuseppe Aruta
 giuseppe_ar...@yahoo.it wrote:
   
 No SS, don't worry I can wait!! :-)


 --- Lun 15/12/08, Sunburned Surveyor sunburned.surve...@gmail.com ha 
 scritto:

 
 Da: Sunburned Surveyor sunburned.surve...@gmail.com
 Oggetto: Re: [JPP-Devel] about some items on Layer list menu
 A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
 Data: Lunedì 15 dicembre 2008, 17:34
 I should have known that. :]

 I will try to file the items in the previous thread to
 either the bug
 tracker or the feature tracker on my lunch break today,
 unless Peppe
 wants to beat me to it.

 SS

 On Mon, Dec 15, 2008 at 8:27 AM, Larry Becker
 becker.la...@gmail.com wrote:
   
 Hi SS,

   There is separate tracker for feature requests:


 
 http://sourceforge.net/tracker/?group_id=118054atid=679909
   
 regards,
 Larry

 On Mon, Dec 15, 2008 at 10:23 AM, Sunburned Surveyor
 sunburned.surve...@gmail.com wrote:
 
 Larry and Stefan,

 Thanks for clarifying the copy/paste issue.

 Peppe and Jukka,

 This type of feedback is really invaluable. Thanks
   
 for taking the time
   
 to provide it.

 All,

 I could enter the items mentioned above into our
   
 bug tracker. Does
   
 anyone know how to separate true bugs
   
 from suggested improvements
   
 like changes to the user interface/user
   
 interaction. I would think it
   
 might be helpful to distinguish the two categories
   
 of items in the
   
 tracker.

 SS

 On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
   
 Hi,

 
 1) Image Layer Manager: not sure where it
   
 comes from - we may change
   
 the
 behaviour as you proposed, i.e. disable
   
 the option)
   
 I remember that it came with the JUMP image
 
 support from Vivid solutions
   
 but I may be wrong.  I have never quite
 
 understood what value it is supposed
   
 to give for the user.


 
 2) refresh layers: I have not used it
   
 either. I think it was useful a
   
 while ago? However, we need to check its
   
 function (what probably
   
 requires a database - which I don't
   
 have)
   
 It is essential for DB layers. Usually DB
 
 layer features are cached by
   
 OJ and updates in the database do not show
 
 before refreshing them. If the
   
 function does not do anything with other data
 
 sources perhaps it could be
   
 renamed to refresh DB layer then?

 I have a couple of remarks:

 - Image layers cannot be saved into project
 
 file. Perhaps it would not
   
 be very difficult to make them saveable?
 - DB layer can be saved into project files.
 
 Therefore the database query
   
 for the layers is saved. However, the used
 
 cannot see the actual SQL while
   
 using OJ.  It would be useful sometimes to
 
 see the SQL in the properties or
   
 even to be able to edit it without a need to
 
 make a new layer.  Editing SQL
   
 should naturally be followed by automatic
 
 refresh if original features were
   
 in disk cache.
 - I use usually scale bar as a hint while
 
 digitizing.  It does not get
   
 saved into project file but scale bar must be
 
 added by hand every time.
   
 -Jukka Rahkonen-

  1) Image Layer Manager (Test) - It
 
 works only if I click on a
   
 single raster layer. It doesn't
   
 work if I click on 2 or more raster
   
 layers.
   It has an Add
   
 option which doesn't work (at least with my test
   
 JPG). The Delete option,
   
 of coarse works and.. the image
   
 disapears
 on the Layer view. It is not possible
   
 to let it come back (Add
   
 doesn't work!) until I close and
   
 open again the raster.
   
   Option Close, of
   
 coarse, close the window.
   
   Below the window, In the show
   
 metadata section, the coordinates
   
 of upper left and lower right point
   
 are displayed.
   
   Since only this last function
   
 seems to be useful, I ask if we
   
 can
 remove this function and substitute
   
 it with a general Show raster
   
 metadata one which save the
   
 last 

Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-15 Thread Sunburned Surveyor
OK. I took a look at the source code for Jukka's bug. I'm not
immediately seeing any problems. The MultiClick cursor tool stores its
coordinates in an ArrayList, which are then accessed in the getShape
method of the class. This is the method throwing the
IndexOutOfBoundsException.

Jukka said in his original message: Errors do not harm working, and
the message is like this... I also noted that the Index and Size
parameters of the Exception were both zero. That makes me think that
maybe the getShape method is being called before the user has added
any clicks.

However, this sounds like a JUMP bug, not a problem caused by a Java
update. So maybe the update is coincedental?

At any rate, I'm sort of scratching my head at this point, and hoping
some of our other programmers might have suggestions on what to do
next. I'll download the nightly build and see if I can duplicate
Jukka's exception.

Jukka,

What version of OJ is producing the error?

SS

On Mon, Dec 15, 2008 at 11:41 AM, Sunburned Surveyor
sunburned.surve...@gmail.com wrote:
 Sorry Jukka...I missed the version in the subject line of the e-mail.
 Let me do some poking around this week and I will get back to you. If
 you don't hear from me by Friday, send me a reminder. :]

 SS

 On Mon, Dec 15, 2008 at 10:46 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 I was drawing polylines, and the Java version number was hidden in the title 
 :)

 -Jukka-


 -Alkuperäinen viesti-
 Lähettäjä: Sunburned Surveyor [mailto:sunburned.surve...@gmail.com]
 Lähetetty: ma 15.12.2008 20:30
 Vastaanottaja: OpenJump develop and use
 Aihe: Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

 Jukka,

 Based on the stack trace you posted, this error is coming from the use
 of a CursorTool. In particular, this cursor tool uses multiple clicks
 on the Layer View to perform its work. The tool that allows a user to
 draw a polygon is an example.

 I'm guessing the source of the problem may have to do with some
 modifications to the java.util.Array class.

 You mentioned a Java update, but not the version of Java. Are you
 running Java 1.5 or Java 1.6? What is your operating system? What
 version of OpenJUMP, and can you provide any more details on the
 update (like a date or version number)?

 Thanks,

 The Sunburned Surveyor

 On Mon, Dec 15, 2008 at 9:53 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 Hi installed Java update and after that I have been getting every now and 
 then IndexOutOfBoundsExceptions.  I wonder if it is just an accident.  I do 
 not remember I have seen such errors before, even the work I was doing was 
 just the same as always. Errors do not harm working, and the message is 
 like this:

 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.getShape(MultiClickTool.java:206)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:353)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:405)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:378)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.mouseReleased(MultiClickTool.java:133)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.QuasimodeTool.mouseReleased(QuasimodeTool.java:199)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown 
 

Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

2008-12-15 Thread Sunburned Surveyor
I wanted to paste the code from the MultiClick tool's getShape method
in case others catch something that I am missing:

protected Shape getShape() throws NoninvertibleTransformException
{
Point2D firstPoint =
getPanel().getViewport().toViewPoint((Coordinate)coordinates.get(0));
GeneralPath path = new GeneralPath();
path.moveTo((float) firstPoint.getX(), (float) firstPoint.getY());

for (int i = 1; i  coordinates.size(); i++) { //start 1 [Jon Aquino]

Coordinate nextCoordinate = (Coordinate) coordinates.get(i);
Point2D nextPoint =
getPanel().getViewport().toViewPoint(nextCoordinate);
path.lineTo((int) nextPoint.getX(), (int) nextPoint.getY());
}
Point2D tentativePoint =
getPanel().getViewport().toViewPoint(tentativeCoordinate);
path.lineTo((int) tentativePoint.getX(), (int) tentativePoint.getY());
// close path (for rings only)
if (closeRing)
  path.lineTo((int) firstPoint.getX(), (int) firstPoint.getY());

return path;
}

SS

On Mon, Dec 15, 2008 at 4:38 PM, Sunburned Surveyor
sunburned.surve...@gmail.com wrote:
 OK. I took a look at the source code for Jukka's bug. I'm not
 immediately seeing any problems. The MultiClick cursor tool stores its
 coordinates in an ArrayList, which are then accessed in the getShape
 method of the class. This is the method throwing the
 IndexOutOfBoundsException.

 Jukka said in his original message: Errors do not harm working, and
 the message is like this... I also noted that the Index and Size
 parameters of the Exception were both zero. That makes me think that
 maybe the getShape method is being called before the user has added
 any clicks.

 However, this sounds like a JUMP bug, not a problem caused by a Java
 update. So maybe the update is coincedental?

 At any rate, I'm sort of scratching my head at this point, and hoping
 some of our other programmers might have suggestions on what to do
 next. I'll download the nightly build and see if I can duplicate
 Jukka's exception.

 Jukka,

 What version of OJ is producing the error?

 SS

 On Mon, Dec 15, 2008 at 11:41 AM, Sunburned Surveyor
 sunburned.surve...@gmail.com wrote:
 Sorry Jukka...I missed the version in the subject line of the e-mail.
 Let me do some poking around this week and I will get back to you. If
 you don't hear from me by Friday, send me a reminder. :]

 SS

 On Mon, Dec 15, 2008 at 10:46 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 I was drawing polylines, and the Java version number was hidden in the 
 title :)

 -Jukka-


 -Alkuperäinen viesti-
 Lähettäjä: Sunburned Surveyor [mailto:sunburned.surve...@gmail.com]
 Lähetetty: ma 15.12.2008 20:30
 Vastaanottaja: OpenJump develop and use
 Aihe: Re: [JPP-Devel] IndexOutOfBoundsExceptions with Java 1.6.0_11

 Jukka,

 Based on the stack trace you posted, this error is coming from the use
 of a CursorTool. In particular, this cursor tool uses multiple clicks
 on the Layer View to perform its work. The tool that allows a user to
 draw a polygon is an example.

 I'm guessing the source of the problem may have to do with some
 modifications to the java.util.Array class.

 You mentioned a Java update, but not the version of Java. Are you
 running Java 1.5 or Java 1.6? What is your operating system? What
 version of OpenJUMP, and can you provide any more details on the
 update (like a date or version number)?

 Thanks,

 The Sunburned Surveyor

 On Mon, Dec 15, 2008 at 9:53 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:
 Hi,

 Hi installed Java update and after that I have been getting every now and 
 then IndexOutOfBoundsExceptions.  I wonder if it is just an accident.  I 
 do not remember I have seen such errors before, even the work I was doing 
 was just the same as always. Errors do not harm working, and the message 
 is like this:

 java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.getShape(MultiClickTool.java:206)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.drawShapeXOR(AbstractCursorTool.java:353)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:405)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.AbstractCursorTool.redrawShape(AbstractCursorTool.java:378)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.MultiClickTool.mouseReleased(MultiClickTool.java:133)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.DelegatingTool.mouseReleased(DelegatingTool.java:116)
at 
 com.vividsolutions.jump.workbench.ui.cursortool.LeftClickFilter.mouseReleased(LeftClickFilter.java:93)
at 
 

Re: [JPP-Devel] about some items on Layer list menu

2008-12-15 Thread Sunburned Surveyor
I think it may have been built at Vivid after you left Martin. I
believe it was added when Vivid added their own support for image
layers?

SS

On Mon, Dec 15, 2008 at 4:40 PM, Martin Davis mbda...@refractions.net wrote:
 I don't think we built this at Vivid (although I could be wrong...  ).
 Was it added directly to OpenJUMP?

 Sunburned Surveyor wrote:
 I agree that the image layer manager should be removed if it isn't
 serving a useful purpose. Perhaps past or current employees of Vivid
 Solutions could comment on the planned purpose of the Image Layer
 Manager?

 SS

 On Mon, Dec 15, 2008 at 11:21 AM, Giuseppe Aruta
 giuseppe_ar...@yahoo.it wrote:

 No SS, don't worry I can wait!! :-)


 --- Lun 15/12/08, Sunburned Surveyor sunburned.surve...@gmail.com ha 
 scritto:


 Da: Sunburned Surveyor sunburned.surve...@gmail.com
 Oggetto: Re: [JPP-Devel] about some items on Layer list menu
 A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
 Data: Lunedì 15 dicembre 2008, 17:34
 I should have known that. :]

 I will try to file the items in the previous thread to
 either the bug
 tracker or the feature tracker on my lunch break today,
 unless Peppe
 wants to beat me to it.

 SS

 On Mon, Dec 15, 2008 at 8:27 AM, Larry Becker
 becker.la...@gmail.com wrote:

 Hi SS,

   There is separate tracker for feature requests:



 http://sourceforge.net/tracker/?group_id=118054atid=679909

 regards,
 Larry

 On Mon, Dec 15, 2008 at 10:23 AM, Sunburned Surveyor
 sunburned.surve...@gmail.com wrote:

 Larry and Stefan,

 Thanks for clarifying the copy/paste issue.

 Peppe and Jukka,

 This type of feedback is really invaluable. Thanks

 for taking the time

 to provide it.

 All,

 I could enter the items mentioned above into our

 bug tracker. Does

 anyone know how to separate true bugs

 from suggested improvements

 like changes to the user interface/user

 interaction. I would think it

 might be helpful to distinguish the two categories

 of items in the

 tracker.

 SS

 On Sun, Dec 14, 2008 at 12:47 AM, Rahkonen Jukka
 jukka.rahko...@mmmtike.fi wrote:

 Hi,


 1) Image Layer Manager: not sure where it

 comes from - we may change

 the
 behaviour as you proposed, i.e. disable

 the option)

 I remember that it came with the JUMP image

 support from Vivid solutions

 but I may be wrong.  I have never quite

 understood what value it is supposed

 to give for the user.



 2) refresh layers: I have not used it

 either. I think it was useful a

 while ago? However, we need to check its

 function (what probably

 requires a database - which I don't

 have)

 It is essential for DB layers. Usually DB

 layer features are cached by

 OJ and updates in the database do not show

 before refreshing them. If the

 function does not do anything with other data

 sources perhaps it could be

 renamed to refresh DB layer then?

 I have a couple of remarks:

 - Image layers cannot be saved into project

 file. Perhaps it would not

 be very difficult to make them saveable?
 - DB layer can be saved into project files.

 Therefore the database query

 for the layers is saved. However, the used

 cannot see the actual SQL while

 using OJ.  It would be useful sometimes to

 see the SQL in the properties or

 even to be able to edit it without a need to

 make a new layer.  Editing SQL

 should naturally be followed by automatic

 refresh if original features were

 in disk cache.
 - I use usually scale bar as a hint while

 digitizing.  It does not get

 saved into project file but scale bar must be

 added by hand every time.

 -Jukka Rahkonen-

  1) Image Layer Manager (Test) - It

 works only if I click on a

 single raster layer. It doesn't

 work if I click on 2 or more raster

 layers.
   It has an Add

 option which doesn't work (at least with my test

 JPG). The Delete option,

 of coarse works and.. the image

 disapears
 on the Layer view. It is not possible

 to let it come back (Add

 doesn't work!) until I close and

 open again the raster.

   Option Close, of

 coarse, close the window.

   Below the window, In the show

 metadata section, the coordinates

 of upper left and lower right point

 are displayed.

   Since only this last function

 seems to be useful, I ask if we

 can
 remove this function and substitute

 it with a general Show raster

 metadata one which save the

 last function

  
   2) Refresh-layers
   I still haven't seen

 working this function. It is never

 available
 on any projects I did with OpenJUMP.

 Its tooltip shows that Layer

 must have a data souce. Is this

 function connected to PostGIS and

 Oracle datasource? If yes, Why not to

  move this function on Menu

 barLayer menu?
   This will probabily simplify

 the layer list (less items)

  
   *
   Another observation.
   When a user wants to cut and

 past items, he has to use the Layer


Re: [JPP-Devel] OpenJUMP poster / flyer

2008-12-15 Thread Stefan Steiniger
ok.. found a mistake in as it JAVA based

Stefan Steiniger schrieb:
 Hei,
 
 thank you Edgar/Peppe/Sunburned for the comments!
 
 I tried to change it accordingly, however my notes:
 
 1. the same orange for kangaroo and the bars does not work really (the 
 kangaroo gets lost), and it should be a darker color to have white 
 letters in the bottom bar
 = if the actual brown is good - I don't know, any other ideas?
 2. I used Adobe Illustrator (but Inkscape may do the same?) - as I am 
 faster with that.
 3. I removed the Jython part (I think we should integrate it in 1.2/1.3)
 4. not sure how to fit in cross-platform although it sounds nice
 
 the new version is attached. I can also put the source (*.ai) file on 
 the sourceforge server if somebody likes to use it (I can also convert 
 it to svg - I believe).
 
 stefan
 
 Sunburned Surveyor schrieb:
 Stefan,

 Very nice work. Here a couple of modest suggestions:

 - Would it look better to use a regular bullet or a dash on the list
 of items, especially if we will be putting a period at the end of each
 item as suggested above?
 - Can we say The JUMP Pilot Project would like to thank or The JUMP
 Pilot Project thanks instead of The JUMP PILOT Project likes to
 thank all?
 - There is a right parantheses next to the asterisk in the footnote. I
 don't know if this is intended.

 What program did you use to put this doc together? It looks very 
 professional.

 SS

 On Mon, Dec 15, 2008 at 6:24 AM, Giuseppe Aruta 
 giuseppe_ar...@yahoo.it wrote:
 Hi Stefn,
 it sounds good!
 Just a couple of thoughs/ideas:
 * The top/botton colour: I use  a light orange colour for my 
 tutorials. Just to enforce the color of the kangaroo (see sample 
 attached)
 * I am not sude but I think that Paolo's Oracle plugin can save too (?)
 * Jython plugin, right now, works only with OpemnJUMP 1.1 and nor 
 with OpenJUMP 1.2

 Regards

 Peppe




 --- Lun 15/12/08, Stefan Steiniger sst...@geo.uzh.ch ha scritto:

 Da: Stefan Steiniger sst...@geo.uzh.ch
 Oggetto: Re: [JPP-Devel] OpenJUMP poster / flyer
 A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net
 Data: Lunedì 15 dicembre 2008, 01:04
 update:
 I added a line under data formats:
 . supports: OGC WMS  WFS

 stefan

 Stefan Steiniger schrieb:
 Hei guys,

 I though I spent this weekend a bit sensefull and
 created a kind of
 flyer. Not sure how the images come in print (I
 couldn't print yet), and
 I would also like to change the top and bottom grey
 bars to
 blue-ish/green-ish.. but I couldn't find a way in
 Illustrator yet to
 make a coloured gradient [if somebody knows...]

 Any comments? Are the fonts of good size?
 Should we put the flyer on the webpage?

 stefan


 
 
 
 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 
 
 
 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel