Ignore:
Timestamp:
2022-08-23T20:06:58+02:00 (2 years ago)
Author:
taylor.smock
Message:

Fix #22303: Open drone image as background image

  • Add additional files to be merged in META-INF for JAI (this fixes an issue where ShadedRelief could not be found). This is done by modifying build.xml to concat multiple files with the same path and name in different jar files together
  • Add CompressorSpi and DecompressorSpi so that compressed image formats can be read. This requires us to call CompressionRegistry#registerApplicationClasspathSpis with the geotools plugin classloader.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/geotools/jar/META-INF/registryFile.jai

    r31599 r36015  
     1#
     2# The registry file for Geotools Grid Coverage implementation. This file should be automatically
     3# parsed by JAI under initialization. If it is not, then Registry.registerServices(...) can parse
     4# it. This may happen if this file is unreachable from the JAI class loader.
     5#
     6# If this file is updated, remember to update Registry.registerServices(...) accordingly.
     7#
     8# Version: $Id$
     9#
     10##################################################################################################
     11#
     12# Each line can be in one of the formats described below. Space or tab characters separate
     13# keywords in each line. The comment character is '#'; on each line all characters following
     14# the first comment character are ignored. The file must be encoded in UTF-8.
     15#
     16# 1. To register descriptors :
     17#
     18#      descriptor <descriptor-class-name>
     19#
     20# 2. To register factory objects under a product against a specific mode :
     21#
     22#      <registry-mode-name>  <factory-class-name>  <product-name>  <descriptor-name>  <local-name>
     23#
     24#    The <local-name> is (only) used later on in this file to set preferences
     25#    between factory objects, if wanted.
     26#
     27##################################################################################################
    128#
    229# Image operation descriptors :
    330#
    4 descriptor  org.jaitools.media.jai.contour.ContourDescriptor
    5 descriptor  org.jaitools.media.jai.rangelookup.RangeLookupDescriptor
    6 descriptor  org.jaitools.media.jai.vectorbinarize.VectorBinarizeDescriptor
    7 descriptor  org.jaitools.media.jai.vectorize.VectorizeDescriptor
    8 descriptor  org.jaitools.media.jai.zonalstats.ZonalStatsDescriptor
    931descriptor  org.geotools.image.palette.ColorReductionDescriptor
    1032descriptor  org.geotools.image.palette.ColorInversionDescriptor
     33
     34#
     35# "rendered" factory objects
     36#
     37rendered  org.geotools.image.palette.ColorReductionCRIF org.geotools  org.geotools.ColorReduction ColorReduction
     38rendered  org.geotools.image.palette.ColorInversionCRIF org.geotools  org.geotools.ColorInversion ColorInversion
     39#
     40# The registry file for Geotools Grid Coverage implementation. This file should be automatically
     41# parsed by JAI under initialization. If it is not, then Registry.registerServices(...) can parse
     42# it. This may happen if this file is unreachable from the JAI class loader.
     43#
     44# If this file is updated, remember to update Registry.registerServices(...) accordingly.
     45#
     46##################################################################################################
     47#
     48# Each line can be in one of the formats described below. Space or tab characters separate
     49# keywords in each line. The comment character is '#'; on each line all characters following
     50# the first comment character are ignored. The file must be encoded in UTF-8.
     51#
     52# 1. To register descriptors :
     53#
     54#      descriptor <descriptor-class-name>
     55#
     56# 2. To register factory objects under a product against a specific mode :
     57#
     58#      <registry-mode-name>  <factory-class-name>  <product-name>  <descriptor-name>  <local-name>
     59#
     60#    The <local-name> is (only) used later on in this file to set preferences
     61#    between factory objects, if wanted.
     62#
     63##################################################################################################
     64#
     65# Image operation descriptors :
     66#
     67descriptor  it.geosolutions.imageio.imageioimpl.imagereadmt.ImageReadDescriptorMT
    1168
    1269
     
    1471# "rendered" factory objects
    1572#
    16 rendered  org.jaitools.media.jai.contour.ContourRIF  org.jaitools.media.jai  Contour  Contour
    17 rendered  org.jaitools.media.jai.rangelookup.RangeLookupRIF  org.jaitools.media.jai  RangeLookup  RangeLookup
    18 rendered  org.jaitools.media.jai.vectorbinarize.VectorBinarizeRIF  org.jaitools.media.jai  VectorBinarize  VectorBinarize
    19 rendered  org.jaitools.media.jai.vectorize.VectorizeRIF  org.jaitools.media.jai  Vectorize  Vectorize
     73rendered  it.geosolutions.imageio.imageioimpl.imagereadmt.ImageReadMTCRIF       it.geosolutions.imageio.imageioimpl.imagereadmt  ImageReadMT       ImageReadMT
     74
     75#
     76# Image operation descriptors :
     77#
     78descriptor  org.jaitools.media.jai.zonalstats.ZonalStatsDescriptor
     79
     80
     81#
     82# "rendered" factory objects
     83#
    2084rendered  org.jaitools.media.jai.zonalstats.ZonalStatsRIF  org.jaitools.media.jai  ZonalStats  ZonalStats
    21 rendered  org.geotools.image.palette.ColorReductionCRIF org.geotools  org.geotools.ColorReduction ColorReduction
    22 rendered  org.geotools.image.palette.ColorInversionCRIF org.geotools  org.geotools.ColorInversion ColorInversion
Note: See TracChangeset for help on using the changeset viewer.