Re: [JPP-Devel] Draw a closed LineString

2015-04-20 Thread Rahkonen Jukka (MML)
Hi,

I agree, the new feature is totally in line with the most of OpenJUMP: simple, 
useful, and works fine.

-Jukka-

Giuseppe Aruta wrote:

Hi Michaël,
I tested it. It works fine: simple and useful. And the name is self explaining.
thanks
Peppe

2015-04-18 9:50 GMT+02:00 Michaël Michaud 
m.michael.mich...@orange.frmailto:m.michael.mich...@orange.fr:
Hi all,

I just added a new Snapping policy Snap on LineString being edited.
I had to make some choices :
- I added it as a separate option
- the option is active for vertex snapping only (it can be added for
line snapping too, but IMHO, it is not very useful)
- the option is active for linestring edition only (I found that
activating such a feature for polygon is dangerous
as it tends to create polygons with self-intersection)

Please try (r4401+) and report,

Michaël

Le 09/04/2015 13:47, Uwe Dalluege a écrit :
 Hi,

 sorry, I think Jukka is right!
 It works with three points.
 I made a wrong test!

 Sorry again!

 Uwe


 Am 09.04.2015tel:09.04.2015 um 13:28 schrieb Uwe Dalluege:
 Hi Jukka,

 I think this does not work.
 When you draw a triangle with LineString you will get
 an quadrangle when you close the linesegment.

 It is not so easy for me to teach new users
 why OJ can not catch the first point.

 But you posted some solutions I can teach.
 Thank you again.

 Regards

 Uwe



 Am 09.04.2015tel:09.04.2015 um 13:16 schrieb Rahkonen Jukka (MML):
 Hi,

 Found one more option: To draw a linestring, select it and use Right
 click menu Convert selected geometries – Close open line segments.
 Attach tool to EZ Buttons and usage will be rather simple. Selecting
 the line is an extra step, though.

 -Jukka Rahkonen-

 Giuseppe Aruta wrote:

 Hi Jukka,

 right. A couple of years ago I had to work on CAD datas using a GIS,
 that's why I developed those CAD Extensions. For a regular GIS user
 maybe Ede's implementation to convert geometries is enough.

 On the other hand I feel we should consider to rewrite the editing
 toolboox, to make it more simple and flexible. For instance grouping
 drawing and constrained drawing tools into a single one.

 And maybe adding new functionalities, like closing linestring .

 Peppe

 2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML)
 jukka.rahko...@maanmittauslaitos.fimailto:jukka.rahko...@maanmittauslaitos.fi
 mailto:jukka.rahko...@maanmittauslaitos.fimailto:jukka.rahko...@maanmittauslaitos.fi:

 Hi Uwe,

 I would guess that such use case was not on the list of features when
 the original JUMP was developed or since that. However, I can see that
 you are not the first one with that wish and Peppe has made such a tool
 to his CAD extension. The name of the tool in Draw closed linestring.
 Download the extension from
 https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/
 and drop it into lib\ext. New tools are added into the standard edit
 tool box.

 -Jukka-


 Uwe Dalluege wrote:


 Hi,

 thank you for the tips.
 Is there a reason why OJ can not catch the first point directly?

 Regards

 Uwe


 Am 09.04.2015tel:09.04.2015 tel:09.04.2015tel:09.04.2015 um 06:46 
 schrieb Rahkonen Jukka (MML):
 Hi,

 The trick is that when you are drawing a new feature the new vertices
 do not snap to the newly added vertices of that non-finalized geometry.
 There are workarounds:
 - digitize first a point and snap the start and end points of the line
 into it
 - digitize a polygon and convert it into linestring or linearring 
 later.

 If you really need a geometry that is LINEARRING in WKT (not just
 LINESTRING with the same start and end point) you must either draw a
 polygon and use geometry converter, or draw a line and convert it by
 editing the WKT from

 LINESTRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 into

 LINEARRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 -Jukka Rahkonen-


 Uwe Dalluege wrote:

 Hi,

 how can I draw a closed LineString (LinearRing)?

 When I try to catch the first point of the LineString with the last
 point of the same LineString OpenJUMP does not catch the first point.

 Is there a trick?

 Regards

 Uwe

 --

  BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT

 Develop your own process in accordance with the BPMN 2 standard Learn
 Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Jump-pilot-devel mailing list
 
 Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net
 

Re: [JPP-Devel] Draw a closed LineString

2015-04-19 Thread Giuseppe Aruta
Hi Michaël,
I tested it. It works fine: simple and useful. And the name is self
explaining.
thanks
Peppe

