Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 2.7.6
-
Component/s: imagemosaic plugin
-
Labels:None
Description
At the moment the mosaic module assumes all the input files have the same resolution and orientation. Support tiles with generic world files instead (that is, with generic affine transform associated to them)
Activity
Simone Giannecchini
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Simone Giannecchini [ simboss ] |
Andrea Aime
made changes -
| Fix Version/s | 2.4-RC1 [ 13677 ] | |
| Fix Version/s | 2.4.1 [ 14069 ] |
Andrea Aime
made changes -
| Fix Version/s | 2.4.2 [ 14108 ] | |
| Fix Version/s | 2.4.1 [ 14069 ] |
Andrea Aime
made changes -
| Fix Version/s | 2.4.2 [ 14108 ] | |
| Fix Version/s | 2.4.3 [ 14180 ] |
Jody Garnett
made changes -
| Fix Version/s | 2.5-M1 [ 13281 ] | |
| Fix Version/s | 2.5-M2 [ 14258 ] |
Jody Garnett
made changes -
| Fix Version/s | 2.5-M2 [ 14258 ] |
Andrea Aime
made changes -
| Fix Version/s | 2.4.3 [ 14180 ] | |
| Fix Version/s | 2.4.4 [ 14320 ] |
Andrea Aime
made changes -
| Fix Version/s | 2.4.5 [ 14338 ] | |
| Fix Version/s | 2.4.4 [ 14320 ] |
Gabriel Roldan
made changes -
| Fix Version/s | 2.4.5 [ 14338 ] | |
| Fix Version/s | 2.4.6 [ 14552 ] |
Simone Giannecchini
made changes -
| Fix Version/s | 2.4.6 [ 14552 ] | |
| Affects Version/s | 2.5-M0 [ 13594 ] | |
| Affects Version/s | 2.4-RC0 [ 13595 ] |
Jody Garnett
made changes -
| Fix Version/s | 2.7-M0 [ 15891 ] |
Jody Garnett
made changes -
| Fix Version/s | 2.7-M1 [ 16521 ] | |
| Fix Version/s | 2.7-M0 [ 15891 ] |
Jody Garnett
made changes -
| Fix Version/s | 2.7-RC1 [ 16571 ] | |
| Fix Version/s | 2.7-M1 [ 16521 ] |
Jody Garnett
made changes -
| Fix Version/s | 2.7-M3 [ 16572 ] | |
| Fix Version/s | 2.7-M2 [ 16571 ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.7-M4 [ 16726 ] | |
| Fix Version/s | 2.7-M3 [ 16572 ] |
Andrea Aime
made changes -
| Fix Version/s | 2.7-beta1 [ 16974 ] | |
| Fix Version/s | 2.7-M4 [ 16726 ] |
Simone Giannecchini
made changes -
| Priority | Major [ 3 ] | Minor [ 4 ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.7-RC1 [ 17076 ] | |
| Fix Version/s | 2.7-beta1 [ 16974 ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.7.0 [ 17109 ] | |
| Fix Version/s | 2.7-RC1 [ 17076 ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.7.1 [ 17255 ] | |
| Fix Version/s | 2.7.0 [ 17109 ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.7.2 [ 17359 ] | |
| Fix Version/s | 2.7.1 [ 17255 ] |
Jody Garnett
made changes -
| Fix Version/s | 2.7.3 [ 17442 ] | |
| Fix Version/s | 2.7.2 [ 17359 ] |
Andrea Aime
made changes -
| Fix Version/s | 2.7.4 [ 17863 ] | |
| Fix Version/s | 2.7.3 [ 17442 ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.7.5 [ 18236 ] | |
| Fix Version/s | 2.7.4 [ 17863 ] |
Justin Deoliveira
made changes -
| Fix Version/s | 2.7.6 [ 18554 ] | |
| Fix Version/s | 2.7.5 [ 18236 ] |
* The scale ratio A1.getScaleX() / A2.getScaleX() must be an integer or the reciprocal of an integer.
* The shear ratio A1.getShearX() / A2.getShearX() must be identical to the above scale ratio.
* Same conditions than above must hold for the Y scale and shear (while the can have a different ratio than X).
Those conditions are mathematically necessary in order to translate the different AffineTransforms into ImageReader sourceXSubsampling and sourceYSubsampling parameters. If the AffineTransforms do not meet those conditions, then they would need to be handled at a higher level using JAI (which is not ImageMosaicReader's job) - we would lost the optimization that read the whole mosaic in a single BufferedImage in one shot.
Checking the AffineTransforms is not very hard, but not trivial neither (see TileBuilder in org.geotools.image.io.mosaic). Unless the developper is confortable with AffineTransform mathematic or unless a patch is needed soon, I would suggest to rely on org.geotools.image.io.mosaic when it will be ready. Some GeoTools code like streaming renderer has suffered and still suffer from incorrect AffineTransform mathematic...