Re: [JPP-Devel] New Measure Extension for OpenJUMP

2012-01-21 Thread Giuseppe Aruta
Hi Matthias,


thanks for your test. Really you were after on my 
list-1st-Oj-member-to-contact, to organize some of these tools on 
AdvancedMeasureTool.
Thanks for the help for German. My intend is to translate these tools in other 
languages, Spanish for instance.
If you translate in German, I will put it together with the other language 
files.

MeasureExtension is still on the 1st stage of development and saome tools were 
not really tested a lot. 
According to your test, I prepared a new version of MeasureExtension plugin

http://sourceforge.net/projects/opensit/files/Openjump/PlugIn/MeasureExtension/MeasureTools02.jar/download

- I picked up your suggestion and I started to migrate all measurement to 
MeasureLayerFinder.
I have never realized before that it was possible to move features and the 
class computes new values.
So I modified all area/lenght measure tools and measure coordinates in this new 
version of MeasureExtension.
On next version I will find a solution for all angle tools - there are so many 
files in working/system category. I will try ColorThemingStyle class to reduce 
them

- I found no IllegalArgumentException on my tests (both linux and Win), anyhow, 
since this tool now uses MeasureLayerFinder class, there must be a new choice, 
even for Polygon and Rectangle tools (BTW what is 4.033303583E8? where does it 
come out?)

- Sorry for my bad English. I corrected  Circle by ray  to Circle by radius 
: drawing a segment you should create a circle and display the area. I added 
double click

- Circle with 3 points is now Circle by 3 points. It draws a circle drawing 
3 points. It has also double click

- Angle referencing north UTM projection is now Azimuth of a vector  on UTM 
projection. It calculates the azimuth of a segment. It has also double click.

- If the Measure Menu is open and I press ESC, then I get an 
IndexOutOfBoundsException I cannot reproduce this bug on Ubuntu/Window. Menu 
is correctly closed. Can you give another try?

regards


Giuseppe










 Da: Matthias Scholz m...@jammerhund.de
A: OpenJump develop and use jump-pilot-devel@lists.sourceforge.net ifies
Inviato: Venerdì 20 Gennaio 2012 20:47
Oggetto: Re: [JPP-Devel] New Measure Extension for OpenJUMPlass
 
Hi Peppe,

really nice work! Some of the features i had on the TODO for the 
AdvancedMeasureTool. Such as angle measurement. I've tested your plugin 
an here are my first
 impressions and hints:

- with the german translation i can help you in the next few days
- with the Arc toll i get an IllegalArgumentException
- Polygon and Rectangle tool  does not format the area. A value of 
4.033303583E8 is bad for the user.
- the Circle with ray tool i don't understand :-( I can paint some 
linestrings, but how can I finish? No double click, no drag helps. What 
is the sense of this tool?
- same for Circle with 3 points and Angle referencing north UTM 
projection
- For some tools you create a normal layer and for other ones you create 
a System layer. This can confuse the user.
- If the Measure Menu is open and I press ESC, then I get an 
IndexOutOfBoundsException.
- In my AdvancedMeasureTool you can edit the Measure, move point for 
example. The tool computes than the new area and length values. This can 
be done with a LayerListener. You can take a look at
 the 
MeasureLayerFinder class to see how it works. I can help you too, if you 
have problems :-)

just my 2 cents for the first

In the future we should talk about some common development for measure 
tools.

Matthias
 Hi developers and users,

 while waiting for OpenJUMP 1.5 stable realize, I prepared a new set of 
 tools for
 measurements.
 These tools are available as an extension here:
 https://sourceforge.net/projects/opensit/files/Openjump/PlugIn/MeasureExtension/

 regards

 Giuseppe Aruta
 http://arbores.wikidot.com/start
 


 --
 Keep Your Developer Skills Current with LearnDevNow!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-d2d
 

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


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

[JPP-Devel] regarding the uninstaller

2012-01-21 Thread edgar . soldin
On 20.01.2012 22:44, Michaël Michaud wrote:
 Hi,
 does it run jar files on doubleclicking? .. ede

you didn't answer, are jars linked to be run by doubleclicking properly? 

 
 Uninstall : javaw is not found. User is invited to find javaw.exe with the 
 explorer.
 If I navigate from windows/system32 to windows/SysWOW64/javaw.exe,
 uninstall works.

is this from startmenu or control panel?

 uninstall from the uninstall jar also works

this is doubleclicking the uninstaller.jar?
 
 Don't know if the desinstaller can switch automatically to 
 windows/SysWOW64/javaw.exe,
 but in my opinion, it is already good as it is.

you should put your jre bin folder into PATH env var as your corner case might 
be problematic in general.
 
 Seems that the desinstaller let something wrong in windows registry. If I 
 desinstall either
 without deleting the whole directory or with deleting the whole directory 
 (checkbox)
 in both cases, re-installation with the same installer will say there is 
 already a uninstall
 directory in the installation directory...

is there a difference if the uninstaller is run privileged as Administrator?

 
 There is still a small problem with encoding of the readme, sorry

jeeez, this was terrible but i finally beat it into submission. should be 
fixed. btw you are blessed with your name ;)
 
 You really did a good job, I think many people did not use OpenJUMP just 
 because
 installation was not as easy and user-friendly as any M$ software.

not quite finished yet. one exe launcher to go, then we can release.

PS: we've gotta check the upcoming osgeo snapshot next week.
PPS: i'll move this back to the list in case somebody is interested.


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] PostGIS-Driver

2012-01-21 Thread Michaël Michaud
Hi,

I internationalized some error messages and updated the readme files.
Should be ready for inclusion in OpenJUMP 1.5.1

Before upload, could you please :
- make a small test
- uwe : have a look at the readme and readme-devel files
- peppe, uwe (or stefan), peppe : translate language files

Thanks for your help

Michaël

Le 19/01/2012 09:11, Uwe Dalluege a écrit :
 whow, hard work!
 Where do you find all the time to do this???

 Thank you for your explanation!

 Uwe


 Mit freundlichen Gruessen

 Uwe Dalluege



--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] regarding the uninstaller

2012-01-21 Thread Michaël Michaud
Hi,
 does it run jar files on doubleclicking? .. ede
 you didn't answer, are jars linked to be run by doubleclicking properly?
If I double click on the jar intaller, installation starts normally
If I double-click on the jar uninstaller, uninstallation starts normally
If I click on windows startmenu StartAll ProgramsOpenJUMPUninstall, 
javaw is searched in windows/system32 and is not found
 Uninstall : javaw is not found. User is invited to find javaw.exe with the 
 explorer.
 If I navigate from windows/system32 to windows/SysWOW64/javaw.exe,
 uninstall works.
 is this from startmenu or control panel?
Oh, forgot the control panel. Desinstallation works find from control 
panel !
 is there a difference if the uninstaller is run privileged as 
 Administrator? 
Not tested, but I think I have all privileges on my windows home edition
 There is still a small problem with encoding of the readme, sorry

 jeeez, this was terrible but i finally beat it into submission. should be 
 fixed. btw you are blessed with your name ;)
Kudos, encoding problems are awful. In France, the é, è and ë as in 
Michaël are often mistreated, but the worst is œ which is OK in 
windows-1252 but not in ISO-8859-1 (AKA LATIN1).
 not quite finished yet. one exe launcher to go, then we can release.
OK thanks,

Michaël
 PS: we've gotta check the upcoming osgeo snapshot next week.
 PPS: i'll move this back to the list in case somebody is interested.


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] regarding the uninstaller

2012-01-21 Thread Michaël Michaud
Hi
 Oh, forgot the control panel. Desinstallation works find from control
 panel !
The application name seems to stay in control panel after application 
removal though.
(could remove it with ccleaner).

Michaël

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Enhancement of raster support: proposed developments

2012-01-21 Thread Michaël Michaud
Hi Alberto,

For external plugins, we have separate repositories
http://jump-pilot.svn.sourceforge.net/viewvc/jump-pilot/plug-ins/

We are not very active on this side, but there are a few extensions 
maintained there.
We can easily create a repository for your projects
Usual structure is
+ PlugIn name (we should say extension)
 + trunk
 + src
 + lib
 ...
 + tag

If you need, we can create it for you.

Michaël

Le 18/01/2012 17:57, Stefan Steiniger a écrit :
 Hi Alberto,

 well... for SVN we have just the usual rules as for other versioning tools.
 Most important is updating before commits are done, that submitted code
 must work (no missing files or libraries), and that commits are commented.

 Btw. the changelog.txt should be updated too when commits are made that:
 - contain new functionality
 - fix a bug
 - change/alter existing code
 or in summary: everything that maybe of importance to/influences the
 work of other developers. So for instance updates of language files do
 not go into changelog, or a change of a variable name, or smaller
 refactoring within a class, or adding a new method within a class when
 you working on functionality. So - something that would be important to
 tell to people in releases for instance.

 All commits are send to our svn log email list, to which you can
 subscribe to see what is going on.

 https://lists.sourceforge.net/lists/listinfo/jump-pilot-svn-notify


 Actually I have a question.
 I am not sure how much you would work with the Framework I ported from
 Sextante and its Toolbox capabilities.
 But, I have seen in Victors blog [1] that he made some larger changes to
 the Sextante framework. And I wonder if you would have time to
 a) test if OpenJUMP works with newer Sextante releases (i.e. our
 interface works),
 b) if we should port this changes to  the raster framework (if there are
 some) to OpenJUMP as well.

 Though - if you think your work is not concerned by changes on the
 Sextante side or you have no time for such things at all, then maybe
 some day I should check compatibility.

 cheers,
 stefan

 [1] http://sextantegis.blogspot.com/2011/04/big-changes-in-sextante.html
 see in particular what he writes about: Algorithm Providers

 On 18/01/2012 1:09 AM, Alberto De Luca - GeA wrote:
 Michaël,

 thank you for your reply. As you said I'm fairly familiar with the
 openjump basecode (well, with some parts of it at least!) but I've never
 used sourceforge/svn before (we mostly use Mercurial), so I thought
 maybe there was something to know about it... Anyway, I'll bother the
 community every time I have a doubt/question :P

 Thank you
 Alberto

 PS:  I will send you a PM with instructions about the AdB-ToolBox
 activation code

 On 18/01/2012 00:09, Michaël Michaud wrote:
 Hi Alberto,

 You now have full access to the svn
 We have not much guidelines.
 I suppose you know our wiki and its pages dedicated to developpers :
 http://sourceforge.net/apps/mediawiki/jump-pilot/index.php?title=Developer_Documentation_and_HowTo

 You probably also know how packages are organized, with the original
 jump com package and the new openjump org package, both being
 organized in a similar way (more or less), with most new plugins going
 now to org.openjump.core.ui.plugin.*. Some parts have been let in
 separate packages, but it is not encouraged.

 We have also a (few years old) xml-based mechanism to
 activate/deactivate new plugins (default-plugins.xml file).

 I don't know what can be useful to you as you probably already knows how
 OpenJUMP is organized quite well.
 The best is to share your ideas and your plans so that any experienced
 programmers and/or users can give you some hints,
 ideas or guidance.

 Regards

 Michaël

 PS - I never could test AdbToolbox because of the activation code needed.
 I wrote to the webmaster and get a user name, a password and a tax code,
 but could never get an activation code.
 I would be pleased if you could help me to get this code (if AdbToolbox
 usage
 is not restricted).


 Le 17/01/2012 09:09, Alberto De Luca - GeA a écrit :
 Hey Stefan and Michael,

 thank you for your enthusiasm and trust! Indeed I am still working on
 AdB-ToolBox, and a new version is expected in the next few months, with
 new tools for hydraulics analysis.

 My sourceforge account name is bertazza. Looking forth to start
 submitting some new raster functions! By the way, have you got any
 particular guideline before I start committing code to sourceforge?

 Thanks guys
 Alberto

 On 13/01/2012 22:26, Stefan Steiniger wrote:
 I did not see your name in the list of OJ authorized commiters.
 Do you want to give me or Stefan your sourceforge user name
 so that we can add it to committer list ?
 thanks Michael,
 didn't thought about this. Your welcome Alberto to commit directly ;)

 stefan

 Michaël

 --
 RSA(R) Conference 2012
 Mar 27 - Feb 2
 Save $400 by 

[JPP-Devel] OpenJUMP 1.5.1 documentation

2012-01-21 Thread Michaël Michaud
Hi,

I uploaded a document which is more or less a french version of
the OpenJUMP list of functions available in the wiki.

http://sourceforge.net/projects/jump-pilot/files/Documentation/OpenJUMP%201.5%20Docs/

It is available in odt/pdf and can be used for improvements or
translation in other languages.

Michaël


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel