Re: [Geotools-gt2-users] FunctionFactory threadsafe?

2013-03-14 Thread Ron Lindhoudt
Hi Jody,   Thanks for your answer. Let me explain it a bit more. I found Functions very useful and I wanted to use a function to do a lookup in another Oracle table with a query because I cannot get a Join working. Because a lookup is executed for each table-row I want to initialize the Connecti

Re: [Geotools-gt2-users] Need help fixing non-noded intersections

2013-03-14 Thread Jody Garnett
I suspect this is a data QA problem (i.e. the line string is not valid). Can you edit the data? You could ask on the JTS list for tips on how to fix, I tend to fix things with buffer(0) which sounds like it may not work in your case. -- Jody Garnett On Thursday, 14 March 2013 at 5:35 AM, GAT

Re: [Geotools-gt2-users] FunctionFactory threadsafe?

2013-03-14 Thread Jody Garnett
The FunctionFactoryFinder(s) keep the registry of FunctionFactory instances thread safe (so we do not create two accidentally). Beyond that your factory could be used by multiple threads. The Function's returned are placed into a Filter or Expression data structure which is generally immutable

Re: [Geotools-gt2-users] SLD with external SVG

2013-03-14 Thread Jody Garnett
> Hi > > I have taken this further - I find that on line 65 of ImageGraphicFactory, > this happens > > if (!supportedGraphicFormats.contains(format.toLowerCase())) > return null; > > And my format (image/svg or image/svg+xml) isn't in the list. So that's > obvious now. The

Re: [Geotools-gt2-users] Can't load a service for category "FileDataStoreFactorySpi

2013-03-14 Thread Jody Garnett
> Despite the GeoTools Quickstart example runs just fine the code from Rafal > Rusin throws a large list of warnings wich i'm uncapable of understand or > trace. > > Lets have a look … the GeoTools "factory finder" classes look up implementations on the class path (hunting for META_INF/ser

[Geotools-gt2-users] Can't load a service for category "FileDataStoreFactorySpi

2013-03-14 Thread Alejandro Gomez Auad
Hi, i was wondering whether you could help me with the error in the subject. The thing is i copied an example from Rafal Rusin's blog at http://rrusin.blogspot.com.ar/2011/06/visualizing-gis-data-in-javafx-20-beta.htmland made jus a small change to it. As I'm new to both JavaFX and GeoTools and I

Re: [Geotools-gt2-users] SLD with external SVG

2013-03-14 Thread Chris Faulkner
Hi I have taken this further - I find that on line 65 of ImageGraphicFactory, this happens if (!supportedGraphicFormats.contains(format.toLowerCase())) return null; And my format (image/svg or image/svg+xml) isn't in the list. So that's obvious now. The samples (for example,

Re: [Geotools-gt2-users] FunctionFactory threadsafe?

2013-03-14 Thread Ron Lindhoudt
So this means that when I set a non-static private variable in a function of FunctionFactory that this variable does not change during the execution of this function by another call?   Ron From: Andrea Aime To: Ron Lindhoudt Cc: "GeoTools-GT2-Users@lists.so

Re: [Geotools-gt2-users] FunctionFactory threadsafe?

2013-03-14 Thread Andrea Aime
On Thu, Mar 14, 2013 at 3:07 PM, Ron Lindhoudt wrote: > Hey, > > I created a new FunctionFactory and registered this in services. > I want to know if FunctionFactory is threadsafe > It has to be thread safe, yes Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solution

[Geotools-gt2-users] FunctionFactory threadsafe?

2013-03-14 Thread Ron Lindhoudt
Hey,   I created a new FunctionFactory and registered this in services. I want to know if FunctionFactory is threadsafe     Thanks.   Ron Lindhoudt-- Everyone hates slow websites. So do we. Make your web apps faster with Ap

[Geotools-gt2-users] SLD with external SVG

2013-03-14 Thread Chris Faulkner
Hi Using "StyleLab" from the demo and some point data in a shape file, I successfully displayed points on a map and can see how to alter the style and it is helping me to understand the opengis spec on style. I altered StyleLab so that it displayed the points symbolised with a PNG defined in an