2015-04-18 9:50 GMT+02:00 Michaël Michaud m.michael.mich...@orange.fr:

 Hi all,

 I just added a new Snapping policy Snap on LineString being edited.
 I had to make some choices :
 - I added it as a separate option
 - the option is active for vertex snapping only (it can be added for
 line snapping too, but IMHO, it is not very useful)
 - the option is active for linestring edition only (I found that
 activating such a feature for polygon is dangerous
 as it tends to create polygons with self-intersection)

 Please try (r4401+) and report,

 Michaël

 Le 09/04/2015 13:47, Uwe Dalluege a écrit :
  Hi,
 
  sorry, I think Jukka is right!
  It works with three points.
  I made a wrong test!
 
  Sorry again!
 
  Uwe
 
 
  Am 09.04.2015 um 13:28 schrieb Uwe Dalluege:
  Hi Jukka,
 
  I think this does not work.
  When you draw a triangle with LineString you will get
  an quadrangle when you close the linesegment.
 
  It is not so easy for me to teach new users
  why OJ can not catch the first point.
 
  But you posted some solutions I can teach.
  Thank you again.
 
  Regards
 
  Uwe
 
 
 
  Am 09.04.2015 um 13:16 schrieb Rahkonen Jukka (MML):
  Hi,
 
  Found one more option: To draw a linestring, select it and use Right
  click menu Convert selected geometries – Close open line segments.
  Attach tool to EZ Buttons and usage will be rather simple. Selecting
  the line is an extra step, though.
 
  -Jukka Rahkonen-
 
  Giuseppe Aruta wrote:
 
  Hi Jukka,
 
  right. A couple of years ago I had to work on CAD datas using a GIS,
  that's why I developed those CAD Extensions. For a regular GIS user
  maybe Ede's implementation to convert geometries is enough.
 
  On the other hand I feel we should consider to rewrite the editing
  toolboox, to make it more simple and flexible. For instance grouping
  drawing and constrained drawing tools into a single one.
 
  And maybe adding new functionalities, like closing linestring .
 
  Peppe
 
  2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML)
  jukka.rahko...@maanmittauslaitos.fi
  mailto:jukka.rahko...@maanmittauslaitos.fi:
 
  Hi Uwe,
 
  I would guess that such use case was not on the list of features when
  the original JUMP was developed or since that. However, I can see that
  you are not the first one with that wish and Peppe has made such a tool
  to his CAD extension. The name of the tool in Draw closed linestring.
  Download the extension from
 
 https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/
  and drop it into lib\ext. New tools are added into the standard edit
  tool box.
 
  -Jukka-
 
 
  Uwe Dalluege wrote:
 
 
  Hi,
 
  thank you for the tips.
  Is there a reason why OJ can not catch the first point directly?
 
  Regards
 
  Uwe
 
 
  Am 09.04.2015 tel:09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
  Hi,
 
  The trick is that when you are drawing a new feature the new
 vertices
  do not snap to the newly added vertices of that non-finalized geometry.
  There are workarounds:
  - digitize first a point and snap the start and end points of the
 line
  into it
  - digitize a polygon and convert it into linestring or linearring
 later.
 
  If you really need a geometry that is LINEARRING in WKT (not just
  LINESTRING with the same start and end point) you must either
 draw a
  polygon and use geometry converter, or draw a line and convert it
 by
  editing the WKT from
 
  LINESTRING (
   666 435,
   714 307,
   590 344,
   666 435
  )
 
  into
 
  LINEARRING (
   666 435,
   714 307,
   590 344,
   666 435
  )
 
  -Jukka Rahkonen-
 
 
  Uwe Dalluege wrote:
 
  Hi,
 
  how can I draw a closed LineString (LinearRing)?
 
  When I try to catch the first point of the LineString with the
 last
  point of the same LineString OpenJUMP does not catch the first point.
 
  Is there a trick?
 
  Regards
 
  Uwe
 
 
 --
 
   BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM
 EDT
 
  Develop your own process in accordance with the BPMN 2 standard
 Learn
  Process modeling best practices with Bonita BPM through live
 exercises
  http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
  event?utm_
 
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
  ___
  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
 
 
 
 --
  BPM Camp - 

Re: [JPP-Devel] Draw a closed LineString

2015-04-18 Thread Michaël Michaud
Hi all,

I just added a new Snapping policy Snap on LineString being edited.
I had to make some choices :
- I added it as a separate option
- the option is active for vertex snapping only (it can be added for 
line snapping too, but IMHO, it is not very useful)
- the option is active for linestring edition only (I found that 
activating such a feature for polygon is dangerous
as it tends to create polygons with self-intersection)

Please try (r4401+) and report,

Michaël

Le 09/04/2015 13:47, Uwe Dalluege a écrit :
 Hi,

 sorry, I think Jukka is right!
 It works with three points.
 I made a wrong test!

 Sorry again!

 Uwe


 Am 09.04.2015 um 13:28 schrieb Uwe Dalluege:
 Hi Jukka,

 I think this does not work.
 When you draw a triangle with LineString you will get
 an quadrangle when you close the linesegment.

 It is not so easy for me to teach new users
 why OJ can not catch the first point.

 But you posted some solutions I can teach.
 Thank you again.

 Regards

 Uwe



 Am 09.04.2015 um 13:16 schrieb Rahkonen Jukka (MML):
 Hi,

 Found one more option: To draw a linestring, select it and use Right
 click menu Convert selected geometries – Close open line segments.
 Attach tool to EZ Buttons and usage will be rather simple. Selecting
 the line is an extra step, though.

 -Jukka Rahkonen-

 Giuseppe Aruta wrote:

 Hi Jukka,

 right. A couple of years ago I had to work on CAD datas using a GIS,
 that's why I developed those CAD Extensions. For a regular GIS user
 maybe Ede's implementation to convert geometries is enough.

 On the other hand I feel we should consider to rewrite the editing
 toolboox, to make it more simple and flexible. For instance grouping
 drawing and constrained drawing tools into a single one.

 And maybe adding new functionalities, like closing linestring .

 Peppe

 2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML)
 jukka.rahko...@maanmittauslaitos.fi
 mailto:jukka.rahko...@maanmittauslaitos.fi:

 Hi Uwe,

 I would guess that such use case was not on the list of features when
 the original JUMP was developed or since that. However, I can see that
 you are not the first one with that wish and Peppe has made such a tool
 to his CAD extension. The name of the tool in Draw closed linestring.
 Download the extension from
 https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/
 and drop it into lib\ext. New tools are added into the standard edit
 tool box.

 -Jukka-


 Uwe Dalluege wrote:


 Hi,

 thank you for the tips.
 Is there a reason why OJ can not catch the first point directly?

 Regards

 Uwe


 Am 09.04.2015 tel:09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
 Hi,

 The trick is that when you are drawing a new feature the new vertices
 do not snap to the newly added vertices of that non-finalized geometry.
 There are workarounds:
 - digitize first a point and snap the start and end points of the line
 into it
 - digitize a polygon and convert it into linestring or linearring 
 later.

 If you really need a geometry that is LINEARRING in WKT (not just
 LINESTRING with the same start and end point) you must either draw a
 polygon and use geometry converter, or draw a line and convert it by
 editing the WKT from

 LINESTRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 into

 LINEARRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 -Jukka Rahkonen-


 Uwe Dalluege wrote:

 Hi,

 how can I draw a closed LineString (LinearRing)?

 When I try to catch the first point of the LineString with the last
 point of the same LineString OpenJUMP does not catch the first point.

 Is there a trick?

 Regards

 Uwe

 --

  BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT

 Develop your own process in accordance with the BPMN 2 standard Learn
 Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 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


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 

Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Uwe Dalluege
Hi Jukka,

I think this does not work.
When you draw a triangle with LineString you will get
an quadrangle when you close the linesegment.

It is not so easy for me to teach new users
why OJ can not catch the first point.

But you posted some solutions I can teach.
Thank you again.

Regards

Uwe



