[JPP-Devel] Postgis driver plugin bug fix

2012-04-27 Thread Michaël Michaud
Hi Uwe, postgis driver users,

I made a small fix in the postgis driver plugin to make it compatible 
with date attributes
(date attributes were converted into strings and could not be saved back 
to the server)
PostGISPlugIn 1.5.2-beta in
http://geo.michaelm.free.fr/OpenJUMP/resources/

Would be nice if some of you could have a try.
If no problem is reported, it could be included in 1.5.2 PLUS edition

Also, if you could have a look at bug report
http://sourceforge.net/tracker/?func=detailaid=3519933group_id=118054atid=679906
I cannot reproduce the error and don't know if it is a serious issue or not.

Michaël


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
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-3521940 ] Trouble with opening several shapefiles from one zip file

2012-04-27 Thread SourceForge . net
Bugs item #3521940, was opened at 2012-04-27 02:30
Message generated for change (Tracker Item Submitted) made by michaudm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3521940group_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 - Menu - File 
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: michael michaud (michaudm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Trouble with opening several shapefiles from one zip file

Initial Comment:
This problem has been discussed in the following thread :
http://www.mail-archive.com/jump-pilot-devel@lists.sourceforge.net/msg10520.html

Different layer names appear into the 
layer list correctly just as they were in the zip file, but every layer 
contains the same data that comes from one of the shapefiles.

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679906aid=3521940group_id=118054

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Is OpenJUMP ready for PostGIS 2.0?

2012-04-27 Thread Michaël Michaud

Thanks Jukka,

OpenJUMP base-code seems uptodate (with only ST_GeomFromText calls)
but I changed a few AsText and GeomFromText to their ST_ counterpart in 
the postgis plugin.

I may have missed other functions though
Untested

Uploaded as PostGISPlugIn-beta2 to
http://geo.michaelm.free.fr/OpenJUMP/resources/beta2

Michaël



Hi,
PostGIS 2.0 is using different names for some funtions and I wonder if 
this will make trouble for OpenJUMP. If it does the simple fix before 
our PostGIS connector is coccected is to run legacy.sql in the 
database side.  This this trick is needed it should be added to 
OpenJUMP documents.  See 
https://github.com/mapserver/mapserver/issues/4186

-Jukka Rahkonen-


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Some possible improvements in the last OJ : query layer-name

2012-04-27 Thread Michaël Michaud
Hi Eric,
 Possible improvements:
 - improve the output layer name of the AttributeQuery 
 plugIn 
 (com.vividsolutions.jump.workbench.ui.plugin.analysis.AttributeQueryPlugIn);
 at the moment, the name is something like it NAMELAYER-operator, e.g. 
 buildings-=, resulting from the following code : String outputLayerName =
 LayerNameGenerator.generateOperationOnLayerName(funcNameToRun, 
 srcLayer.getName());
 It could be improved by using the following 
 pattern: NAMELAYER-ATTRIBUTENAME_operator_VALUE

The three query plugins now follow (approximately) the following scheme
depending on wheter it is a spatial or a attribute query
and if the operation takes a parameter or not

sourceLayer_[attribute_]operator_[parameter_]value

Michaël

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] New CSV-driver eats original X- and Y-fields

2012-04-27 Thread Rahkonen Jukka
Hi,

I believe that sometimes people would like to keep also the original X and Y 
fields when they import CSV data. How about having a Import coordinates also 
as attributes check box?

-Jukka Rahkonen-
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Some possible improvements in the last OJ : svg export

2012-04-27 Thread edgar . soldin
On 27.04.2012 12:01, Michaël Michaud wrote:
 Hi Eric


 Bug: the export in SVG works well for small datasets but doesn't work 
 for important ones (creation of a kind of strange noisy image
 but not in a SVG format, except for the file extension). If it's just 
 an extract of the important dataset, the export is done without
 any problem. I was able to reproduce this problem with more than one 
 layer.
 There is currently a hard-coded limitation to 1 features
 
 I tried with 100 000 features.
 It took 4 mn to export and produced a 50Mo file, but I could open it 
 without problem in inkskape.
 
 I propose to change the limit to 1 000 000 features.
 I don't know why there is a max number of features parameter.
 I can also set it to the upper integer limit.
 What do you think ?
 

how about turning the limit into a a warning only? no reason to rob users 
functionality if they have lot's of memeory installed and such cases.

..ede

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Some possible improvements in the last OJ : svg export

2012-04-27 Thread Eric Grosso
Hi Michael,

Why don't remove this limit and using it in a OK/Cancel dialog which could
be displayed if there is an important certain number of objects such as
Due to the important number of objects, the generated SVG file will have
an important size and the process may be long (several minutes).
Do you want to continue?. It will allow users to choose what they want to
do and know about the time of the process.

Eric

2012/4/27 Michaël Michaud michael.mich...@free.fr

 Hi Eric
 
 
  Bug: the export in SVG works well for small datasets but doesn't work
  for important ones (creation of a kind of strange noisy image
  but not in a SVG format, except for the file extension). If it's just
  an extract of the important dataset, the export is done without
  any problem. I was able to reproduce this problem with more than one
  layer.
 There is currently a hard-coded limitation to 1 features

 I tried with 100 000 features.
 It took 4 mn to export and produced a 50Mo file, but I could open it
 without problem in inkskape.

 I propose to change the limit to 1 000 000 features.
 I don't know why there is a max number of features parameter.
 I can also set it to the upper integer limit.
 What do you think ?

 Michaël


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Some possible improvements in the last OJ : svg export

2012-04-27 Thread edgar . soldin
exactly my point ;) .. ede

On 27.04.2012 12:31, Eric Grosso wrote:
 Hi Michael,
 
 Why don't remove this limit and using it in a OK/Cancel dialog which could be 
 displayed if there is an important certain number of objects such as
 Due to the important number of objects, the generated SVG file will have an 
 important size and the process may be long (several minutes).
 Do you want to continue?. It will allow users to choose what they want to do 
 and know about the time of the process.
 
 Eric
 
 2012/4/27 Michaël Michaud michael.mich...@free.fr 
 mailto:michael.mich...@free.fr
 
 Hi Eric
 
 
  Bug: the export in SVG works well for small datasets but doesn't work
  for important ones (creation of a kind of strange noisy image
  but not in a SVG format, except for the file extension). If it's just
  an extract of the important dataset, the export is done without
  any problem. I was able to reproduce this problem with more than one
  layer.
 There is currently a hard-coded limitation to 1 features
 
 I tried with 100 000 features.
 It took 4 mn to export and produced a 50Mo file, but I could open it
 without problem in inkskape.
 
 I propose to change the limit to 1 000 000 features.
 I don't know why there is a max number of features parameter.
 I can also set it to the upper integer limit.
 What do you think ?
 
 Michaël
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 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
 
 
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 
 
 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [ jump-pilot-Feature Requests-3521397 ] Translation of UI

2012-04-27 Thread SourceForge . net
Feature Requests item #3521397, was opened at 2012-04-25 10:56
Message generated for change (Comment added) made by michaudm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679909aid=3521397group_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: GUI/Interface
Group: None
Status: Open
Resolution: Accepted
Priority: 3
Private: No
Submitted By: michael michaud (michaudm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Translation of UI

Initial Comment:
Transferred from Usability and Translation Improvements for OpenJUMP UI #1684681

Checked the whole list with OpenJUMP-20120423-r2834-PLUS.zip.
Only a few and not so important things from this list remain.

Edit menu
Title of the dialog window Select Items by Circle from Selected Layers
can not be translated.
By the way, Cancel button in this dialog has no effect, the selection
circle appears anyhow and Click selects items. You must select another tool
to deactivate the circle.

View menu
In the Feature info table the tab tooltip hints Table View and HTML View
can't be translated.

In Zoom to coordinate dialog title stays as Input and Cancel button
is in English as well.

Tools menu
Warp - Warping
If you select normal warping (not incremental) then the vectors go
automatically to a layer named Warping Vectors which can not be translated.

Measure in feet -selection remains active until you select another tool
while most other tools you select from the menu can also be de-selected
there.

Jukka


--

Comment By: michael michaud (michaudm)
Date: 2012-04-27 04:28

Message:
Select Items by Circle from Selected Layers is fixed
Feature info table is fixed

for Zoom to coordinate, it could be useful to replace the OptionPane
dialog by a MultiInputDialog like most other plugins have.




--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679909aid=3521397group_id=118054

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [ jump-pilot-Feature Requests-3521960 ] Export large dataset in svg format

2012-04-27 Thread SourceForge . net
Feature Requests item #3521960, was opened at 2012-04-27 04:33
Message generated for change (Tracker Item Submitted) made by michaudm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679909aid=3521960group_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: File/Data IO
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: michael michaud (michaudm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Export large dataset in svg format

Initial Comment:
Currently, the export function fails silently for dataset over 10 000 features.

1 - put a higher limit (eventualy for 1.5.2 release)
2 - remove the limit and open a dialog box if the dataset is over 100 000 
features
Due to the important number of objects, the generated SVG file will have an 
important size and the process may be long (several minutes).
Do you want to continue?

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679909aid=3521960group_id=118054

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Some possible improvements in the last OJ : svg export

2012-04-27 Thread Eric Grosso
I answered during you did it too. Sorry for this repetition :-)

Eric

On 27 April 2012 12:40, edgar.sol...@web.de wrote:

 exactly my point ;) .. ede

 On 27.04.2012 12:31, Eric Grosso wrote:
  Hi Michael,
 
  Why don't remove this limit and using it in a OK/Cancel dialog which
 could be displayed if there is an important certain number of objects such
 as
  Due to the important number of objects, the generated SVG file will
 have an important size and the process may be long (several minutes).
  Do you want to continue?. It will allow users to choose what they want
 to do and know about the time of the process.
 
  Eric
 
  2012/4/27 Michaël Michaud michael.mich...@free.fr mailto:
 michael.mich...@free.fr
 
  Hi Eric
  
  
   Bug: the export in SVG works well for small datasets but doesn't
 work
   for important ones (creation of a kind of strange noisy image
   but not in a SVG format, except for the file extension). If it's
 just
   an extract of the important dataset, the export is done without
   any problem. I was able to reproduce this problem with more than
 one
   layer.
  There is currently a hard-coded limitation to 1 features
 
  I tried with 100 000 features.
  It took 4 mn to export and produced a 50Mo file, but I could open it
  without problem in inkskape.
 
  I propose to change the limit to 1 000 000 features.
  I don't know why there is a max number of features parameter.
  I can also set it to the upper integer limit.
  What do you think ?
 
  Michaël
 
 
 --
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond.
 Discussions
  will include endpoint security, mobile security and the latest in
 malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  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
 
 
 
 
 
 --
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond. Discussions
  will include endpoint security, mobile security and the latest in malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 
 
 
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Some possible improvements in the last OJ : svg export

2012-04-27 Thread edgar . soldin
no problem, how could you have known? .. any input is welcome, especially when 
you agree with me of course ;).

..ede

On 27.04.2012 14:24, Eric Grosso wrote:
 I answered during you did it too. Sorry for this repetition :-)
 
 Eric
 
 On 27 April 2012 12:40, edgar.sol...@web.de mailto:edgar.sol...@web.de 
 wrote:
 
 exactly my point ;) .. ede
 
 On 27.04.2012 12 tel:27.04.2012%2012:31, Eric Grosso wrote:
  Hi Michael,
 
  Why don't remove this limit and using it in a OK/Cancel dialog which 
 could be displayed if there is an important certain number of objects such as
  Due to the important number of objects, the generated SVG file will 
 have an important size and the process may be long (several minutes).
  Do you want to continue?. It will allow users to choose what they want 
 to do and know about the time of the process.
 
  Eric
 
  2012/4/27 Michaël Michaud michael.mich...@free.fr 
 mailto:michael.mich...@free.fr mailto:michael.mich...@free.fr 
 mailto:michael.mich...@free.fr
 
  Hi Eric
  
  
   Bug: the export in SVG works well for small datasets but doesn't 
 work
   for important ones (creation of a kind of strange noisy image
   but not in a SVG format, except for the file extension). If it's 
 just
   an extract of the important dataset, the export is done without
   any problem. I was able to reproduce this problem with more than 
 one
   layer.
  There is currently a hard-coded limitation to 1 features
 
  I tried with 100 000 features.
  It took 4 mn to export and produced a 50Mo file, but I could open it
  without problem in inkskape.
 
  I propose to change the limit to 1 000 000 features.
  I don't know why there is a max number of features parameter.
  I can also set it to the upper integer limit.
  What do you think ?
 
  Michaël
 
  
 --
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond. 
 Discussions
  will include endpoint security, mobile security and the latest in 
 malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  Jump-pilot-devel mailing list
  Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net 
 mailto:Jump-pilot-devel@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
 
 
 
 
  
 --
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond. 
 Discussions
  will include endpoint security, mobile security and the latest in 
 malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 
 
 
  ___
  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
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 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
 
 
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 
 
 
 ___
 Jump-pilot-devel mailing list
 Jump-pilot-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 

Re: [JPP-Devel] New CSV-driver eats original X- and Y-fields

2012-04-27 Thread Michaël Michaud

Hi,
I believe that sometimes people would like to keep also the original X 
and Y fields when they import CSV data. How about having a Import 
coordinates also as attributes check box?


Wouldn't it be better to make this feature independant from the driver ?
What do you think of a plugin with the following options :
add X, add Y and add Z
eventually merged with the plugin 'Calculate areas and lengths' (but 
adding attributes instead of choosing)


Michaël


-Jukka Rahkonen-


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/


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


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] [ jump-pilot-Feature Requests-3203852 ] jml writer performance

2012-04-27 Thread SourceForge . net
Feature Requests item #3203852, was opened at 2011-03-08 23:58
Message generated for change (Settings changed) made by michaudm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679909aid=3203852group_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: File/Data IO
Group: None
Status: Closed
Resolution: Fixed
Priority: 3
Private: No
Submitted By: michael michaud (michaudm)
Assigned to: Nobody/Anonymous (nobody)
Summary: jml writer performance

Initial Comment:
I have a single layer single feature of 4 000 000 points.
I started OpenJUMP with -Xmx=1500M
My features takes about 190 MB in memory
It takes about 1 second to save it in a shapefile
It ends with the following messsage after 12 sec if I stry to save it as a JUMP 
GML (*.jml) file :

java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
at java.lang.AbstractStringBuilder.append(Unknown Source)
at java.lang.StringBuffer.append(Unknown Source)
at 
com.vividsolutions.jump.io.GMLGeometryWriter.startLine(GMLGeometryWriter.java:164)
at 
com.vividsolutions.jump.io.GMLGeometryWriter.write(GMLGeometryWriter.java:293)
at 
com.vividsolutions.jump.io.GMLGeometryWriter.writeLineString(GMLGeometryWriter.java:208)
at 
com.vividsolutions.jump.io.GMLGeometryWriter.writeGeometry(GMLGeometryWriter.java:147)
at 
com.vividsolutions.jump.io.GMLGeometryWriter.write(GMLGeometryWriter.java:130)
at 
com.vividsolutions.jump.io.GMLGeometryWriter.write(GMLGeometryWriter.java:112)
at 
com.vividsolutions.jump.io.GMLWriter.evaluateToken(GMLWriter.java:297)
at com.vividsolutions.jump.io.GMLWriter.write(GMLWriter.java:192)
at com.vividsolutions.jump.io.GMLWriter.write(GMLWriter.java:159)
at com.vividsolutions.jump.io.JMLWriter.write(JMLWriter.java:97)
at 
com.vividsolutions.jump.io.datasource.ReaderWriterFileDataSource$1.executeUpdate(ReaderWriterFileDataSource.java:72)
at 
com.vividsolutions.jump.workbench.datasource.AbstractSaveDatasetAsPlugIn.run(AbstractSaveDatasetAsPlugIn.java:33)
at 
com.vividsolutions.jump.workbench.ui.task.TaskMonitorManager$TaskWrapper.run(TaskMonitorManager.java:151)
at java.lang.Thread.run(Unknown Source)


--

Comment By: michael michaud (michaudm)
Date: 2012-04-27 12:14

Message:
Geometries are now directly written into the Buffered writer instead of
producing a complete Geometry String before being flushed into the writer.

Could write Martin's dataset (200Mo shapefile, 1,7Go jml, largest geometry
 1 000 000 coordinates)

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detailatid=679909aid=3203852group_id=118054

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel