Re: [JPP-Devel] Change the color of the selected feature

2013-03-08 Thread Rahkonen Jukka
Michaël Michaud wrote:
 
> Le 07/03/2013 10:05, Rahkonen Jukka a écrit :
> > Hi,
> >
> > I did not know about the general R_G_B field support.  I can see that if
> hand coloured layer is saved into OpenJUMP project it is considered to be
> classified by unique values of R_G_B field.  This has some consequences.
> After opening such a project OJ shows layer styles as if theme colouring is
> active.
> I cannot reproduce that.

Neither can I.. The legend showing me the four-colour-box symbol in front of 
the layer name and individual classes in subtree must have been some ghost 
phenomena.  I probably activated colour theming accidentally myself.

-Jukka-

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [ jump-pilot-Bugs-3600947 ] Multiple selection doesn't work

2013-03-08 Thread SourceForge . net
Bugs item #3600947, was opened at 2013-01-15 02:57
Message generated for change (Comment added) made by michaudm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3600947&group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: OpenJUMP - Toolbox and Buttons
Group: Linux / Unix
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: G. Aruta (ma15569)
Assigned to: Nobody/Anonymous (nobody)
Summary: Multiple selection doesn't work

Initial Comment:
 Multiple selection doesn't work anymore (select+SHIFT key)

Ubuntu 12.04, OpenJDK  OpenJUMP 3229

regards

Peppe

--

>Comment By: michael michaud (michaudm)
Date: 2013-03-08 00:03

Message:
Fixed by Ede,

--

Comment By: Bernd Wehle (oj-opa)
Date: 2013-01-27 23:41

Message:
on my PC (windows-XP) this works with STRG + SHIFT and klick, klick, ...

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3600947&group_id=118054

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] "ghost shapes" be gone WAS: About user interface for digitizing

2013-03-08 Thread Rahkonen Jukka


Giuseppe Aruta wrote:

> b)
> Start to diraw a linestring than click again to linestring tool
> - the phantom doesn't disappears and user can go on drawing the original 
> linestring

With older version, like r3131, also re-selecting linestring tool cancels 
drawing.

-Jukka-


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [ jump-pilot-Bugs-3602633 ] Cancel button of threaded plugins does not work.

2013-03-08 Thread SourceForge . net
Bugs item #3602633, was opened at 2013-01-30 00:01
Message generated for change (Comment added) made by michaudm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3602633&group_id=118054

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General / Other
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: michael michaud (michaudm)
Assigned to: michael michaud (michaudm)
Summary: Cancel button of threaded plugins does not work.

Initial Comment:
Cancel button of threaded plugins does not work.
It should work as window closing

--

>Comment By: michael michaud (michaudm)
Date: 2013-03-08 00:17

Message:
I close this report.
Everything is fine for me with 
- the red cross button that interrupts the Thread brurally with interrupts
method
- a way for the developper to stop the process in cleaner way (stepping out
a long loop for ex.) if the user click the Cancel button

--

Comment By: ede (edso)
Date: 2013-01-31 01:10

Message:
do TaskManager dialogs sport a close (force cancel) button? users might not
intuitively take the close window cross for that.


..ede


--

Comment By: michael michaud (michaudm)
Date: 2013-01-30 13:18

Message:
Hi Stefan,

You're perfectly right.
Many plugin don't implement that, but there is always a way to stop the
thread by closing the task monitor. I thought that close button should have
the same behaviour, but you're probably right, it's up to the plugin
developper to implement the interruption request properly.

Thanks,

Michaël

--

Comment By: mentaer (mentaer)
Date: 2013-01-30 05:22

Message:
Hi Michael,

are you sure? how do you think it should work?
In general cancel has to be implemented by the programmer, so the process
is canceled at the appropriate time and things are cleaned up.
For that we have 

monitor.allowCancellationRequests();
if(monitor.isCancelRequested()){
...
}

