Re: [Geotools-devel] SubtractFromConst and AddConst errors

2015-04-14 Thread Nicola Lagomarsini
Hi Jared, the pull requests have been merged. Regards, Nicola Lagomarsini. 2015-04-14 4:11 GMT+02:00 jerickson : > Thanks Nicola and Andrea! > > The first pull request is for geotools: > > https://github.com/geotools/geotools/pull/817 > > and > > https://osgeo-org.atlassian.net/browse/GEOT-5073

Re: [Geotools-devel] SubtractFromConst and AddConst errors

2015-04-13 Thread jerickson
Thanks Nicola and Andrea! The first pull request is for geotools: https://github.com/geotools/geotools/pull/817 and https://osgeo-org.atlassian.net/browse/GEOT-5073 The second pull request is for jai-ext: https://github.com/geosolutions-it/jai-ext/pull/66 Jared -- View this message in co

Re: [Geotools-devel] SubtractFromConst and AddConst errors

2015-04-13 Thread Nicola Lagomarsini
Hi Jared, thank you for your fixes. Feel free to submit your pull requests when they are ready. Regards, Nicola Lagomarsini. 2015-04-12 9:04 GMT+02:00 Andrea Aime : > Hi Jared, > we'll need Daniele/Nicola to confirm, hopefully they will follow up > shortly during working days > > Cheers > Andre

Re: [Geotools-devel] SubtractFromConst and AddConst errors

2015-04-12 Thread Andrea Aime
Hi Jared, we'll need Daniele/Nicola to confirm, hopefully they will follow up shortly during working days Cheers Andrea On Sun, Apr 12, 2015 at 5:39 AM, jerickson wrote: > OK, I have AddConst working too. I had to change > > super(JAIExt.getOperationName(ADD_CONST)); > > to > > super(ADD_CONST

Re: [Geotools-devel] SubtractFromConst and AddConst errors

2015-04-11 Thread jerickson
OK, I have AddConst working too. I had to change super(JAIExt.getOperationName(ADD_CONST)); to super(ADD_CONST, getOperationDescriptor(JAIExt.getOperationName(ADD_CONST))); in https://github.com/geotools/geotools/blob/master/modules/library/coverage/src/main/java/org/geotools/coverage/proces

Re: [Geotools-devel] SubtractFromConst and AddConst errors

2015-04-11 Thread jerickson
I got SubstractFromConst to work by changing },SUBTRACT_FROM(13, 0, false) { to },SUBTRACT_FROM(13, 0, true) { in https://github.com/geosolutions-it/jai-ext/blob/master/jt-algebra/src/main/java/it/geosolutions/jaiext/algebra/AlgebraDescriptor.java#L1095 Still not sure why AddConst is throwi

[Geotools-devel] SubtractFromConst and AddConst errors

2015-04-11 Thread Jared Erickson
Hi all, Every since the jai-ext commit, I am getting errors using the SubtractFromConst and AddConst coverage operators. When using AddConst I get the following error: org.opengis.coverage.processing.OperationNotFoundException: No such "operationConst" operation for this processor. at