Re: [JPP-Devel] Selectionstyle Patch

2010-08-11 Thread Matthias Scholz
Hi Larry,

i know the difference of handle outline drawing. This seems to be a
problem in the VertexStyle classes. You get the same mistake if you
switch on the vertices in the layer styling dialog. I can try to find
the problem in the VertexStyle classes.
What do you mean with the button in the options dialog? Should the
button reset/delete the blackboard values for selection styling to the
old defaults?

Regards

Matthias
 Hi Matthias,

   Thanks for your patience.  You are almost there.  After I deleted my
 workbench-state.xml file, your latest code very nearly duplicated the
 old selection method's look and feel.  See the attached jpegs for the
 difference, which seems to be in the details of handle outline drawing. 

   I did benchmarks which verified that selection of 35 points
 completes in approximately the same amount of time and memory as before.

   It would be nice if you could add a button to the option dialog to
 restore the legacy settings so that users who try other settings and
 want to go back, can do so easily.

 regards,

 Larry

 On Tue, Aug 10, 2010 at 2:27 PM, Matthias Scholz m...@jammerhund.de
 mailto:m...@jammerhund.de wrote:

 Hi Larry,

 the patch use the old default setting for selectionrendering. If
 you nothing change in the optionspanel, you get the old behavior.
 The point selection problem is fixed. The problem was the alpha
 channel setting of the VertexStyle.


 Regards

 Matthias

 Hi Matthias,

  The code does indeed look much more efficient, however it
 still doesn't default to the old selection behavior, so I'm
 not sure how users outside your organization are going to
 react to the change. I don't like it as well as the current
 method which outlines the handles.   Also there seems to be a
 problem with point selection feedback.  Selected points just
 seem to disappear for me.

 regards,
 Larry

 On Fri, Jul 30, 2010 at 11:34 AM, Matthias Scholz
 m...@jammerhund.de mailto:m...@jammerhund.de
 mailto:m...@jammerhund.de mailto:m...@jammerhund.de wrote:

Hi,

please can Larry  or any other check my modifications
 again? Now
I've solved the problem that the previous saved settings are
restored from blackboard. The modifications in the
AbstractSelectionRenderer should now smart enough, so that
 we have
no performance problems and can set the properties with setter
methods.

It would be nice and important for my users if we can integrate
the patch in the upcoming release.

Regards

Matthias

Hi Larry,

please see the attached file. There is one problem at the
moment. After loading a file or project the
AbstractSelectionRenderer use the default settings. So you
must go to the options an click OK in the
SelectionStyllingOptionsPanel. This is because during
construction of the SelectionStyllingOptionsPanel instance
there is no LayerViewPanel instance an so on no
RenderingManager available. Is there a Listener which
 is fired
if the RenderingManager is available or if a layer was
 added
or a file was loaded???

Regards

Matthias

Hi Matthias,

 I'm pretty sure that the right place to add
setSelectionLineColor, setSelectionPointSize and
setSelectionPointForm is AbstractSelectionRenderer
 since
that is where the associated variables are
 declared.  You
will have to remove /final /from HANDLE_WIDTH.  The
 real
trick is getting the reference to
 FeatureSelectionRenderer
to use the sets.  I think this can be done with
RenderManager  by passing
FeatureSelectionRenderer.CONTENT_ID.to
 http://FeatureSelectionRenderer.CONTENT_ID.to
http://FeatureSelectionRenderer.CONTENT_ID.to

RenderManager.getRenderer().

regards,
Larry

On Sun, Jul 11, 2010 at 7:58 AM, Matthias Scholz
m...@jammerhund.de mailto:m...@jammerhund.de
 mailto:m...@jammerhund.de mailto:m...@jammerhund.de
mailto:m...@jammerhund.de mailto:m...@jammerhund.de
 mailto:m...@jammerhund.de mailto:m...@jammerhund.de wrote:

   Hi Larry,

   can we do the following?

   - add some setSelectionLineColor,
 setSelectionPointSize and
   setSelectionPointForm to
   

[JPP-Devel] Improving OpenJUMP styling

2010-08-11 Thread Rahkonen Jukka
Hi,

I was thinking that now when Matthias and Larry have been working with
selection styles it might be good to collect a list about things in
OpenJUMP styling which do not work or work in somehow irritating way.

I can start with couple of issues:

- Colour theming option creates all the new classes with the default
styles. Each theme will then have both the fill and line rendering
selected, colours are synchronised, and line width is 1. However, I
would rather see the classifier to take the defaults from the Rendering
tab so I could set for example the line width somehow bigger for all the
classes. Usually it would mean less manual fine tunign this way.
- It seems to be impossible to show vertises on classified layers. There
is no user interface for that in the Colour Theming-Custom and
defaults are not taken from the main Rendering tab.
- The above issue, I think, makes it impossible to use colour theme on
point layers. Or it is possible, OpenJUMP is doing the classification,
but all the points are still rendered with the same colour.
- Custom dialogue for a classified layer shows also Transparency
slider. However, it is affecting all the classes and not only the
selected one. It might be better to remove the slider from the Custom
dialogue.  There is another slider on the main Colour Theming tab and
also the transparency slider on the main Rendering tab can be used.
- There is a little issue with the polygon styling. If I create a new
layer with OpenJUMP and draw a polygon, and next select to show vertices
option from the Rendering tab, as a result ONLY the vertices are shown
but the outline and fill disapper. It took me a long time to discover
that this happens only if a layer does not have any attribute fields in
its schema. It is enought to insert one attribute field into the schema
to correct the rendering. Attribute field can be empty for all the
features, it does not matter.

To start a wishlist for the future, QGis New symbology option gives a
possibity to build easily multi-layer or multi-stroke symbols. Something
like that would by nice to have in OpenJUMP also. For example a road
with red fill, black borders and black dottet centre line could be
constructed by piling up a wide black line, a narrover red line and a
most narror black dottet line on top. For point layers even such a
simple style than big coloured circle and a small insert with another
colour can make the map much more easier to read.

GGis User manual
http://download.osgeo.org/qgis/doc/manual/qgis-1.4.0_user_guide_en.pdfha
s something about New Symbology option in chapter
5.4.3. Working with the New Generation Symbology  
On manual page 54, Figure 16, (a) Line composed from three simple lines
may give an idea about multi-layer symbols.

-Jukka Rahkonen-


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] GPS plugin in the OpenJUMP wiki

2010-08-11 Thread Jukka Rahkonen
Hi,

I did some testing with the yesterdays rc4 version. See
https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=GPS_plugin

-Jukka Rahkonen-





--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Zoom/Pan in editmode

2010-08-11 Thread Matthias Scholz
Hi,

it would be nice if we have the possibility to zoom/pan the map in
editmode, especially until creating new geometries. I've made a little
look in the DrawLineStringTool and the PanTool, but at the moment I do
not realy understand the code.
Can anybody do this or tell me how we can merge both tools?

Thanks

Matthias

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Zoom/Pan in editmode

2010-08-11 Thread Rahkonen Jukka
Hi,

Try the keyboard shortcuts, Shift-Alt for panning, Alt-mouse left/right for 
zooming. Very handy until you start to use a tablet-PC with just stylus.  
Help-Shortcut keys should list the supported shortcuts.

-Jukka Rahkonen-

 -Alkuperäinen viesti-
 Lähettäjä: Matthias Scholz [mailto:m...@jammerhund.de] 
 Lähetetty: 11. elokuuta 2010 16:14
 Vastaanottaja: OpenJump develop and use
 Aihe: [JPP-Devel] Zoom/Pan in editmode
 
 Hi,
 
 it would be nice if we have the possibility to zoom/pan the map in
 editmode, especially until creating new geometries. I've made a little
 look in the DrawLineStringTool and the PanTool, but at the moment I do
 not realy understand the code.
 Can anybody do this or tell me how we can merge both tools?
 
 Thanks
 
 Matthias
 
 --
 
 This SF.net email is sponsored by 
 
 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] GPS plugin in the OpenJUMP wiki

2010-08-11 Thread edgar . soldin
I am going to read it through and modify, where I think it is necessary. Maybe 
during next week.

I like it, well done, ede

On 11.08.2010 14:56, Jukka Rahkonen wrote:
 Hi,

 I did some testing with the yesterdays rc4 version. See
 https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=GPS_plugin

 -Jukka Rahkonen-


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Improving OpenJUMP styling

2010-08-11 Thread Larry Becker
Hi Jukka,

  As usual you make excellent suggestions. See my comments below.

On Wed, Aug 11, 2010 at 4:08 AM, Rahkonen Jukka
jukka.rahko...@mmmtike.fiwrote:

 Hi,

 I was thinking that now when Matthias and Larry have been working with
 selection styles it might be good to collect a list about things in
 OpenJUMP styling which do not work or work in somehow irritating way.

 I can start with couple of issues:

 - Colour theming option creates all the new classes with the default
 styles. Each theme will then have both the fill and line rendering
 selected, colours are synchronised, and line width is 1. However, I
 would rather see the classifier to take the defaults from the Rendering
 tab so I could set for example the line width somehow bigger for all the
 classes. Usually it would mean less manual fine tunign this way.


This seem reasonable to me.  I have wished for the same thing.


 - It seems to be impossible to show vertises on classified layers. There
 is no user interface for that in the Colour Theming-Custom and
 defaults are not taken from the main Rendering tab.


