More info about the bug.
A) when a TIFF is load as Layer via GeoReferencedRaster, this class
1. first checks the geotags
2. if no geotags are found, it checks a worlfile.
3. if no valid world file is found, the class creates a new geolocation
(Envelope) to locate the image according to the width/heigh of the image and
the origin loacted at (0,0) coordinate. No new worldfile is created
B) when a TIFF is load as RasterImageLayer, AddRasterImageLayerWizard class
was doing a similar job in this way:
1. first checks the geotags
2. if no geotags are found, it checks a worlfile.
3. if no valid world file is found, the class creates a dialog pops up
letting the user to define north/south/east/west coordinates to define the new
geolocation (Envelope) to locate the image. A new worldfile is create.
In the method AddRasterImageLayerWizard.getGeoReferencing(...) all points 1,2,3
have been deactivated to use new GeoReferencedRaster/TiffUtilsV2 framework.
we can possibly partially restore the bug of unuseful dialog.
I observed a more severe bug: OJ cannot open anymore neither TIFF with
worldfile nor TIFF with no geolocation (dialog pops up). Possibly we need to
find a solution outside the class AddRasterImageLayerWizard
Peppe
---
** [bugs:#512] Georeferenced RasterImage : useless dialog to create a worlfile**
**Status:** open
**Milestone:** OJ_1.16
**Created:** Wed Nov 11, 2020 08:29 AM UTC by michael michaud
**Last Updated:** Wed Nov 11, 2020 04:07 PM UTC
**Owner:** nobody
Trying to open a georeferenced GeoTiff as a (Sextante) RasterImage , I'm
invited to define the worldfile through a dialog box. Whatever I enter in the
diaog box, the image will be georeferenced using the geotags of the geotiff,
which is fine, but the dialogbox is misleading and will create a tfw file which
is inconsistant with the geotiff tags.
---
Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/jump-pilot/bugs/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel