Hi Cristophe,
what do you mean with NativeJaiExt?

I think we can distinguish between 3 cases:
1) native jai: which means you have both medialib native libs and mlib
wrapper jars available on your env.
2) pure jai: no medialib available
3) jai-ext: a jai replacement including support for nodata and ROI.

The latter need a JAVA_OPT property to be activated:
-Dorg.geotools.coverage.jaiext.enabled=true (Then you may select in the
GeoServer GUI -> Settings -> ImageProcessing menu which operations to be
used)

As far as I remember, some medialib operations are bugged. If my memory
serves me well, some of them are  dealing with logarithm, division, band
manipulation.The source code of the native implementation isn't available
so there is no chance to fix the bugs. This is also why we started not
using it anymore and also started writing jai-ext operations.

Does it make sense?

Cheers,
Daniele







On Fri, May 5, 2017 at 5:11 PM, Christophe Mangeat <
[email protected]> wrote:

> Hello,
>
> Could someone please tell us if we are missing something obvious, or
> misusing native jai ? Maybe give us a clue or hints about what can be done ?
>
> We are currently experiencing troubles with native jai (mlib ?) and
> pyramids (via geoserver), which can be reproduced using modified geotools
> test as in "https://github.com/cmangeat/geotools/tree/pyramid_and_jai";.
>
> From "modules/plugin/imagepyramid", running "mvn test
> -PtestWithNativeJaiExt -Dtest=ImagePyramidReaderTest" and "mvn test
> -Dtest=ImagePyramidReaderTest" write image files in "/tmp" for most of
> existing sub-tests and seems to show that there is a trouble, at least
> "/tmp/imageFromtestComplete.png" and "/tmp/imageFromtestCompleteWithJai.png"
> differs.
>
> I attach "/tmp/imageFromtestComplete.png", "/tmp/
> imageFromtestCompleteWithJai.png" is empty.
>
> Any advices concerning mailing lists use or community processes are also
> welcome.
>
> Best regards.
>
>
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> GeoTools-Devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>


-- 
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to