This and the previous request can probably be done by updating the UI
dialog.


 - The above issue, I think, makes it impossible to use colour theme on
 point layers. Or it is possible, OpenJUMP is doing the classification,
 but all the points are still rendered with the same colour.


I need to look into this one.


 - Custom dialogue for a classified layer shows also Transparency
 slider. However, it is affecting all the classes and not only the
 selected one. It might be better to remove the slider from the Custom
 dialogue.  There is another slider on the main Colour Theming tab and
 also the transparency slider on the main Rendering tab can be used.


Actually the use of both could be possible if the one that affects all is
proportional as in Layer properties.


 - There is a little issue with the polygon styling. If I create a new
 layer with OpenJUMP and draw a polygon, and next select to show vertices
 option from the Rendering tab, as a result ONLY the vertices are shown
 but the outline and fill disapper. It took me a long time to discover
 that this happens only if a layer does not have any attribute fields in
 its schema. It is enought to insert one attribute field into the schema
 to correct the rendering. Attribute field can be empty for all the
 features, it does not matter.


Sounds like a bug.



 To start a wishlist for the future, QGis New symbology option gives a
 possibity to build easily multi-layer or multi-stroke symbols. Something
 like that would by nice to have in OpenJUMP also. For example a road
 with red fill, black borders and black dottet centre line could be
 constructed by piling up a wide black line, a narrover red line and a
 most narror black dottet line on top. For point layers even such a
 simple style than big coloured circle and a small insert with another
 colour can make the map much more easier to read.


It is possible to augment the existing style with another tab that would
allow an additional overlay.



 GGis User manual
 http://download.osgeo.org/qgis/doc/manual/qgis-1.4.0_user_guide_en.pdfha
 s something about New Symbology option in chapter
 5.4.3. Working with the New Generation Symbology
 On manual page 54, Figure 16, (a) Line composed from three simple lines
 may give an idea about multi-layer symbols.

 -Jukka Rahkonen-



 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Improving OpenJUMP styling

2010-08-11 Thread Larry Becker
The display of vertises on themed layers works for me.  Point colour theming
works too.  Transparency turns out to be implemented on a per layer basis.

I did verify the polygon layer without attribute vertex bug.

Larry

On Wed, Aug 11, 2010 at 8:47 AM, Larry Becker becker.la...@gmail.comwrote:

 Hi Jukka,

   As usual you make excellent suggestions. See my comments below.

 On Wed, Aug 11, 2010 at 4:08 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi
  wrote:

 Hi,

 I was thinking that now when Matthias and Larry have been working with
 selection styles it might be good to collect a list about things in
 OpenJUMP styling which do not work or work in somehow irritating way.

 I can start with couple of issues:

 - Colour theming option creates all the new classes with the default
 styles. Each theme will then have both the fill and line rendering
 selected, colours are synchronised, and line width is 1. However, I
 would rather see the classifier to take the defaults from the Rendering
 tab so I could set for example the line width somehow bigger for all the
 classes. Usually it would mean less manual fine tunign this way.


 This seem reasonable to me.  I have wished for the same thing.


 - It seems to be impossible to show vertises on classified layers. There
 is no user interface for that in the Colour Theming-Custom and
 defaults are not taken from the main Rendering tab.


 This and the previous request can probably be done by updating the UI
 dialog.


 - The above issue, I think, makes it impossible to use colour theme on
 point layers. Or it is possible, OpenJUMP is doing the classification,
 but all the points are still rendered with the same colour.


 I need to look into this one.


 - Custom dialogue for a classified layer shows also Transparency
 slider. However, it is affecting all the classes and not only the
 selected one. It might be better to remove the slider from the Custom
 dialogue.  There is another slider on the main Colour Theming tab and
 also the transparency slider on the main Rendering tab can be used.


 Actually the use of both could be possible if the one that affects all is
 proportional as in Layer properties.


 - There is a little issue with the polygon styling. If I create a new
 layer with OpenJUMP and draw a polygon, and next select to show vertices
 option from the Rendering tab, as a result ONLY the vertices are shown
 but the outline and fill disapper. It took me a long time to discover
 that this happens only if a layer does not have any attribute fields in
 its schema. It is enought to insert one attribute field into the schema
 to correct the rendering. Attribute field can be empty for all the
 features, it does not matter.


 Sounds like a bug.



 To start a wishlist for the future, QGis New symbology option gives a
 possibity to build easily multi-layer or multi-stroke symbols. Something
 like that would by nice to have in OpenJUMP also. For example a road
 with red fill, black borders and black dottet centre line could be
 constructed by piling up a wide black line, a narrover red line and a
 most narror black dottet line on top. For point layers even such a
 simple style than big coloured circle and a small insert with another
 colour can make the map much more easier to read.


 It is possible to augment the existing style with another tab that would
 allow an additional overlay.



 GGis User manual
 http://download.osgeo.org/qgis/doc/manual/qgis-1.4.0_user_guide_en.pdfha
 s something about New Symbology option in chapter
 5.4.3. Working with the New Generation Symbology
 On manual page 54, Figure 16, (a) Line composed from three simple lines
 may give an idea about multi-layer symbols.

 -Jukka Rahkonen-



 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] GPS plugin in the OpenJUMP wiki