or do you refer to something else?
This, however, will not work for Sextante etc.
stefan

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=679906&aid=3602633&group_id=118054

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] "ghost shapes" be gone WAS: About user interface for digitizing

2013-03-08 Thread edgar . soldin
On 08.03.2013 09:13, Rahkonen Jukka wrote:
> 
> 
> Giuseppe Aruta wrote:
> 
>> b)
>> Start to diraw a linestring than click again to linestring tool
>> - the phantom doesn't disappears and user can go on drawing the original 
>> linestring
> 
> With older version, like r3131, also re-selecting linestring tool cancels 
> drawing.
> 
>

the button (in editing toolbox) is already activated, how do press it again? 
can you give steps?

..ede

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] "ghost shapes" be gone WAS: About user interface for digitizing

2013-03-08 Thread Rahkonen Jukka
edgar soldin wrote:

> On 08.03.2013 09:13, Rahkonen Jukka wrote:
> >
> >
> > Giuseppe Aruta wrote:
> >
> >> b)
> >> Start to diraw a linestring than click again to linestring tool
> >> - the phantom doesn't disappears and user can go on drawing the
> >> original linestring
> >
> > With older version, like r3131, also re-selecting linestring tool cancels
> drawing.
> >
> >
> 
> the button (in editing toolbox) is already activated, how do press it again? 
> can
> you give steps?
> 
> ..ede

Hi,

Start a little bit older OJ version.  Create layer, take Draw line tool, 
click-click-click on the map, next click the Draw line tool.  It is listening 
even it is active.

-Jukka-


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Info about 32 or 64 bit jre missing

2013-03-08 Thread edgar . soldin
On 08.03.2013 08:55, Rahkonen Jukka wrote:
> Hi,
> 
> OpenJUMP info screen shows the jre version but not if it is 32 or 64 bit. I 
> cannot check but perhaps it does not report either if there is Oracle jre, 
> Oracle jdk or OpenJDK variant in use.
> 
> What is the meaning of total memory in the jre info page? After starting OJ 
> with 32-bit jre and -Xmx512M in oj_windows.bat OJ reports that I have 64 MB 
> of total memory, 24 MB reserved and 40 MB free.  Seeing also the maximum that 
> is set by JAVA_OPTS (512 MB in this case) would help in estimating how big 
> datasets can possibly be prosessed.  I know I can check it from the launch 
> file but new users may not guess that.
> 

done in 3306 .. ede

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] "ghost shapes" be gone WAS: About user interface for digitizing

2013-03-08 Thread edgar . soldin
On 07.03.2013 23:56, Rahkonen Jukka wrote:
> Hi,
> 
> Almost.  I seems that selecting the same tool again does not do cancel and by 
> doing that it is still possible to make ghost lines and also to make othet 
> shortcuts (pan, zoom) to behave in an odd way. If you can also make 
> re-selecting the same digitizing tool to cancel drawing then I would suggest 
> to freeze this situation till 1.6 release.
> 

can do. what do you mean by "also to make othet shortcuts (pan, zoom) to behave 
in an odd way"? 

..ede

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] "ghost shapes" be gone WAS: About user interface for digitizing

2013-03-08 Thread Rahkonen Jukka
edgar.soldin wrote:
> 
> On 07.03.2013 23:56, Rahkonen Jukka wrote:
> > Hi,
> >
> > Almost.  I seems that selecting the same tool again does not do cancel and
> by doing that it is still possible to make ghost lines and also to make othet
> shortcuts (pan, zoom) to behave in an odd way. If you can also make re-
> selecting the same digitizing tool to cancel drawing then I would suggest to
> freeze this situation till 1.6 release.
> >
> 
> can do. what do you mean by "also to make othet shortcuts (pan, zoom) to
> behave in an odd way"?
> 
> ..ede

Hi,

- create layer
- select draw line
- click-click-click
- re-select draw line
- press Alt-Shift and you will see the panning hand
- but the hand does not pan, it adds vertices 
- press Alt-Shift again and panning works

