Which dependency am I lacking if:
No OperationDescriptor is registered in the current operation registry
is returned why trying to use geo tools via JAI to vectorize an image?
compile group: 'org.geotools', name: 'gt-arcgrid', version: '18.4'
compile group: 'org.geotools', name: 'gt-process-raster', version: '18.4'
compile group: 'org.geotools', name: 'gt-main', version: '18.4'
https://github.com/geoHeil/vectorizePolygons contains the example code.
edit
when executing the code from IntelliJ everything works just fine. Only when executing the code from gradle or maven created fat jar the code fails to load some dependencies.
Even when following along here http://docs.geotools.org/stable/userguide/faq.html#how-do-i-create-an-executable-jar-for-my-geotools-app see: https://github.com/geoHeil/vectorizePolygons/blob/master/maven/pom.xml IntelliJ will see a different class path which works just fine. But neither maven or gradle report any problems when creating the fat jar.
Maven fails with a different error:
javax.imageio.spi.ImageReaderSpi: Provider it.geosolutions.imageioimpl.plugins.tiff.TIFFImageReaderSpiit.geosolutions.imageio.plugins.arcgrid.spi.AsciiGridsImageReaderSpi not found
gradle fails at this line:
final RenderedOp asciiCoverage = JAI.create("ImageRead", pbjImageRead, hints);
which sort of seems to be related to some image reading in both places.
edit
edit 2
After fixing the maven problem (updating maven-shade-plugin) now also maven reports a missing registration in the JAI operation registry.
RangeLookup is missing.
