Re: [Geotools-gt2-users] How to redirect HSQL logging message

2009-01-29 Thread Benoît Thiébault
I will have a look at this library too, which is used, by the way, by the NetCDF library. Thanks ! Le 30 janv. 09 à 07:24, Jody Garnett a écrit : Here is the tricky logging library I was thinking of that may help you; it implements the same classes as are found in commons logging, log4j an

Re: [Geotools-gt2-users] How to redirect HSQL logging message

2009-01-29 Thread Jody Garnett
Here is the tricky logging library I was thinking of that may help you; it implements the same classes as are found in commons logging, log4j and others in order to take charge of the whole lot from whatever libraries you are using. - http://www.slf4j.org/ Jody On Fri, Jan 30, 2009 at 5:24 PM, Jo

Re: [Geotools-gt2-users] How to redirect HSQL logging message

2009-01-29 Thread Jody Garnett
Check out the user guide advanced section on logging; you can actually choose what logging system geotools uses (since we get stuck with apps using log4j and other apps using java logging etc...) - http://docs.codehaus.org/display/GEOTDOC/Logging If you have any additional questions (or can get us

Re: [Geotools-gt2-users] Styling problem

2009-01-29 Thread nvidia
I will try it i'll let u know how it goes. Thanks again. Michael Bedward wrote: > >> The reason i ask is beacuse very early on when following some of the >> tutorials in my ConstructMap.java i created a constrStyle object passed >> the >> following: >> >> // Pass file and feature schema referr

Re: [Geotools-gt2-users] Styling problem

2009-01-29 Thread Michael Bedward
> The reason i ask is beacuse very early on when following some of the > tutorials in my ConstructMap.java i created a constrStyle object passed the > following: > > // Pass file and feature schema referrence to myCreateStyle function >constrStyle.myCreateStyle(file, myFeatureTypeSchema);

Re: [Geotools-gt2-users] Styling problem

2009-01-29 Thread nvidia
Hi, thanks for the reply, i added the section to my ConstructStyle.java class file, but wanted to ask because i want to display my shapefile by using java's file chooser (i.e file->open->my.shp), is there anything that i would need to also add with regards to the function createLineStyle? The

Re: [Geotools-gt2-users] How to redirect HSQL logging message

2009-01-29 Thread Benoît Thiébault
It works ! Thank you Martin ! Le 29 janv. 09 à 19:22, Martin Desruisseaux a écrit : > Benoît Thiébault a écrit : >> I am using Log4j as logging system for my application and I would >> like to redirect this message to another appender, a graphical >> dialog that is more user friendly than a

Re: [Geotools-gt2-users] How to redirect HSQL logging message

2009-01-29 Thread Martin Desruisseaux
Benoît Thiébault a écrit : > I am using Log4j as logging system for my application and I would like > to redirect this message to another appender, a graphical dialog that > is more user friendly than a console log. How can I do this ? Could you try to put the following line at the begining o

[Geotools-gt2-users] problem external graphic

2009-01-29 Thread abel
Hello, i have a problem with external graphic in geotools version 2.5-m3. i am create the external graphic: URL url = urlImages.get(nameUrl.trim()); ExternalGraphic ext = sb.createExternalGraphic(url, "image/png"); Graphic graph2 = sb.createGraphic(ext, null, null, 1, 10, 0); PointSymbolizer poi

[Geotools-gt2-users] How to redirect HSQL logging message

2009-01-29 Thread Benoît Thiébault
Hi everyone ! When the EPSG database is created, an INFO log message is written in the console to tell you that the creation is going to take a while. I am using Log4j as logging system for my application and I would like to redirect this message to another appender, a graphical dialog that

[Geotools-gt2-users] Query WMS Layer for info

2009-01-29 Thread Nicolás Badano
Hello, I have a org.geotools.data.ows.Layer and I want to query all its data to form a matrix. How do I query the layer? thanxs! -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your stor

Re: [Geotools-gt2-users] Masking an RasterImage with another one

2009-01-29 Thread Agossa
Hello Michael, Thanks a lot for your quick reply, Regards. Agossa. Michael Bedward wrote: > > Hi Agossa, > > It might be easiest for you to get the backing image from grid > coverage and use JAI methods for the masking and calculation. In JAI > parlance, masking is referred to as defining a "r