Similarly after re-selecting the draw line tool the first zoom in with Alt-Left 
click inserts a vertex.  Sometimes it adds a vertex and zooms in with the same 
mouse click but I have not discovered yet what I am doing differently then.

-Jukka-

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Flash method in Zoom plugin

2013-03-08 Thread Asma ouqalli
hello everybody,
am trying to personilize the method flash in the zoom method. what i did is
to bring the code of this method, so once the user click on a row of the
the table the feature must be zoomed then  flashed and stayed flashed, in
other words the outline of the feature changes the color (red) here's my
code:
but it doesn't work:

searchProperties.getBornesTable().getSelectionModel().addListSelectionListener(new
ListSelectionListener(){

@Override
public void valueChanged(ListSelectionEvent e) {

try {
zoomToSelectedItemsPlugIn.zoom(
selectedBornes(),
context.getLayerViewPanel());
final Shape shape =
context.getLayerViewPanel().getViewport().getJava2DConverter().toShape((Polygon)selectedBornes());
Color color = Color.red;
Stroke stroke =new BasicStroke(5,
BasicStroke.CAP_ROUND,BasicStroke.JOIN_ROUND);
final Graphics2D graphics = (Graphics2D)
context.getLayerViewPanel().getGraphics();
graphics.setColor(color);
graphics.setXORMode(Color.white);
graphics.setStroke(stroke);
graphics.draw(shape);
 } catch (NoninvertibleTransformException e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
 }

   });

here's the method selectBornes:

public Collection selectedBornes() {
ArrayList selectedBornes = new ArrayList();
for(BasicFeature basicFeature : BornesList) {
selectedBornes.add(search().getGeometry());

}
return selectedBornes;
}


best regards

-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Flash method in zoom plugin

2013-03-08 Thread Asma ouqalli
the log says that it cannot cast a collection of geometry to polygon.
How can i do the cast without error.

-- 
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] "ghost shapes" be gone WAS: About user interface for digitizing

2013-03-08 Thread Giuseppe Aruta
I confirm with ubuntu


2013/3/8 Rahkonen Jukka 

> edgar.soldin wrote:
> >
> > On 07.03.2013 23:56, Rahkonen Jukka wrote:
> > > Hi,
> > >
> > > Almost.  I seems that selecting the same tool again does not do cancel
> and
> > by doing that it is still possible to make ghost lines and also to make
> othet
> > shortcuts (pan, zoom) to behave in an odd way. If you can also make re-
> > selecting the same digitizing tool to cancel drawing then I would
> suggest to
> > freeze this situation till 1.6 release.
> > >
> >
> > can do. what do you mean by "also to make othet shortcuts (pan, zoom) to
> > behave in an odd way"?
> >
> > ..ede
>
> Hi,
>
> - create layer
> - select draw line
> - click-click-click
> - re-select draw line
> - press Alt-Shift and you will see the panning hand
> - but the hand does not pan, it adds vertices
> - press Alt-Shift again and panning works
>
> Similarly after re-selecting the draw line tool the first zoom in with
> Alt-Left click inserts a vertex.  Sometimes it adds a vertex and zooms in
> with the same mouse click but I have not discovered yet what I am doing
> differently then.
>
> -Jukka-
>
>
> --
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Linestring digitizing

2013-03-08 Thread Larry Becker
Hey guys,

I've been following the discussion on linestring digitizing, and it
reminded me that SkyJUMP's Constrained Linestring tool seems to support an
edit mode that OJ doesn't.  If the linestring is selected, you are allowed
to extend it from either end by simply clicking an endpoint within snap
distance.  I had kind of assumed that OJ had implemented this code, but I
can't seem to get it to work in the last version I have installed (1.5.2).
Not sure how this would impact the discussion, but I thought I would
mention it.

regards,

Larry
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Linestring digitizing

2013-03-08 Thread Rahkonen Jukka
Hi,

OpenJUMP supports it just like you described with the standard Linestring tool. 
Switch snapping on, select an existing line and you can extent it from endpoint 
or startpoint.  You can also connect two distinct linestrings by selecting them 
both and digitizing a new connecting line. It works for me in OJ 1.5.2 but only 
with the standard tool, not with Constrained Linestring tool.

-Jukka Rahkonen-

Lähettäjä: Larry Becker [mailto:becker.la...@gmail.com]
Lähetetty: 8. maaliskuuta 2013 17:12
Vastaanottaja: OpenJump develop and use
Aihe: [JPP-Devel] Linestring digitizing

Hey guys,

I've been following the discussion on linestring digitizing, and it reminded me 
that SkyJUMP's Constrained Linestring tool seems to support an edit mode that 
OJ doesn't.  If the linestring is selected, you are allowed to extend it from 
either end by simply clicking an endpoint within snap distance.  I had kind of 
assumed that OJ had implemented this code, but I can't seem to get it to work 
in the last version I have installed (1.5.2).  Not sure how this would impact 
the discussion, but I thought I would mention it.

regards,

Larry

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Linestring digitizing

2013-03-08 Thread Larry Becker
As with many things it helps to know the secret.  It works for me after I
turned on snapping.  Thanks Jukka.  You are The Man when it comes to
digitizing.

On Fri, Mar 8, 2013 at 9:33 AM, Rahkonen Jukka wrote:

>  Hi,
>
> ** **
>
> OpenJUMP supports it just like you described with the standard Linestring
> tool. Switch snapping on, select an existing line and you can extent it
> from endpoint or startpoint.  You can also connect two distinct linestrings
> by selecting them both and digitizing a new connecting line. It works for
> me in OJ 1.5.2 but only with the standard tool, not with Constrained
> Linestring tool.
>
> ** **
>
> -Jukka Rahkonen-
>
> ** **
>
> *Lähettäjä:* Larry Becker [mailto:becker.la...@gmail.com]
> *Lähetetty:* 8. maaliskuuta 2013 17:12
> *Vastaanottaja:* OpenJump develop and use
> *Aihe:* [JPP-Devel] Linestring digitizing
>
> ** **
>
> Hey guys,
>
> I've been following the discussion on linestring digitizing, and it
> reminded me that SkyJUMP's Constrained Linestring tool seems to support an
> edit mode that OJ doesn't.  If the linestring is selected, you are allowed
> to extend it from either end by simply clicking an endpoint within snap
> distance.  I had kind of assumed that OJ had implemented this code, but I
> can't seem to get it to work in the last version I have installed (1.5.2).
> Not sure how this would impact the discussion, but I thought I would
> mention it.
>
> regards,
>
> Larry
>
> 
>
>
> --
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Flash method in zoom plugin

2013-03-08 Thread Michaël Michaud

Hi,

One way would be to return a MultiPolygon instead of a Collection
in selectedBornes method
I assume bornes are Polygon (and did not check the code, just to give 
you the idea)


ArrayList selectedBornes = new ArrayList();
for(BasicFeature basicFeature : BornesList) {
selectedBornes.add((Polygon)search().getGeometry());
}
return new 
GeometryFactory().createMultiPolygon(selectedBornes.toArray(new 
Polygon[selectedBornes.size()]));


Michaël


the log says that it cannot cast a collection of geometry to polygon.
How can i do the cast without error.

--
*Asma OUQALLI*

Élève ingénieur : 3ème  Sciences d'Information Géographique (SIG).
Chef de commission développement professionnel  - Rotaract EHTP.
Chef de cellule Media - Olympiades EHTP 2012.
  Ecole Hassania des Travaux Publics.
   Mobile : +212 672 48 23 15.
   Email : asma.ouqa...@gmail.com 



--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev


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


--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] remove default Xmx value WAS: Memory usage in OpenJump

2013-03-08 Thread edgar . soldin
On 07.03.2013 10:17, Asma ouqalli wrote:
> Hello, 
> i have a problem with my openjump concerning memory, it's too slow to execute 
> plugins and do operations on my data that contains 34000 records per layer, 
> in run configuration i used Xmx150M do i have to add more memory in Xmx (my 
> computer have 4Go of RAM)?
> Thanks in advance
> 

because it came up again. i just dug around a bit and tested. it sems like 
current jre's 6 and up seem to use sensible default max heap size values (1/4 
or ram or bigger if it amounts to less than 128MB or so).

i suggest we try to disable our default 512M for the next release as it seems 
counter productive in the light of the above and because 512M is very 
conservative for current machines that should be equipped with at least 4GB.

before somebody suggests it. we can't simply raise the current 512M as it would 
simply fail to start if the box can't acquire that much, in the rare case it is 
run on a very ram scarce system.

..ede

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] remove default Xmx value WAS: Memory usage in OpenJump

2013-03-08 Thread Stefan Steiniger

> before somebody suggests it. we can't simply raise the current 512M as it 
> would simply fail to start if the box can't acquire that much, in the rare 
> case it is run on a very ram scarce system.
Hi Ede,

agreed, but I would not wonder if we have some users with less than 
512MB. I myself used until Xmas only 1GB, and sponsored myself at Xmas 
another 1GB bar.

However, if we look into the download list = countries... (India, 
Indonesia, Bulgaria, Colombia, Bolivia, Ethiopia, etc.) I can see that 
people do not have the latest equipment. So 512 should be best.
http://sourceforge.net/projects/jump-pilot/files/OpenJUMP/stats/map

cheers from a less well equiped continent.
stefan

PS: funny fact, maybe related to OJ being featured... but I saw that for 
Canada 2 people downloaded OJ on Android platforms. Does this make sense?

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] remove default Xmx value WAS: Memory usage in OpenJump

2013-03-08 Thread edgar . soldin
On 08.03.2013 22:56, Stefan Steiniger wrote:
> 
>> before somebody suggests it. we can't simply raise the current 512M as it 
>> would simply fail to start if the box can't acquire that much, in the rare 
>> case it is run on a very ram scarce system.
> Hi Ede,
> 
> agreed, but I would not wonder if we have some users with less than 
> 512MB. I myself used until Xmas only 1GB, and sponsored myself at Xmas 
> another 1GB bar.

remember, it is merely a maximum limit. surely people use OJ with 512MB 
somewhere, but they unfortunately already today have to modify the start script 
as we oppose too much in there ;)

> However, if we look into the download list = countries... (India, 
> Indonesia, Bulgaria, Colombia, Bolivia, Ethiopia, etc.) I can see that 
> people do not have the latest equipment. So 512 should be best.
> http://sourceforge.net/projects/jump-pilot/files/OpenJUMP/stats/map
> 

just double checked again. in a virtual machine with 512MB ram on vista jre6.30 
took nearly 500MB as it's upper limit.

> 
> PS: funny fact, maybe related to OJ being featured... but I saw that for 
> Canada 2 people downloaded OJ on Android platforms. Does this make sense?
> 

not to my knowledge, no .. ede

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] remove default Xmx value WAS: Memory usage in OpenJump

2013-03-08 Thread edgar . soldin
On 08.03.2013 23:03, edgar.sol...@web.de wrote:
>> However, if we look into the download list = countries... (India, 
>> > Indonesia, Bulgaria, Colombia, Bolivia, Ethiopia, etc.) I can see that 
>> > people do not have the latest equipment. So 512 should be best.
>> > http://sourceforge.net/projects/jump-pilot/files/OpenJUMP/stats/map
>> > 
> just double checked again. in a virtual machine with 512MB ram on vista 
> jre6.30 took nearly 500MB as it's upper limit.
> 

take that back. forgot to remove the Xmx entry. actually it always takes 1/4 of 
ram as it's max heap limit.

..ede

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel