Re: [JPP-Devel] CAD Extension for OpenJUMP

2011-11-20 Thread Michaël Michaud

Hi,

>5) Clone could be added in the right-click context menu, along with 
cut/copy/paste.

>Move item up is OK
>Draw a Series creates weird things.

I agree to move clone plugin with cut/copy/paste.

OK, I'll try to do that next week.

I am working around to correct Create Series

>6 ) Add text layer
>If Text layer is already created, adds new feature to the layer. So 
the name is a bit misleading (Create Text Layer/Add New Text depending 
on if the layer already exists)
>Should create an "editable" layer and check layer editability before 
adding new elements

>I did not see Color attribute in the new layer
It can be converted to an "editable" layer. I will see on next 
version. Thre id no COLOR attribute on text layer. I cannot see the 
usage, right now, since OpenJUMP style plugin allows only one color 
per label/per layer. Anyhow I can add it, just for CAD process.
I noticed that Text Layer structure is closed to DXF one, so that it 
could make sense to make them equal. About color, I also thought it 
could make sense to have the same color attribute for DXF layer 
attribute and for Larry's Pick Color plugin. But I realize that this is 
not easy as syntax for colors is not the same.


>Would be nice to have default text height defined as an option

Thst was an idea. A complete new plugin with a box where to write the 
text, choose height and rotation, before adding to the view.

It is still a project. I have to learn more about it.

>7 ) Import DXF
>I could not test it with last OJ release and last dxf driver plugin. 
I must investigate


Note the difference (even with Text layer) of the layer position 
between OJ 1.4.2 stable realize and later,  due to the modification of 
the label position options.

There were another problem with dxf 0.7.3. I uploaded 0.7.4 on my website.


> New InfoTool seems useless to me as the one already present in right 
click context menu gives a more direct access to feature info.
This is the difference. If an user is drawing features (polygons) and 
need to add attribute values to them

With the traditional InfoTool on toolbar,  user has
1) click on polygon tool to draw a polygon (the cursor changes to 
drawing mode)

2) click on InfoTool, the cursor changes to the info one
3) click on the feature to change attribute values, than close the 
info window
4) Cursor tool is still on Info mode so user has to click again on 
Polygon tool to generate another one


With InfoTool moved on right click context menu,  user have
1) click on polygon tool to draw a polygon (the cursor changes to 
drawing mode)
2) click on InfoTool on the context menu, the cursor changes to the 
info one
3) click on the feature to change attribute values. The cursor changes 
to the drawing mode. So user can start again to draw
I see. In this case, maybe it could take the place of the info menu item 
on the top of the context menu. And it could be made even faster this way :

1) click on polygon tool and draw the polygon
2) right click on the polygon and in the context menu, select info item 
-> open attribute table of the feature(s) under the mouse


Michaël


Only 3 steps instead of 4



Peppe


*Da:* Giuseppe Aruta 
*A:* OpenJump develop and use 
*Inviato:* Sabato 19 Novembre 2011 17:51
*Oggetto:* Re: [JPP-Devel] CAD Extension for OpenJUMP

Hi Michaël,

thanks for the report. Monday I will take time to correct/answer all 
your questions and others.


> Any reason to have added these plugins as menu-items instead of a 
new ToolBox. May-be the OJ edit-toolbox itself should evolve into a 
multi-tab toolbox, or into two separate toolbox (create / edit) ?


I investigate this option and the 1st CADExtension was basically a 
multi-tab Toolbox (Icon Polygon was opening a Polygon Toolbox, etc). I 
realize that a menu structure was easier to use, imiteting GvSIG one. 
Anyhow,


> Calculate works fine (I'd rather have named it "Measure"). Do you 
thing you could extend current measure tool instead ?


Originally it was a Measure menu. Then I choose a Calculate name as 
these tools saves the measures, Measure angles tools not (I am going 
to find a solution for these last ones)
Measure angles will be one day on the calculate menu. Right now I 
prefer to distinguish the two groups, untill I find a solution.


> 4 ) Measure : works fine. Seems that Goniometer displays wrong angle 
values in the message area during the measurement (before validation), 
and displays the distance on map after validation (instead of angle).


Goniometer displays wrong angles and distances as I used 
ConstrainedMultiClickToo as reference. This class calls somewhere 
CoordinateListMetrics but I was not able to find. I probabily 
duplicate the class on a future realization as I want the user to see 
angle in real time (similar to CoordinateListMetrics class)

Anyhoe Goniome

Re: [JPP-Devel] CAD Extension for OpenJUMP

2011-11-19 Thread Giuseppe Aruta
>5) Clone could be added in the right-click context menu, along with 
>cut/copy/paste. 
>Move item up is OK
>Draw a Series creates weird things.

I agree to move clone plugin with cut/copy/paste.
I am working around to correct Create Series

>6 ) Add text layer
>If Text layer is already created, adds new feature to the layer. So
the name is a bit misleading (Create Text Layer/Add New Text
depending on if the layer already exists)
>Should create an "editable" layer and check layer editability before
adding new elements
>I did not see Color attribute in the new layer
It can be converted to an "editable" layer. I will see on next version. Thre id 
no COLOR attribute on text layer. I cannot see the usage, right now, since 
OpenJUMP style plugin allows only one color per label/per layer. Anyhow I can 
add it, just for CAD process.


>Would be nice to have default text height defined as an option

Thst was an idea. A complete new plugin with a box where to write the text, 
choose height and rotation, before adding to the view. 
It is still a project. I have to learn more about it.


>7 ) Import DXF
>I could not test it with last OJ release and last dxf driver plugin.
I must investigate

Note the difference (even with Text layer) of the layer position  between OJ 
1.4.2 stable realize and later,  due to the modification of the label position 
options.

> New InfoTool seems useless to me as the one already present in right
click context menu gives a more direct access to feature info.
This is the difference. If an user is drawing features (polygons) and need to 
add attribute values to them
With the traditional InfoTool on toolbar,  user has
1) click on polygon tool to draw a polygon (the cursor changes to drawing mode)
2) click on InfoTool, the cursor changes to the info one 
3) click on the feature to change attribute values, than close the info window
4) Cursor tool is still on Info mode so user has to click again on Polygon tool 
to generate another one 

With InfoTool moved on right click context menu,  user have 
1) click on polygon tool to draw a polygon (the cursor changes to drawing mode)
2) click on InfoTool on the context menu, the cursor changes to the info one 
3) click on the feature to change attribute values. The cursor changes to the 
drawing mode. So user can start again to draw

Only 3 steps instead of 4



Peppe




 Da: Giuseppe Aruta 
A: OpenJump develop and use  
Inviato: Sabato 19 Novembre 2011 17:51
Oggetto: Re: [JPP-Devel] CAD Extension for OpenJUMP
 

Hi Michaël,

thanks for the report. Monday I will take time to correct/answer all your 
questions and others.

> Any reason to have added these plugins as menu-items instead of a new 
> ToolBox. May-be the OJ edit-toolbox itself should evolve into a multi-tab 
> toolbox, or into two separate toolbox (create / edit) ?

I investigate this option and the 1st CADExtension was basically a multi-tab 
Toolbox (Icon Polygon was opening a Polygon Toolbox, etc). I realize that a 
menu structure was easier to use, imiteting GvSIG one. Anyhow, 


> Calculate works fine (I'd rather have named it "Measure"). Do you thing you 
> could extend current measure tool instead ?

Originally it was a Measure menu. Then I choose a Calculate name as these tools 
saves the measures, Measure angles tools not (I am going to find a solution for 
these last ones)

Measure angles will be one day on the calculate menu. Right now I prefer to 
distinguish the two groups, untill I find a solution.

> 4 ) Measure : works fine. Seems that Goniometer displays wrong angle values 
> in the message area during the measurement (before validation), and displays 
> the distance on map after validation (instead of angle). 


Goniometer displays wrong angles and distances as I used 
ConstrainedMultiClickToo as reference. This class calls somewhere 
CoordinateListMetrics but I was not able to find. I probabily duplicate the 
class on a future realization as I want the user to see angle in real time 
(similar to CoordinateListMetrics class)
Anyhoe Goniometer should show the right angle after the click


I am going to answer the other questions tomorrow

Right now,  the first thing I am going to do will be correcting your name 
(Michaud), sorry for bad spelling.

Peppe




 Da: Michaël Michaud 
A: jump-pilot-devel@lists.sourceforge.net 
Inviato: Sabato 19 Novembre 2011 17:24
Oggetto: Re: [JPP-Devel] CAD Extension for OpenJUMP
 

Wow !!!

A nice set of plugins, Peppe.
And works smoothly. Here are the results of my tests and some
questions.

1) Loading : loaded without any problem 

2) Draw Point, LineString, Polygon
Any reason to have added these plugins as menu-items instead of a
new ToolBox
May-be the OJ edit-toolbox itself should evolve into a multi-tab
toolbox, or into two separate toolbox (cr

Re: [JPP-Devel] CAD Extension for OpenJUMP

2011-11-19 Thread Giuseppe Aruta
Hi Michaël,

thanks for the report. Monday I will take time to correct/answer all your 
questions and others.

> Any reason to have added these plugins as menu-items instead of a new 
> ToolBox. May-be the OJ edit-toolbox itself should evolve into a multi-tab 
> toolbox, or into two separate toolbox (create / edit) ?

I investigate this option and the 1st CADExtension was basically a multi-tab 
Toolbox (Icon Polygon was opening a Polygon Toolbox, etc). I realize that a 
menu structure was easier to use, imiteting GvSIG one. Anyhow, 


> Calculate works fine (I'd rather have named it "Measure").Do you thing you 
> could extend current measure tool instead ?

Originally it was a Measure menu. Then I choose a Calculate name as these tools 
saves the measures, Measure angles tools not (I am going to find a solution for 
these last ones)

Measure angles will be one day on the calculate menu. Right now I prefer to 
distinguish the two groups, untill I find a solution.

> 4 ) Measure : works fine. Seems that Goniometer displays wrong angle values 
> in the message area during the measurement (before validation), and displays 
> the distance on map after validation (instead of angle). 


Goniometer displays wrong angles and distances as I used 
ConstrainedMultiClickToo as reference. This class calls somewhere 
CoordinateListMetrics but I was not able to find. I probabily duplicate the 
class on a future realization as I want the user to see angle in real time 
(similar to CoordinateListMetrics class)
Anyhoe Goniometer should show the right angle after the click


I am going to answer the other questions tomorrow

Right now,  the first thing I am going to do will be correcting your name 
(Michaud), sorry for bad spelling.

Peppe




 Da: Michaël Michaud 
A: jump-pilot-devel@lists.sourceforge.net 
Inviato: Sabato 19 Novembre 2011 17:24
Oggetto: Re: [JPP-Devel] CAD Extension for OpenJUMP
 

Wow !!!

A nice set of plugins, Peppe.
And works smoothly. Here are the results of my tests and some
questions.

1) Loading : loaded without any problem 

2) Draw Point, LineString, Polygon
Any reason to have added these plugins as menu-items instead of a
new ToolBox
May-be the OJ edit-toolbox itself should evolve into a multi-tab
toolbox, or into two separate toolbox (create / edit) ?

3 ) Calculate works fine (I'd rather have named it "Measure").
Do you thing you could extend current measure tool instead ?

4 ) Measure : works fine. Seems that Goniometer displays wrong angle
values in the message area during the measurement (before
validation), and displays the distance on map after validation
(instead of angle). 
By the way, it would be better if angle measurements followed the
same model as other measurement tools (display angles and save
values in a feature attribute).

5) Clone could be added in the right-click context menu, along with
cut/copy/paste. 
Move item up is OK
Draw a Series creates weird things.

6 ) Add text layer
If Text layer is already created, adds new feature to the layer. So
the name is a bit misleading (Create Text Layer/Add New Text
depending on if the layer already exists)
Should create an "editable" layer and check layer editability before
adding new elements
I did not see Color attribute in the new layer
Would be nice to have default text height defined as an option

7 ) Import DXF
I could not test it with last OJ release and last dxf driver plugin.
I must investigate

8) Right click context menu
I would move the clone tool beside copy/paste... menu items. 
I'm not sure why users would choose this submenu instead of the
toolbox.
New InfoTool seems useless to me as the one already present in right
click context menu gives a more direct access to feature info.

Regards,

Michaël

PS : My name (Michaël Michaud) is reported 3 or 4 times with
different typos in the readme file.
I would be grateful if you could fix it



  



Le 19/11/2011 13:39, Giuseppe Aruta a écrit : 

>Hi all,
>
>I assembled  a new plugin for OpenJUMP with many tools
>
>CAD Extension:  
>https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/
>
>CAD Extension for OpenJUMP adds new tools and plugins for
drawing and modifying features in a layer. It also adds new
tools to calculate area and lenght and to measure angles in the
workbench view.
>Other plugins are intended to be used with CAD files loaded
using DXF PlugIn from Michael Marchaud
(http://geo.michaelm.free.fr/OpenJUMP/resources/drivers).
>The Plugin is a set of tools partially deriving from other
JUMP-derived software (SkyJUMP and Kosmo) plus new modified
tools deriving form OpenJUMP itself.
>The aim is to create a complete list of tool which let OpenJUMP
to work as a CAD or a Drawing software. To 

Re: [JPP-Devel] CAD Extension for OpenJUMP

2011-11-19 Thread Michaël Michaud

Wow !!!

A nice set of plugins, Peppe.
And works smoothly. Here are the results of my tests and some questions.

1) Loading : loaded without any problem

2) Draw Point, LineString, Polygon
Any reason to have added these plugins as menu-items instead of a new 
ToolBox
May-be the OJ edit-toolbox itself should evolve into a multi-tab 
toolbox, or into two separate toolbox (create / edit) ?


3 ) Calculate works fine (I'd rather have named it "Measure").
Do you thing you could extend current measure tool instead ?

4 ) Measure : works fine. Seems that Goniometer displays wrong angle 
values in the message area during the measurement (before validation), 
and displays the distance on map after validation (instead of angle).
By the way, it would be better if angle measurements followed the same 
model as other measurement tools (display angles and save values in a 
feature attribute).


5) Clone could be added in the right-click context menu, along with 
cut/copy/paste.

Move item up is OK
Draw a Series creates weird things.

6 ) Add text layer
If Text layer is already created, adds new feature to the layer. So the 
name is a bit misleading (Create Text Layer/Add New Text depending on if 
the layer already exists)
Should create an "editable" layer and check layer editability before 
adding new elements

I did not see Color attribute in the new layer
Would be nice to have default text height defined as an option

7 ) Import DXF
I could not test it with last OJ release and last dxf driver plugin. I 
must investigate


8) Right click context menu
I would move the clone tool beside copy/paste... menu items.
I'm not sure why users would choose this submenu instead of the toolbox.
New InfoTool seems useless to me as the one already present in right 
click context menu gives a more direct access to feature info.


Regards,

Michaël

PS : My name (Michaël Michaud) is reported 3 or 4 times with different 
typos in the readme file.

I would be grateful if you could fix it







Le 19/11/2011 13:39, Giuseppe Aruta a écrit :


Hi all,

I assembled  a new plugin for OpenJUMP with many tools

CAD Extension:  
https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/


CAD Extension for OpenJUMP adds new tools and plugins for drawing and 
modifying features in a layer. It also adds new tools to calculate 
area and lenght and to measure angles in the workbench view.
Other plugins are intended to be used with CAD files loaded using DXF 
PlugIn from Michael Marchaud 
(http://geo.michaelm.free.fr/OpenJUMP/resources/drivers).
The Plugin is a set of tools partially deriving from other 
JUMP-derived software (SkyJUMP and Kosmo) plus new modified tools 
deriving form OpenJUMP itself.
The aim is to create a complete list of tool which let OpenJUMP to 
work as a CAD or a Drawing software. To make life more easy for 
professional or public officer who work with CAD and cadastral maps.

The list of tools and plugins is displayed in the same page of download

Since all original plugins I used to develop these tools are 
distributed under the GPL2 license, CAD tools plugin is distributed 
under  is distributed under the GPL2 license. A copy of GPL2 licence 
(GPL2.txt) is embedded into CADtools01.jar file, together with the 
source code


I will be glad to have your impressions about this extension

Giuseppe Aruta


--
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d


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


--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] CAD Extension for OpenJUMP

2011-11-19 Thread Giuseppe Aruta

Hi all,

I assembled  a new plugin for OpenJUMP with many tools

CAD Extension:  
https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/

CAD
 Extension for OpenJUMP adds new tools and plugins for drawing and 
modifying features in a layer. It also adds new tools to calculate area 
and lenght and to measure angles in the workbench view.
Other plugins
 are intended to be used with CAD files loaded using DXF PlugIn from 
Michael Marchaud 
(http://geo.michaelm.free.fr/OpenJUMP/resources/drivers).
The Plugin 
is a set of tools partially deriving from other JUMP-derived software 
(SkyJUMP and Kosmo) plus new modified tools deriving form OpenJUMP 
itself.
The aim is to create a complete list of tool
 which let OpenJUMP to work as a CAD or a Drawing software. To make life
 more easy for professional or public officer who work with CAD and 
cadastral maps.
The list of tools and plugins is displayed in the same page of download

Since
 all original plugins I used to develop these tools are distributed 
under the GPL2 license, CAD tools plugin is distributed under  is 
distributed under the GPL2 license. A copy of GPL2 licence (GPL2.txt) is
 embedded into CADtools01.jar file, together with the source code

I will be glad to have your impressions about this extension

Giuseppe Aruta--
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel