Re: [JPP-Devel] Selecting WMS image format

2008-06-02 Thread Rahkonen Jukka
 

> -Alkuperäinen viesti-
> Lähettäjä: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Puolesta Andreas Schmitz
> Lähetetty: 29. toukokuuta 2008 17:50
> Vastaanottaja: List for discussion of JPP development and use.
> Aihe: Re: [JPP-Devel] Selecting WMS image format
> 
> Andreas Schmitz wrote:
> 
> Hi,
> 
> > > Is it possible somehow to select the image format OpenJUMP is 
> > > requesting from the WMS server if that supports several formats?
> > 
> > I don't think so. It is a often requested feature, though, 
> so adding 
> > it (for
> > example) below the SRS drop down box would be the way to go.
> 
> it's done.

Thanks.  I tested is with a WMS service that I knew to be slow with png but 
much faster with jpeg. As I supposed, image does come faster till OpenJUMP with 
jpeg selection now.  Nice thing that you added the selection into "Edit WMS 
query" so it can be changed on-the-fly. OpenJUMP WMS is now pretty good to me. 
But perhaps there might be a button "Show GetCapabilities document"?  There is 
sometimes useful human readable information like contact address etc.

-Jukka Rahkonen-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] Another minory bug in JUMP DB Query plugin by Larry Reeder

2008-06-02 Thread Rahkonen Jukka
Hi,

Closing dialog from the corner X does not do quite what I am waiting
for. Instead of having the same effect than Cancel is seems to start a
new database query as if I pressed OK.

-Jukka Rahkonen-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Selecting WMS image format -Minory issue

2008-06-02 Thread Rahkonen Jukka
Hi Andreas,

With one of our WMS services the format list does not appear to the
dialog even the capabilities document does contain three supported
formats.  However, after adding WMS layes the correct image format list
appears to the Edit WMS query dialog and formats are selectable from
there.  I can send this problematic GetCapabilies document as private
mail if you wish.

-Jukka Rahkonen-

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Log4j.xml and openjump.bat

2008-06-02 Thread Andreas Schmitz
Stefan Steiniger wrote:

Hi,

> thank you for the note.
> The xml file is only there for the nightly build... up to know (not sure 
> if we should change that?

I opt for removing the file and the reference.

Best regards, Andreas
-- 
l a t / l o n  GmbH
Aennchenstrasse 19   53177 Bonn, Germany
phone ++49 +228 18496-12 fax ++49 +228 1849629
http://www.lat-lon.dehttp://www.deegree.org

---
On June 17 is deegree day - Am 17. Juni ist deegree day
  http://deegree.org/deegreeday


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Path for Save Dataset As...

2008-06-02 Thread Stefan Steiniger


> One question:
> How can I get the information about the path of the layer?

mhm.. I think Larry used this in his layer properties plugin.
let me look:

could be these lines:
*
Object fnameObj = dsq.getDataSource().getProperties().get("File");
if (fnameObj != null){
sourcePath = fnameObj.toString();
}
*

stefan

> 
> One little remark:
> If the layer is empty and I use
> "Save Selected Datasets" no warning or errormessage appears
> in the Output Window or in the message field (yellow).
> 
> 
> 
> Thank you for your patience and your help!
> 
> Regards
> 
> Uwe
> 
> Larry Becker schrieb:
>> Hi Uwe,
>>
>>   Your explanation makes sense in the context you present it.  What 
>> isn't clear to me is why "Save Selected Datasets" isn't being used to 
>> save the changes.  The only reason to use the "Save Dataset As" command 
>> is when you wish to make a new copy of the layer.
>>
>> regards,
>> Larry
>>
>> On Wed, May 28, 2008 at 1:26 AM, Uwe Dalluege 
>> <[EMAIL PROTECTED] > wrote:
>>
>> Hi Larry, hi Landon,
>>
>> please let me explain this problem from the
>> user-side, so maybe it would be clear what I mean :-)
>>
>> 1. I have a new project with two layer.
>>
>> 2. Then I save the first layer to directory A and
>> the second layer to directory B.
>>
>> 3. After that I save the project and open the project again.
>> OpenJUMP loads the first layer from directory A and the second
>> layer from directory B.
>> Everything is fine :-)
>> So I think ( as a user ) OpenJUMP knows where to find the layer.
>>
>> But...
>> When I save with Save Datset As... the first layer to directory A
>> and the second layer to directory B and I try to save the first
>> layer again
>> the default path is directory B!
>>  From the user-side it is not clear why OpenJUMP could not remember
>> where the layer was saved.
>>  From the user side it would be nice when I save layer A and layer B
>> to differend directories that Save Dataset As... knows where to save
>> the layer.
>>
>>  From the programmer side I think, there must be an attribute for
>> each layer with the path of the layer.
>> The Save Project knows the path of each layer because
>> in the project files there is the right path!
>> I don't know how OpenJUMP stores the path of each layer but
>> the information is there. Maybe it is possible
>> that Save Dataset As... can use this information???
>>
>> Best regards
>>
>> Uwe
>>
>>
>> Mit freundlichen Gruessen
>>
>> Uwe Dalluege
>>
>> 
>> --
>> HafenCity Universitaet Hamburg
>> Department Geomatik
>> Rechenzentrum
>> Dipl.-Ing. Uwe Dalluege   :-)
>> Hebebrandstr. 1
>> 22297 Hamburg
>> Tel.: +49 40 42827 - 5335 oder 5353 oder 5313
>> Fax:  +49 40 42827 - 5409
>> E-Mail: mailto:[EMAIL PROTECTED]
>> 
>> Url: http://www.hcu-hamburg.de/geomatik/
>> 
>> --
>>
>>
>> Larry Becker schrieb:
>>
>> Hi Uwe,
>>
>>  It is certainly possible to synchronize the default directory
>> for the project and the Save Dataset As, however it is likely
>> that unintended consequences will result.  Consider that if we
>> do make a single default path, opening another project will
>> reset the Save As Path for both Projects to be that of the newly
>> opened project.  This could easily cause the same problem you
>> mentioned.
>>
>>  My internal users complain about this issue frequently, but it
>> is a case of damned-if-you-do and damned-if-you-don't since what
>> they really want is for the program to always default to the
>> directory they are thinking of.
>>
>>  It is really a case of what you consider to be the "best
>> practices" of file management.  For instance, I like to keep all
>> of my project files in the same directory, and use subfolders
>> for the dataset files.  Having a single default path would make
>> this cumbersome.
>>
>>  I agree that the potential for error in saving files to the
>> wrong directory is serious and very real.  I just don't know a
>> solution that won't just change where the problem occurs.
>>  Perhaps someone else has an idea.
>>
>> best regards,
>> Larry
>>
>>
>>
>>
>> On Tue, May 27, 2008 at 4:03 AM, Uwe Dalluege
>> <[EMAIL PROTECTED]
>> 
>> > >> wrote:
>>
>>Hi,
>>
>>there is a source of error with Save Dataset As...
>>and Save Selected Datasets:
>>
>>1. Open a project with two 

Re: [JPP-Devel] Log4j.xml and openjump.bat

2008-06-02 Thread Stefan Steiniger
Hei Jukka,

thank you for the note.
The xml file is only there for the nightly build... up to know (not sure 
if we should change that?

stefan

Rahkonen Jukka wrote:
> Hi,
> 
> Openjump.bat contains this line:
> set JAVA_OPTS=-Xms256M -Xmx256M "-Djump.home=%JUMP_HOME%"
> "-Dlog4j.configuration=file:%JUMP_HOME%\bin\log4j.xml"
> 
> However, log4j.xml is actually at %JUMP_HOME%\conf\log4j.xml"
> 
> -Jukka Rahkonen-
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> 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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Log4j.xml and openjump.bat

2008-06-02 Thread Paul Austin
How about this as a solution. We rename the log4j.xml to 
log4j.xml.sample and then in the .bat file so a test to see if the 
log4j.xml file exists in the conf directory and only if it is there does 
it add it to the options when launching the application.


This way people can easily use it if they want to.

Paul

Andreas Schmitz wrote:

Stefan Steiniger wrote:

Hi,

  

thank you for the note.
The xml file is only there for the nightly build... up to know (not sure 
if we should change that?



I opt for removing the file and the reference.

Best regards, Andreas
  



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


___
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] New idea for my workplan

2008-06-02 Thread Stefan Steiniger
Hei Leandro,

I do not understand what both functions should do. That is why you need 
to write the work-plan. So that I can see on an example what they should 
do (an I do not know the gvSIG/sextante code). Can you give a better 
description of what you mean?


However, what comes to my mind is that calling an internal OpenJUMP 
function is similar to calling a function from a web-service. If you 
want I can send you some code. But it will take you a while to figure 
out how the webservice works.

please have a look on this web-service plugin:
http://webgen.geo.uzh.ch/
http://webgen.geo.uzh.ch/install.html
- go to the WebGen06 menu in OpenJUMP
- select the function WebGEN list services
- set the path to the services is:
http://webgen.geo.unizh.ch/webgen/registry
- use the BufferFeatures function as example

I think the only difference between your Model and the Webservices are
. for the webservices the GIS function may be somewhere else (internet) and
. your JUMP Plugin will show also a table in the beginning, but then you 
select the function from a model "sheet" .


Stefan

note: i send a cc to the developer list, in case somebody has other ideas.

Leandro Leal Parente wrote:
> All right Stefan,
> 
> So I will make one extension named Open ModelBuilder. That extension 
> will be haver two plugins:
> 
> * ManageProcedures;
> * MakeModels;
> 
> For this project, I will be impĺements a MakeModels only with internals 
> input parameters. For I insert one input parameters into the my model, I 
> fist insert this into OpenJUMP. What you think about this ?
> 
> Same questions :
> 
> What input paraments I will make ?
> How I define input and output parameters for the procedures ?
> How my extension was interpret my model ? I will be implements a 
> interpretor ?
> 
> Thanks,
> 
> 2008/6/2 Stefan Steiniger <[EMAIL PROTECTED] >:
> 
> Hei Leandro,
> 
> I agree with Nacho. You should go on with the original workplan.
> 
> And the encapsulation of algorithms is fine for us... I think, what
> Nacho meant was that you make examples (3-4, such as union,
> buffer,...) and then we/other programmers of OpenJUMP can see how
> you did it and do it in the same way for the other functions (e.g.
> for the function: Calculate Geometry Differences)
> 
> stefan
> 
> Nacho Uve wrote:
> 
>2008/6/2 Leandro Leal Parente <[EMAIL PROTECTED]
> 
>>>:
> 
>Hi Nacho,
> 
>If you think is very very difficult, I believe because you
> know more
>about OJ and gvSIG than me. But one question, who I define a
> schema
>for other peoples create a new procedures.
> 
> 
> Yes, Sextante for OJ will be great, but I'm afraid there is many
> many work to do.
> Talking with Victor Olaya and some gvSIG programmers, I saw that
> they was working very hard together... :/
> Maybe, it's too much ambitious at this moment... but maybe in
> the future!!!
> 
> 
>I was think about that in last week. I will implements a library.
>That library will contains a lot of encapsulated algorithms ,
> like
>union, intersection, buffer and others. All procedures will
> access
>that library  with this algorithms. So will be a reuse of
> code. What
>you think ?
> 
> 
> Yes, that's right for me. I think it is the way.
> 
> 
> 
> 2008/6/2 Leandro Leal Parente <[EMAIL PROTECTED]
>   >>:
> 
> 
>Hi Nacho,
> 
>If you think is very very difficult, I believe because you
> know more
>about OJ and gvSIG than me. But one question, who I define a
> schema
>for other peoples create a new procedures.
> 
>I was think about that in last week. I will implements a library.
>That library will contains a lot of encapsulated algorithms ,
> like
>union, intersection, buffer and others. All procedures will
> access
>that library  with this algorithms. So will be a reuse of
> code. What
>you think ?
> 
>Thanks
> 
>2008/6/2 Nacho Uve <[EMAIL PROTECTED]
>   >>:
> 
> 
>Hi Leandro,
> 
>I think make SEXTANTE for OJ is very very difficult.
>  Much more
>work for you...
>OJ and gvSIG are very differents! Many changes was done
> to adapt
>SEXTANTE to gvSIG... I think It's better go ahead with the
>initial idea.
> 
>Don't worry a

Re: [JPP-Devel] Log4j.xml and openjump.bat

2008-06-02 Thread Paul Austin
Right, I forgot we added the conf dir to the classpath. I think we 
should provide a sample log4j.xml file for the complete novice users.


Paul

Andreas Schmitz wrote:

Paul Austin wrote:

Hi,

  
How about this as a solution. We rename the log4j.xml to  
log4j.xml.sample and then in the .bat file so a test to see if the  
log4j.xml file exists in the conf directory and only if it is there does  
it add it to the options when launching the application.


This way people can easily use it if they want to.



this is not really necessary, as log4j automatically adds any log4j.properties
and log4j.xml files in the classpath to the configuration.

Best regards, Andreas
  



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


___
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Log4j.xml and openjump.bat

2008-06-02 Thread Andreas Schmitz
Paul Austin wrote:

Hi,

> Right, I forgot we added the conf dir to the classpath. I think we  
> should provide a sample log4j.xml file for the complete novice users.

on that I'm agreed. Maybe we should clean up the file since it contains many
entries right now which we don't really need.

We could also switch to the properties file (I find it much easier to read).

Best regards, Andreas
-- 
l a t / l o n  GmbH
Aennchenstrasse 19   53177 Bonn, Germany
phone ++49 +228 18496-12 fax ++49 +228 1849629
http://www.lat-lon.dehttp://www.deegree.org

---
On June 17 is deegree day - Am 17. Juni ist deegree day
  http://deegree.org/deegreeday


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Log4j.xml and openjump.bat

2008-06-02 Thread Andreas Schmitz
Paul Austin wrote:

Hi,

> How about this as a solution. We rename the log4j.xml to  
> log4j.xml.sample and then in the .bat file so a test to see if the  
> log4j.xml file exists in the conf directory and only if it is there does  
> it add it to the options when launching the application.
>
> This way people can easily use it if they want to.

this is not really necessary, as log4j automatically adds any log4j.properties
and log4j.xml files in the classpath to the configuration.

Best regards, Andreas
-- 
l a t / l o n  GmbH
Aennchenstrasse 19   53177 Bonn, Germany
phone ++49 +228 18496-12 fax ++49 +228 1849629
http://www.lat-lon.dehttp://www.deegree.org

---
On June 17 is deegree day - Am 17. Juni ist deegree day
  http://deegree.org/deegreeday


signature.asc
Description: Digital signature
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] Log4j.xml and openjump.bat

2008-06-02 Thread Paul Austin
I agree on cleaning up the config file. I think it should have one 
appender for a openjump.log file which would overwrite on each launch of 
the application. For logging levels set it to ERROR on the root.


I disagree on the properties file, I find it very inflexible compared to 
the xml file.


Paul

Andreas Schmitz wrote:

Paul Austin wrote:

Hi,

  
Right, I forgot we added the conf dir to the classpath. I think we  
should provide a sample log4j.xml file for the complete novice users.



on that I'm agreed. Maybe we should clean up the file since it contains many
entries right now which we don't really need.

We could also switch to the properties file (I find it much easier to read).

Best regards, Andreas
  



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/


___
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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


[JPP-Devel] new webpage

2008-06-02 Thread Stefan Steiniger
Hi all,

I found on Friday a quite nice webpage with free css-templates. As I 
needed to wait a bit on that same evening for somebodies response I did 
a trial for a new JPP web page. I was realy suprised how easy it has 
been with that templates and a good txt editor (Notepad++).

So the result after 6 hours of "playing around" is online since Friday 
night - with some minor improvements today (color change from JUMP green 
to OJ orange ;):

http://jump-pilot.sourceforge.net/

The content is copied mostly from Landon's previous page.

Any hints for improvements with respect to design and content - or even 
somebody who would help to maintain it - are appreciated.

cheers
Stefan

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


Re: [JPP-Devel] new webpage

2008-06-02 Thread Giuseppe Aruta
Hi Stefan

The page is interesting and looks more professional
:-). A simple note: the regulat black test seems too
grey on my screen and not easy to read (at least
comparing to wiki page). 

Regards

Peppe
Which webpage (free css) did you find? 
--- Stefan Steiniger <[EMAIL PROTECTED]> ha scritto:

> Hi all,
> 
> I found on Friday a quite nice webpage with free
> css-templates. As I 
> needed to wait a bit on that same evening for
> somebodies response I did 
> a trial for a new JPP web page. I was realy suprised
> how easy it has 
> been with that templates and a good txt editor
> (Notepad++).
> 
> So the result after 6 hours of "playing around" is
> online since Friday 
> night - with some minor improvements today (color
> change from JUMP green 
> to OJ orange ;):
> 
> http://jump-pilot.sourceforge.net/
> 
> The content is copied mostly from Landon's previous
> page.
> 
> Any hints for improvements with respect to design
> and content - or even 
> somebody who would help to maintain it - are
> appreciated.
> 
> cheers
> Stefan
> 
>
-
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio
> 2008.
>
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> 



  ___ 
Scopri il Blog di Yahoo! Mail: trucchi, novità, consigli... e la tua opinione!
http://www.ymailblogit.com/blog/


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel