Re: [Geotools-devel] Maven repository -> 401 error

2019-05-13 Thread Patrick Valsecchi
>> >> Cheers >> Andrea >> >> >> On Fri, May 10, 2019 at 9:49 AM Patrick Valsecchi < >> patrick.valsec...@camptocamp.com> wrote: >> >>> Hello, >>> >>> From the [1] page, if I try to download the JAR, I get the [2] link

[Geotools-devel] Maven repository -> 401 error

2019-05-10 Thread Patrick Valsecchi
Hello, >From the [1] page, if I try to download the JAR, I get the [2] link. Following this link leads to a "Authorization Required" error Is something missconfigured on the server? Thanks [1] https://mvnrepository.com/artifact/org.geotools/gt-main/20.3 [2] http://download.osgeo.org/webdav/geot

[Geotools-devel] Getters and thread safeness

2019-02-13 Thread Patrick Valsecchi
Hello, While investigating a bug [1] in MapFish print, I've found what I consider a bug in DefaultFeatureCollection.getBounds method. Maybe I'm wrong, but I usually assume that a getter is thread safe at the instance level as long as the instance is not modified by another thread. So I was a bit

Re: [Geotools-devel] XML validation slowness

2016-01-25 Thread Patrick Valsecchi
Hi, I've followed Ben's recommendations (thanks Ben) and hooked SchemaResolver into the Parser. It was a bit tricky to find out where to hook it, but now it works fine. For those having the same problem in their project, here is my commit: https://github.com/mapfish/mapfish-print/commit/3e1bb081a

[Geotools-devel] XML validation slowness

2016-01-21 Thread Patrick Valsecchi
Hi After investigating some transient slowness in Mapfish Print (a webapp that uses GeoTools V11.0) I've found out that for each and every GML it is parsing, it is downloading the XSDs from external web sites. For example [1]. That causes us several problems: 1. Very very slow if the web site

Re: [Geotools-devel] Batch inserting proposal vs backward compatibility

2015-11-03 Thread Patrick Valsecchi
Pull request updated. On Fri, Oct 30, 2015 at 2:09 PM, Andrea Aime wrote: > On Fri, Oct 30, 2015 at 1:42 PM, Patrick Valsecchi < > patrick.valsec...@camptocamp.com> wrote: > >> Where can I add this configuration? I'm not aware of a GeoTools >> configuration file

Re: [Geotools-devel] Batch inserting proposal vs backward compatibility

2015-10-30 Thread Patrick Valsecchi
> by a flag or parameter. > Having a configurable batching size, defaulting to 1, would probably be a > good way, with > some documentation explaining the benefits and risks of increasing the > batch size to a > value greater than one > > Cheers > Andrea > > >

[Geotools-devel] Batch inserting proposal vs backward compatibility

2015-10-26 Thread Patrick Valsecchi
While reviewing my batch insert pull request [1], Andrea Aime did a couple of coments [2] [3] that calls for a broader discussion. In summary, I'm trying to improve the GeoTools performance when inserting a lot of features in the DB. For that, I need to group the insertions together in order to le

[Geotools-devel] [JIRA] (GEOT-5264) Improve big dataset inserts in DB

2015-10-23 Thread Patrick Valsecchi (JIRA)
Title: Message Title Patrick Valsecchi created an issue

Re: [Geotools-devel] Slow inserts in DB

2015-10-19 Thread Patrick Valsecchi
nce. If a main contributor could have a look at my modifs and tell me if I'm on a good track, I would be very happy. Thanks and CU. On Mon, Oct 5, 2015 at 2:30 PM, Andrea Aime wrote: > On Mon, Oct 5, 2015 at 2:12 PM, Patrick Valsecchi < > patrick.valsec...@camptocamp.com> wrot

[Geotools-devel] Slow inserts in DB

2015-10-05 Thread Patrick Valsecchi
Hi, I'm using geogig to import/export data from/to Oracle. As I was a bit surprised by the slowness of the export operation, I've looked a bit at how it's done. Geogig asks geotools to insert one feature at a time. As I was planning to fix that and gouping the insertions a bit, I've looked at how

Re: [Geotools-devel] Tiny bug in geotools that triggers a big bug in Oracle

2015-09-30 Thread Patrick Valsecchi
I'm a bit rusty in Oracle, but if I remember well, oracle parses and builds a plan only once. Then, when the same query comes again, it uses the cached plan. So the optimization of ignoring the second expression of the OR is made impossible because of the variable bindings. Also, that maybe explai

Re: [Geotools-devel] Tiny bug in geotools that triggers a big bug in Oracle

2015-09-30 Thread Patrick Valsecchi
two different bboxes, at least), > see this presentation, it contains > a description as to why we have to create two bbox filters, towards the > end: > > > http://www.slideshare.net/geosolutions/mapping-the-world-beyond-web-mercator-foss4g-2015?related=1 > > Cheers > Andrea >

[Geotools-devel] Tiny bug in geotools that triggers a big bug in Oracle

2015-09-30 Thread Patrick Valsecchi
HI, When you do a WMS GetFeatureInfo in geoserver, the query it builds is a bit sub-optimal: SELECT OSM_ID,NAME,TYPE,GEOM as GEOM FROM WWW_DATA.BAHNEN_21781 WHERE (SDO_FILTER(GEOM, ?, ' mask=anyinteract querytype=WINDOW') = 'TRUE' OR SDO_FILTER(GEOM, ?, 'mask=anyinteract querytype=WINDOW') = 'TR