2010-08-11 Thread Stefan Steiniger
nice!

edgar.sol...@web.de wrote:
 I am going to read it through and modify, where I think it is necessary. 
 Maybe during next week.
 
 I like it, well done, ede
 
 On 11.08.2010 14:56, Jukka Rahkonen wrote:
 Hi,

 I did some testing with the yesterdays rc4 version. See
 https://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=GPS_plugin

 -Jukka Rahkonen-

 
 --
 This SF.net email is sponsored by 
 
 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Improving OpenJUMP styling

2010-08-11 Thread Rahkonen Jukka
Hi,

I do not know what was wrong with vertises on themed layers. They do work for 
me now also. However, they have allways the same colour that is set for the 
layer because classes are missing vertex settings. Actually there is no setting 
for vertex colour in any place.

Point colour themings works also. I somehow thought that it would colour the 
big vertises I had set for seeing the points better. Big classified points with 
colours can be obtained by increasing the line witdth instead. Result is a bit 
ugly, though.

-Jukka-


Larry Becker wrote:
 
 The display of vertises on themed layers works for me.  Point colour theming
works too.  Transparency turns out to be implemented on a per layer basis.

 I did verify the polygon layer without attribute vertex bug.

 Larry

 On Wed, Aug 11, 2010 at 8:47 AM, Larry Becker becker.la...@gmail.comwrote:

 Hi Jukka,

   As usual you make excellent suggestions. See my comments below.

 On Wed, Aug 11, 2010 at 4:08 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi
  wrote:

 Hi,

 I was thinking that now when Matthias and Larry have been working with
 selection styles it might be good to collect a list about things in
 OpenJUMP styling which do not work or work in somehow irritating way.

 I can start with couple of issues:

 - Colour theming option creates all the new classes with the default
 styles. Each theme will then have both the fill and line rendering
 selected, colours are synchronised, and line width is 1. However, I
 would rather see the classifier to take the defaults from the Rendering
 tab so I could set for example the line width somehow bigger for all the
 classes. Usually it would mean less manual fine tunign this way.


 This seem reasonable to me.  I have wished for the same thing.


 - It seems to be impossible to show vertises on classified layers. There
 is no user interface for that in the Colour Theming-Custom and
 defaults are not taken from the main Rendering tab.


 This and the previous request can probably be done by updating the UI
 dialog.


 - The above issue, I think, makes it impossible to use colour theme on
 point layers. Or it is possible, OpenJUMP is doing the classification,
 but all the points are still rendered with the same colour.


 I need to look into this one.


 - Custom dialogue for a classified layer shows also Transparency
 slider. However, it is affecting all the classes and not only the
 selected one. It might be better to remove the slider from the Custom
 dialogue.  There is another slider on the main Colour Theming tab and
 also the transparency slider on the main Rendering tab can be used.


 Actually the use of both could be possible if the one that affects all is
 proportional as in Layer properties.


 - There is a little issue with the polygon styling. If I create a new
 layer with OpenJUMP and draw a polygon, and next select to show vertices
 option from the Rendering tab, as a result ONLY the vertices are shown
 but the outline and fill disapper. It took me a long time to discover
 that this happens only if a layer does not have any attribute fields in
 its schema. It is enought to insert one attribute field into the schema
 to correct the rendering. Attribute field can be empty for all the
 features, it does not matter.


 Sounds like a bug.



 To start a wishlist for the future, QGis New symbology option gives a
 possibity to build easily multi-layer or multi-stroke symbols. Something
 like that would by nice to have in OpenJUMP also. For example a road
 with red fill, black borders and black dottet centre line could be
 constructed by piling up a wide black line, a narrover red line and a
 most narror black dottet line on top. For point layers even such a
 simple style than big coloured circle and a small insert with another
 colour can make the map much more easier to read.


 It is possible to augment the existing style with another tab that would
 allow an additional overlay.



 GGis User manual
 http://download.osgeo.org/qgis/doc/manual/qgis-1.4.0_user_guide_en.pdfha
 s something about New Symbology option in chapter
 5.4.3. Working with the New Generation Symbology
 On manual page 54, Figure 16, (a) Line composed from three simple lines
 may give an idea about multi-layer symbols.

 -Jukka Rahkonen-



 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel





--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
Jump-pilot-devel