Re: [Geotools-devel] Postgis and sql injection

2007-02-21 Thread Andrea Aime
Jody Garnett ha scritto: > Thanks - I glanced over (and the prepaired statement approach seems > similar to what is done on the Oracle side of things). > > I understand that this is a security concern, however did you notice any > other improvement switching over to using prepaired statements?

[Geotools-devel] [jira] Created: (GEOT-1165) SLDTransformer unable to generate NamedStyle elements

2007-02-21 Thread raif (JIRA)
SLDTransformer unable to generate NamedStyle elements - Key: GEOT-1165 URL: http://jira.codehaus.org/browse/GEOT-1165 Project: GeoTools Issue Type: Bug Components: core main A

Re: [Geotools-devel] Postgis and sql injection

2007-02-21 Thread Jody Garnett
Thanks - I glanced over (and the prepaired statement approach seems similar to what is done on the Oracle side of things). I understand that this is a security concern, however did you notice any other improvement switching over to using prepaired statements? Jody > Hi all, > > I have been work

[Geotools-devel] Postgis and sql injection

2007-02-21 Thread Justin Deoliveira
Hi all, I have been working on the sql injection issue in postgis: http://jira.codehaus.org/browse/GEOS-597 I have uploaded the diffs that I wish to commit. I thought I would post them for review to whomever is interested since the changes are significant. The changes essentially amount to using

Re: [Geotools-devel] merging Krovak to 2.3

2007-02-21 Thread Martin Desruisseaux
Jan Jezek a écrit : > I would like to merge Krovak projection from trunk to 2.3 branch to get it > working properly (with EPSG-HSQL) in Geoserver and partly in uDig too. Would > you mind if I do that? Sure, you are welcome :) > Another little question - I'm little bit confused from the encod

[Geotools-devel] merging Krovak to 2.3

2007-02-21 Thread Jan Jezek
Hi Martin, I would like to merge Krovak projection from trunk to 2.3 branch to get it working properly (with EPSG-HSQL) in Geoserver and partly in uDig too. Would you mind if I do that? Another little question - I'm little bit confused from the encoding. I've switched my IDE into ISO-LATIN-1

Re: [Geotools-devel] [Geotools-gt2-users] Retrieving FIDs on WFS inserts

2007-02-21 Thread Andrea Aime
Jody Garnett ha scritto: >> Hum, I think you're onto something here. >> WFSFeatureStore.addFeatures() behaves >> in a peculiar way if you're inside a transaction: it clones the >> feature you've passed, >> and returns a set of random fids, without really hitting the >> WFS server. > The WFSFeatu

Re: [Geotools-devel] DefaultFeatureResults QA review & blog

2007-02-21 Thread Andrea Aime
Jody Garnett ha scritto: > Thanks Andrea > > A couple of blog posts as I do this QA run: > - http://weblogs.java.net/blog/jive/archive/2007/02/the_code_always.html > - http://weblogs.java.net/blog/jive/archive/2007/02/the_code_always_1.html > > Cheers, > Jody >> Thanks Andrea I like that one a *l

[Geotools-devel] DefaultFeatureResults QA review & blog

2007-02-21 Thread Jody Garnett
Thanks Andrea A couple of blog posts as I do this QA run: - http://weblogs.java.net/blog/jive/archive/2007/02/the_code_always.html - http://weblogs.java.net/blog/jive/archive/2007/02/the_code_always_1.html Cheers, Jody > Thanks Andrea I like that one a *lot* ... I did not want to throw an > exce

[Geotools-devel] Picking back up the OSGeo ball: Another draft Contribution agreement

2007-02-21 Thread Adrian Custer
Hey Frank, all, There's a new draft of a possible document for Copyright Assignment from Geotools contributors to OSGeo on the wiki at the end of: http://docs.codehaus.org/display/GEOTOOLS/Incubation+for+acceptance+to +OSGeo as PDF and OpenDoc Format. This draft incorporates the FSF Europe's FLA a

Re: [Geotools-devel] Parsing large feature collections

2007-02-21 Thread Justin Deoliveira
Hi Michael, I suggest for any reasonable size dataset you use the StreamingParser: StreamingParser parser = new StreamingParser(configuration,"//gml:featureMember"); try{ Feature f = null; while ( ( f = parser.parse() ) != null ) { ... } }... } Some more info ab

[Geotools-devel] Parsing large feature collections

2007-02-21 Thread Michael Lutz
We are running into big memory problems when trying to parse large GML files containing WFS feature collections (e.g. 25000 points, about 25MB as GML) using the following code: public static FeatureCollection readFromInputStream(InputStream in) { Configuration configuration = new WFSConfigur

Re: [Geotools-devel] DefaultFeatureResults QA review

2007-02-21 Thread Jody Garnett
Andrea Aime wrote: >> The last two statements can be commented out (the DefaultQuery >> constructor copes the coordinateSystem and coordinateSystemReproject. >> The trouble is changing the typeName .. this used to not exist; and >> then it used to be an exception. And then this code carefully ign

Re: [Geotools-devel] [Geotools-gt2-users] Retrieving FIDs on WFS inserts

2007-02-21 Thread Jody Garnett
Andrea Aime wrote: > zze-M2S FRISON V ext RD-BIZZ-SOP ha scritto: >> Nobody has an answer to my 2 questions? > Guess not :( > Ok, I'm not the wfs datastore mantainer, but I can have a quick look > at the code. Some of these are DataStore API questions ... afraid I have not kept up with the user l

[Geotools-devel] Styling (GeoTIFF) coverages

2007-02-21 Thread Gertjan van Oosten
What is the current status of the RasterSymbolizer? Which types of coverage can use an SLD? Of the supplied demo's using GeoTIFF, none seem to be rendered using the raster.sld. The tutorial: http://docs.codehaus.org/display/GEOSDOC/User+Tutorial+Coverage tells you to select the 'raster' style,

Re: [Geotools-devel] [Geotools-gt2-users] Retrieving FIDs on WFS inserts

2007-02-21 Thread Andrea Aime
zze-M2S FRISON V ext RD-BIZZ-SOP ha scritto: > Nobody has an answer to my 2 questions? Guess not :( Ok, I'm not the wfs datastore mantainer, but I can have a quick look at the code. > 1) Why featureStore.addFeatures() is returning wrong FIDs (ie. not the > ones which are based on the DB sequence

Re: [Geotools-devel] Who is the moderator? [Fwd: Your message awaits moderator approval]

2007-02-21 Thread Adrian Custer
Ha! You just beat me. Page with attachments is here: http://docs.codehaus.org/display/GEOTOOLS/Incubation+for+acceptance+to +OSGeo All the best, adrian On Wed, 2007-02-21 at 11:15 +0100, Gabriel Roldán wrote: > done. > though the message still didn't reach my desk, lets wait for a couple more >

Re: [Geotools-devel] Who is the moderator? [Fwd: Your message awaits moderator approval]

2007-02-21 Thread Gabriel Roldán
done. though the message still didn't reach my desk, lets wait for a couple more minutes. Also, I guess large attachements should be placed on the wiki somewhere (might be complaining with no cause since I really didn't saw how large it is) regards, Gabriel (co-moderator :) On Wednesday 21 Fe

Re: [Geotools-devel] DefaultFeatureResults QA review

2007-02-21 Thread Andrea Aime
Jody Garnett ha scritto: > Hi Andrea I am walking through some test case code looking into that > Query thing > > The following code looks suspect (and svn blame lists you as the author > - may be an accident of Jalopy): >public DefaultFeatureResults(FeatureSource source, Query query) {