Am 09.04.2015 um 13:16 schrieb Rahkonen Jukka (MML):
 Hi,

 Found one more option: To draw a linestring, select it and use Right
 click menu Convert selected geometries – Close open line segments.
 Attach tool to EZ Buttons and usage will be rather simple. Selecting
 the line is an extra step, though.

 -Jukka Rahkonen-

 Giuseppe Aruta wrote:

 Hi Jukka,

 right. A couple of years ago I had to work on CAD datas using a GIS,
 that's why I developed those CAD Extensions. For a regular GIS user
 maybe Ede's implementation to convert geometries is enough.

 On the other hand I feel we should consider to rewrite the editing
 toolboox, to make it more simple and flexible. For instance grouping
 drawing and constrained drawing tools into a single one.

 And maybe adding new functionalities, like closing linestring .

 Peppe

 2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML)
 jukka.rahko...@maanmittauslaitos.fi
 mailto:jukka.rahko...@maanmittauslaitos.fi:

 Hi Uwe,

 I would guess that such use case was not on the list of features when
 the original JUMP was developed or since that. However, I can see that
 you are not the first one with that wish and Peppe has made such a tool
 to his CAD extension. The name of the tool in Draw closed linestring.
 Download the extension from
 https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/
 and drop it into lib\ext. New tools are added into the standard edit
 tool box.

 -Jukka-


 Uwe Dalluege wrote:


 Hi,

 thank you for the tips.
 Is there a reason why OJ can not catch the first point directly?

 Regards

 Uwe


 Am 09.04.2015 tel:09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
   Hi,
  
   The trick is that when you are drawing a new feature the new vertices
 do not snap to the newly added vertices of that non-finalized geometry.
 There are workarounds:
   - digitize first a point and snap the start and end points of the line
   into it
   - digitize a polygon and convert it into linestring or linearring later.
  
   If you really need a geometry that is LINEARRING in WKT (not just
   LINESTRING with the same start and end point) you must either draw a
   polygon and use geometry converter, or draw a line and convert it by
   editing the WKT from
  
   LINESTRING (
666 435,
714 307,
590 344,
666 435
   )
  
   into
  
   LINEARRING (
666 435,
714 307,
590 344,
666 435
   )
  
   -Jukka Rahkonen-
  
  
   Uwe Dalluege wrote:
  
   Hi,
  
   how can I draw a closed LineString (LinearRing)?
  
   When I try to catch the first point of the LineString with the last
 point of the same LineString OpenJUMP does not catch the first point.
  
   Is there a trick?
  
   Regards
  
   Uwe
  
   --

    BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT

   Develop your own process in accordance with the BPMN 2 standard Learn
   Process modeling best practices with Bonita BPM through live exercises
   http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
   event?utm_
   source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
   ___
   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
  

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 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



 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF



 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 

Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Giuseppe Aruta
Hi Jukka,
right. A couple of years ago I had to work on CAD datas using a GIS, that's
why I developed those CAD Extensions. For a regular GIS user maybe Ede's
implementation to convert geometries is enough.
On the other hand I feel we should consider to rewrite the editing
toolboox, to make it more simple and flexible. For instance grouping
drawing and constrained drawing tools into a single one.
And maybe adding new functionalities, like closing linestring .
Peppe

2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML) 
jukka.rahko...@maanmittauslaitos.fi:

 Hi Uwe,

 I would guess that such use case was not on the list of features when the
 original JUMP was developed or since that. However, I can see that you are
 not the first one with that wish and Peppe has made such a tool to his CAD
 extension. The name of the tool in Draw closed linestring. Download the
 extension from

 https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/
 and drop it into lib\ext. New tools are added into the standard edit tool
 box.

 -Jukka-

 Uwe Dalluege wrote:


 Hi,

 thank you for the tips.
 Is there a reason why OJ can not catch the first point directly?

 Regards

 Uwe


 Am 09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
  Hi,
 
  The trick is that when you are drawing a new feature the new vertices do
 not snap to the newly added vertices of that non-finalized geometry. There
 are workarounds:
  - digitize first a point and snap the start and end points of the line
  into it
  - digitize a polygon and convert it into linestring or linearring later.
 
  If you really need a geometry that is LINEARRING in WKT (not just
  LINESTRING with the same start and end point) you must either draw a
  polygon and use geometry converter, or draw a line and convert it by
  editing the WKT from
 
  LINESTRING (
   666 435,
   714 307,
   590 344,
   666 435
  )
 
  into
 
  LINEARRING (
   666 435,
   714 307,
   590 344,
   666 435
  )
 
  -Jukka Rahkonen-
 
 
  Uwe Dalluege wrote:
 
  Hi,
 
  how can I draw a closed LineString (LinearRing)?
 
  When I try to catch the first point of the LineString with the last
 point of the same LineString OpenJUMP does not catch the first point.
 
  Is there a trick?
 
  Regards
 
  Uwe
 
  --
   BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
  Develop your own process in accordance with the BPMN 2 standard Learn
  Process modeling best practices with Bonita BPM through live exercises
  http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
  event?utm_
  source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Rahkonen Jukka (MML)
Hi Uwe,

I would guess that such use case was not on the list of features when the 
original JUMP was developed or since that. However, I can see that you are not 
the first one with that wish and Peppe has made such a tool to his CAD 
extension. The name of the tool in Draw closed linestring. Download the 
extension from 
https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/ 
and drop it into lib\ext. New tools are added into the standard edit tool box.

-Jukka-

Uwe Dalluege wrote:


Hi,

thank you for the tips.
Is there a reason why OJ can not catch the first point directly?

Regards

Uwe


Am 09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
 Hi,

 The trick is that when you are drawing a new feature the new vertices do not 
 snap to the newly added vertices of that non-finalized geometry. There are 
 workarounds:
 - digitize first a point and snap the start and end points of the line 
 into it
 - digitize a polygon and convert it into linestring or linearring later.

 If you really need a geometry that is LINEARRING in WKT (not just 
 LINESTRING with the same start and end point) you must either draw a 
 polygon and use geometry converter, or draw a line and convert it by 
 editing the WKT from

 LINESTRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 into

 LINEARRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 -Jukka Rahkonen-


 Uwe Dalluege wrote:

 Hi,

 how can I draw a closed LineString (LinearRing)?

 When I try to catch the first point of the LineString with the last point of 
 the same LineString OpenJUMP does not catch the first point.

 Is there a trick?

 Regards

 Uwe

 --
  BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT 
 Develop your own process in accordance with the BPMN 2 standard Learn 
 Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- 
 event?utm_ 
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Rahkonen Jukka (MML)
Hi,

Found one more option: To draw a linestring, select it and use Right click menu 
Convert selected geometries – Close open line segments.  Attach tool to EZ 
Buttons and usage will be rather simple. Selecting  the line is an extra step, 
though.

-Jukka Rahkonen-

Giuseppe Aruta wrote:

Hi Jukka,
right. A couple of years ago I had to work on CAD datas using a GIS, that's why 
I developed those CAD Extensions. For a regular GIS user maybe Ede's 
implementation to convert geometries is enough.
On the other hand I feel we should consider to rewrite the editing toolboox, to 
make it more simple and flexible. For instance grouping drawing and constrained 
drawing tools into a single one.
And maybe adding new functionalities, like closing linestring .
Peppe

2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML) 
jukka.rahko...@maanmittauslaitos.fimailto:jukka.rahko...@maanmittauslaitos.fi:
Hi Uwe,

I would guess that such use case was not on the list of features when the 
original JUMP was developed or since that. However, I can see that you are not 
the first one with that wish and Peppe has made such a tool to his CAD 
extension. The name of the tool in Draw closed linestring. Download the 
extension from
https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/ 
and drop it into lib\ext. New tools are added into the standard edit tool box.

-Jukka-

Uwe Dalluege wrote:


Hi,

thank you for the tips.
Is there a reason why OJ can not catch the first point directly?

Regards

Uwe


Am 09.04.2015tel:09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
 Hi,

 The trick is that when you are drawing a new feature the new vertices do not 
 snap to the newly added vertices of that non-finalized geometry. There are 
 workarounds:
 - digitize first a point and snap the start and end points of the line
 into it
 - digitize a polygon and convert it into linestring or linearring later.

 If you really need a geometry that is LINEARRING in WKT (not just
 LINESTRING with the same start and end point) you must either draw a
 polygon and use geometry converter, or draw a line and convert it by
 editing the WKT from

 LINESTRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 into

 LINEARRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 -Jukka Rahkonen-


 Uwe Dalluege wrote:

 Hi,

 how can I draw a closed LineString (LinearRing)?

 When I try to catch the first point of the LineString with the last point of 
 the same LineString OpenJUMP does not catch the first point.

 Is there a trick?

 Regards

 Uwe

 --
  BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard Learn
 Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.netmailto:Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Rahkonen Jukka (MML)
Hi,

Works for me. Draw an arrow A-B-C. Use the Close linestring tool and it comes a 
triangle with points A-B-C-A.

-Jukka-

-Alkuperäinen viesti-
Lähettäjä: Uwe Dalluege [mailto:uwe.dallu...@hcu-hamburg.de] 
Lähetetty: 9. huhtikuuta 2015 14:28
Vastaanottaja: OpenJump develop and use
Aihe: Re: [JPP-Devel] Draw a closed LineString

Hi Jukka,

I think this does not work.
When you draw a triangle with LineString you will get an quadrangle when you 
close the linesegment.

It is not so easy for me to teach new users why OJ can not catch the first 
point.

But you posted some solutions I can teach.
Thank you again.

Regards

Uwe



Am 09.04.2015 um 13:16 schrieb Rahkonen Jukka (MML):
 Hi,

 Found one more option: To draw a linestring, select it and use Right 
 click menu Convert selected geometries - Close open line segments.
 Attach tool to EZ Buttons and usage will be rather simple. Selecting 
 the line is an extra step, though.

 -Jukka Rahkonen-

 Giuseppe Aruta wrote:

 Hi Jukka,

 right. A couple of years ago I had to work on CAD datas using a GIS, 
 that's why I developed those CAD Extensions. For a regular GIS user 
 maybe Ede's implementation to convert geometries is enough.

 On the other hand I feel we should consider to rewrite the editing 
 toolboox, to make it more simple and flexible. For instance grouping 
 drawing and constrained drawing tools into a single one.

 And maybe adding new functionalities, like closing linestring .

 Peppe

 2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML) 
 jukka.rahko...@maanmittauslaitos.fi
 mailto:jukka.rahko...@maanmittauslaitos.fi:

 Hi Uwe,

 I would guess that such use case was not on the list of features when 
 the original JUMP was developed or since that. However, I can see that 
 you are not the first one with that wish and Peppe has made such a 
 tool to his CAD extension. The name of the tool in Draw closed linestring.
 Download the extension from
 https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExte
 nsion/ and drop it into lib\ext. New tools are added into the standard 
 edit tool box.

 -Jukka-


 Uwe Dalluege wrote:


 Hi,

 thank you for the tips.
 Is there a reason why OJ can not catch the first point directly?

 Regards

 Uwe


 Am 09.04.2015 tel:09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
   Hi,
  
   The trick is that when you are drawing a new feature the new 
 vertices do not snap to the newly added vertices of that non-finalized 
 geometry.
 There are workarounds:
   - digitize first a point and snap the start and end points of the 
 line   into it   - digitize a polygon and convert it into linestring 
 or linearring later.
  
   If you really need a geometry that is LINEARRING in WKT (not just  
  LINESTRING with the same start and end point) you must either draw a  
  polygon and use geometry converter, or draw a line and convert it by  
  editing the WKT from LINESTRING (
666 435,
714 307,
590 344,
666 435
   )
  
   into
  
   LINEARRING (
666 435,
714 307,
590 344,
666 435
   )
  
   -Jukka Rahkonen-
  
  
   Uwe Dalluege wrote:
  
   Hi,
  
   how can I draw a closed LineString (LinearRing)?
  
   When I try to catch the first point of the LineString with the 
 last point of the same LineString OpenJUMP does not catch the first point.
  
   Is there a trick?
  
   Regards
  
   Uwe
  
   
 --

    BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM 
 EDT

   Develop your own process in accordance with the BPMN 2 standard 
 Learn   Process modeling best practices with Bonita BPM through live 
 exercises   
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
   event?utm_
   
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
   ___
   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
  

 --
  BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT 
 Develop your own process in accordance with the BPMN 2 standard Learn 
 Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- 
 event?utm_ 
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 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



 --
  BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT 
 Develop your own process in accordance with the BPMN 2 standard

Re: [JPP-Devel] Draw a closed LineString

2015-04-09 Thread Uwe Dalluege
Hi,

sorry, I think Jukka is right!
It works with three points.
I made a wrong test!

Sorry again!

Uwe


Am 09.04.2015 um 13:28 schrieb Uwe Dalluege:
 Hi Jukka,

 I think this does not work.
 When you draw a triangle with LineString you will get
 an quadrangle when you close the linesegment.

 It is not so easy for me to teach new users
 why OJ can not catch the first point.

 But you posted some solutions I can teach.
 Thank you again.

 Regards

 Uwe



 Am 09.04.2015 um 13:16 schrieb Rahkonen Jukka (MML):
 Hi,

 Found one more option: To draw a linestring, select it and use Right
 click menu Convert selected geometries – Close open line segments.
 Attach tool to EZ Buttons and usage will be rather simple. Selecting
 the line is an extra step, though.

 -Jukka Rahkonen-

 Giuseppe Aruta wrote:

 Hi Jukka,

 right. A couple of years ago I had to work on CAD datas using a GIS,
 that's why I developed those CAD Extensions. For a regular GIS user
 maybe Ede's implementation to convert geometries is enough.

 On the other hand I feel we should consider to rewrite the editing
 toolboox, to make it more simple and flexible. For instance grouping
 drawing and constrained drawing tools into a single one.

 And maybe adding new functionalities, like closing linestring .

 Peppe

 2015-04-09 9:23 GMT+02:00 Rahkonen Jukka (MML)
 jukka.rahko...@maanmittauslaitos.fi
 mailto:jukka.rahko...@maanmittauslaitos.fi:

 Hi Uwe,

 I would guess that such use case was not on the list of features when
 the original JUMP was developed or since that. However, I can see that
 you are not the first one with that wish and Peppe has made such a tool
 to his CAD extension. The name of the tool in Draw closed linestring.
 Download the extension from
 https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/CADExtension/
 and drop it into lib\ext. New tools are added into the standard edit
 tool box.

 -Jukka-


 Uwe Dalluege wrote:


 Hi,

 thank you for the tips.
 Is there a reason why OJ can not catch the first point directly?

 Regards

 Uwe


 Am 09.04.2015 tel:09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
Hi,
   
The trick is that when you are drawing a new feature the new vertices
 do not snap to the newly added vertices of that non-finalized geometry.
 There are workarounds:
- digitize first a point and snap the start and end points of the line
into it
- digitize a polygon and convert it into linestring or linearring later.
   
If you really need a geometry that is LINEARRING in WKT (not just
LINESTRING with the same start and end point) you must either draw a
polygon and use geometry converter, or draw a line and convert it by
editing the WKT from
   
LINESTRING (
 666 435,
 714 307,
 590 344,
 666 435
)
   
into
   
LINEARRING (
 666 435,
 714 307,
 590 344,
 666 435
)
   
-Jukka Rahkonen-
   
   
Uwe Dalluege wrote:
   
Hi,
   
how can I draw a closed LineString (LinearRing)?
   
When I try to catch the first point of the LineString with the last
 point of the same LineString OpenJUMP does not catch the first point.
   
Is there a trick?
   
Regards
   
Uwe
   
--

 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT

Develop your own process in accordance with the BPMN 2 standard Learn
Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
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
   

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 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



 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
 

Re: [JPP-Devel] Draw a closed LineString

2015-04-08 Thread Rahkonen Jukka (MML)
Hi,

The trick is that when you are drawing a new feature the new vertices do not 
snap to the newly added vertices of that non-finalized geometry. There are 
workarounds:
- digitize first a point and snap the start and end points of the line into it
- digitize a polygon and convert it into linestring or linearring later.

If you really need a geometry that is LINEARRING in WKT (not just LINESTRING 
with the same start and end point) you must either draw a polygon and use 
geometry converter, or draw a line and convert it by editing the WKT from 

LINESTRING (
666 435, 
714 307, 
590 344, 
666 435
)

into 

LINEARRING (
666 435, 
714 307, 
590 344, 
666 435
)

-Jukka Rahkonen-


Uwe Dalluege wrote:

 Hi,

 how can I draw a closed LineString (LinearRing)?

 When I try to catch the first point of the LineString with the last point of 
 the same LineString OpenJUMP does not catch the first point.

 Is there a trick?

Regards

Uwe

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own 
process in accordance with the BPMN 2 standard Learn Process modeling best 
practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ 
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Draw a closed LineString

2015-04-08 Thread Uwe Dalluege
Hi,

thank you for the tips.
Is there a reason why OJ can not catch the first point
directly?

Regards

Uwe


Am 09.04.2015 um 06:46 schrieb Rahkonen Jukka (MML):
 Hi,

 The trick is that when you are drawing a new feature the new vertices do not 
 snap to the newly added vertices of that non-finalized geometry. There are 
 workarounds:
 - digitize first a point and snap the start and end points of the line into it
 - digitize a polygon and convert it into linestring or linearring later.

 If you really need a geometry that is LINEARRING in WKT (not just LINESTRING 
 with the same start and end point) you must either draw a polygon and use 
 geometry converter, or draw a line and convert it by editing the WKT from

 LINESTRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 into

 LINEARRING (
  666 435,
  714 307,
  590 344,
  666 435
 )

 -Jukka Rahkonen-


 Uwe Dalluege wrote:

 Hi,

 how can I draw a closed LineString (LinearRing)?

 When I try to catch the first point of the LineString with the last point of 
 the same LineString OpenJUMP does not catch the first point.

 Is there a trick?

 Regards

 Uwe

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT Develop your own 
 process in accordance with the BPMN 2 standard Learn Process modeling best 
 practices with Bonita BPM through live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ 
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Draw a closed LineString

2015-04-08 Thread Rahkonen Jukka (MML)
Hi,

Matthias Scholz wrote:

 Hi Uwe,

 yes there is a small trick, if we talk about the same problem.
 1) go to Customize - Options - Snap/Grid - Snap to vertices and select the 
 right snapping tolerance for your needs.
 2) draw the draw the linestring
 3) through the snap funktion you can easy draw the last point on the first 
 one :-)

It is not that easy. The newly added vertices which belong to the red drawing 
line are not snap-able before the geometry is finalized. I usually digitize a 
separate point feature first for snapping and delete it later, or draw a 
polygon and convert it into line afterwards. I do not even think that it is a 
bug to not to snap into the vertices which belong to the drawing. Only occasion 
when it would be useful is precisely this case and it might indeed be good if 
the first vertex of the linestring that is under construction would be 
snap-able. However, the vertices in the middle of the drawing line should not 
be, IMHO.

 In theory (OGC SimpleFeature) a closed Linestring is a Linestring with the 
 same start- and endpoint. If you have done this with the snapping function OJ 
 handels this two point as one point during a movement. And a Linearring is a 
 special case of a Linearring. You can read this in the JTS documentation:

 http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/LineString.html
 http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/LineString.html

 Or take a look in the OGC document 
 https://portal.opengeospatial.org/files/?artifact_id=829 on page 2-1 figure 
 2.1 and chapter 2.1.6 at page 2-5. Here you can read that a closed Linestring 
 a Linearring is.

 With both (closed) geometries you cannot made a area computation! This is in 
 OJ only with a Polygon possible. Don't know why

It is still just a line even it makes a loop and lines do not have area, just 
length.

 Regards

 Matthias

Hi Uwe,
1) draw a polygon
2) select the item
3) right click -Convert select geometies/layers to-LinearRing (or Linestring)
Peppe

2015-04-08 15:21 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de:
Hi,

how can I draw a closed LineString (LinearRing)?

When I try to catch the first point of the
LineString with the last point of the same LineString
OpenJUMP does not catch the first point.

Is there a trick?

Regards

Uwe

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel




--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF



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


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Draw a closed LineString

2015-04-08 Thread Giuseppe Aruta
Hi Uwe,
1) draw a polygon
2) select the item
3) right click -Convert select geometies/layers to-LinearRing (or
Linestring)
Peppe

2015-04-08 15:21 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de:

 Hi,

 how can I draw a closed LineString (LinearRing)?

 When I try to catch the first point of the
 LineString with the last point of the same LineString
 OpenJUMP does not catch the first point.

 Is there a trick?

 Regards

 Uwe


 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Draw a closed LineString

2015-04-08 Thread Uwe Dalluege
Hi,

how can I draw a closed LineString (LinearRing)?

When I try to catch the first point of the
LineString with the last point of the same LineString
OpenJUMP does not catch the first point.

Is there a trick?

Regards

Uwe

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Draw a closed LineString

2015-04-08 Thread edgar . soldin
On 08.04.2015 15:21, Uwe Dalluege wrote:
 Hi,
 
 how can I draw a closed LineString (LinearRing)?
 
 When I try to catch the first point of the
 LineString with the last point of the same LineString
 OpenJUMP does not catch the first point.
 
 Is there a trick?
 
 Regards
 
 Uwe
 

not sure you can. you will always draw either a Polygon, LineString or Points. 
you can however draw a Polygon or Line and use the plugin

Convert Selected/Layer

available in Tools-Edit Geometry or mapview context menu to 

1. add a closing Line Segment (not needed for Polygons)
2. convert to LinearRing

..ede

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Draw a closed LineString

2015-04-08 Thread Matthias Scholz

Hi Uwe,

yes there is a small trick, if we talk about the same problem.
1) go to Customize - Options - Snap/Grid - Snap to vertices and 
select the right snapping tolerance for your needs.

2) draw the draw the linestring
3) through the snap funktion you can easy draw the last point on the 
first one :-)


In theory (OGC SimpleFeature) a closed Linestring is a Linestring with 
the same start- and endpoint. If you have done this with the snapping 
function OJ handels this two point as one point during a movement. And a 
Linearring is a special case of a Linearring. You can read this in the 
JTS documentation:


http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/LineString.html
http://tsusiatsoftware.net/jts/javadoc/com/vividsolutions/jts/geom/LineString.html

Or take a look in the OGC document 
https://portal.opengeospatial.org/files/?artifact_id=829 on page 2-1 
figure 2.1 and chapter 2.1.6 at page 2-5. Here you can read that a 
closed Linestring a Linearring is.


With both (closed) geometries you cannot made a area computation! This 
is in OJ only with a Polygon possible. Don't know why


Regards

Matthias



Hi Uwe,
1) draw a polygon
2) select the item
3) right click -Convert select geometies/layers to-LinearRing (or 
Linestring)

Peppe

2015-04-08 15:21 GMT+02:00 Uwe Dalluege uwe.dallu...@hcu-hamburg.de 
mailto:uwe.dallu...@hcu-hamburg.de:


Hi,

how can I draw a closed LineString (LinearRing)?

When I try to catch the first point of the
LineString with the last point of the same LineString
OpenJUMP does not catch the first point.

Is there a trick?

Regards

Uwe


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
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




--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF


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


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel