[JPP-Devel] Fwd: Weekly SoC Reports

2008-07-20 Thread Leandro Leal Parente
Hi,

In this week I work on my code. I finished same class like of my project
core: ParameterSet, ProceduresIO and LibPatternsFactory. I made some test of
this class and correct same errors. I hope to finish my core aplicattion
after 1 month.

Thanks,
Leandro Leal
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Bunch of questions (mostly UI based)

2008-07-20 Thread Christopher

After spending a bunch of time wading through code looking for answers and 
coming up short, I thought I'd ask the JUMP gurus on the list and see if anyone 
can shed some enlightenment...

1. In the MultiInputDialog that comes up when a plugin is executed:

1a. Is there a way to input a filename other than just a TextField? 
Specifically I want to have a TextField with an icon next to it that when 
clicked will bring up a file browser similar to the "open file" dialog.

1b. Is there a way to have a drop down set of layers that also include the 
option of not selecting a layer? IE "None - Layer1 - Layer2 - ... - LayerN"

2. How does JUMP deal with units? Is everything internally represented as 
meters and external data sources are required to do the conversion, or is there 
some sort of on the fly conversion available?

3. What is the most efficient 1-D spatial datastructure in the JTS index 
package: bintree, intervaltree, or SIRtree (the index won't be modified after 
initial loading, before any queries)?

4. In the layer manager panel on the left hand side:

4a. How do I change the font for a layer to bold?

4b. How do I add a visibility checkbox?

4c. How do I add an icon to the left of the visibility checkbox?

4d. Is there a way to have sub items for the layer. For instance if a TIN was 
created with different colored height bands, I'd like to display an icon of 
each color followed by the height range that color represents.


Thanks for any help you can offer,
--Christopher


  

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] DbfFile and String intern

2008-07-20 Thread Michael Michaud
Hi,

I just replaced the String.intern() mechanism used in DbfFile to save 
memory heap space by the use of a temporary HashMap.

Please, tell me if you notice any strange behaviour in the shapefile reader.

For those of you interested by performance tuning, a short abstract of 
what we did to try to optimize DbfFile reader :

Exemple : loading a 50 features with attribute A (50 different 
values) and attribute B (50 identical values)

version 1 (original jump) : loads 50 strings for A + 50 strings 
for B in the jvm heap space
==> big waste of memory for case B

version 2 (optimized by MM and Larry) : loads 50 strings in permgen 
memory for attribute A and 1 string in permgen memory for attribute B
==> need to tune max permgen memory when loading big shapefiles with 
attributes like A
==> permgen memory cannot be cleaned (no way to free the permgen space 
if the layer is deleted)
==> from my experience, the try/catch block added by Larry to switch 
from permgen space to heapspace in case or error did not prevent a 
permgen exception to rise and to stop the process

version 3 (today) : loads 50 strings in the heapspace for A and 1 
string in the heapspace for B
==> the loading guaranty unicity of field value for one layer only 
(string will be duplicated for each loaded layer)
==> all the strings are in the heapspace (and can be free if the layer 
is deleted)

Michaël

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Bunch of questions (mostly UI based)

2008-07-20 Thread Michael Michaud
Hi, Christopher,

A few answer only

Christopher a écrit :
> After spending a bunch of time wading through code looking for answers and 
> coming up short, I thought I'd ask the JUMP gurus on the list and see if 
> anyone can shed some enlightenment...
>
> 1. In the MultiInputDialog that comes up when a plugin is executed:
>
> 1a. Is there a way to input a filename other than just a TextField? 
> Specifically I want to have a TextField with an icon next to it that when 
> clicked will bring up a file browser similar to the "open file" dialog.
>   
There is no open file dialog, but there is an addRow method to add 
customized components
May be it is worthwhile adding an open file component...

> 1b. Is there a way to have a drop down set of layers that also include the 
> option of not selecting a layer? IE "None - Layer1 - Layer2 - ... - LayerN"
>   
- building your own combobox with None-layer1-layer2...
- adding a checkbox like "use a layer" and making it interact with the 
layer combobox
> 2. How does JUMP deal with units? Is everything internally represented as 
> meters and external data sources are required to do the conversion, or is 
> there some sort of on the fly conversion available?
>   
I think that for now, OpenJUMP simply doesn't know which units are used 
in geometry objects (but it may suppose units are meter in some plugin)
> 3. What is the most efficient 1-D spatial datastructure in the JTS index 
> package: bintree, intervaltree, or SIRtree (the index won't be modified after 
> initial loading, before any queries)?
>
> 4. In the layer manager panel on the left hand side:
>
> 4a. How do I change the font for a layer to bold?
>
> 4b. How do I add a visibility checkbox?
>
> 4c. How do I add an icon to the left of the visibility checkbox?
>
> 4d. Is there a way to have sub items for the layer. For instance if a TIN was 
> created with different colored height bands, I'd like to display an icon of 
> each color followed by the height range that color represents.
>   
Did you  have a look to the color theming plugin which adds one sub-item 
per attribute value under the layer name in the layername panel. ?
> Thanks for any help you can offer,
> --Christopher
>   
Thanks for the good work on Tin PlugIn

Michaël
>
>   
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
>
>   


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel