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_15&utm_medium=email&utm_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_15&utm_medium=email&utm_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_15&utm_medium=email&utm_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_15&utm_medium=email&utm_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_15&utm_medium=email&utm_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_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to