Hi Michael,
It is a geotiff image opened with Gimp and saved back as image. I tried to 
reproduce a most common mistake that users at their first approach to Gis do 
(open a geotiff with an image viewer and Dave it back loosing geotiff tags).
With a previous version of RasterImageLayer framework OJ was able to skip 
reading 
 tag 34735 if it was a string and classify the file as no geotiff (no tfw).   
Indeed everything works fine with other tiff files with no tag 34735. Maybe a 
simple check/warning solves the issue.
Peppe
Inviato da myMail per Android sabato, 21 novembre 2020, 00:15AM +01:00 da 
michael michaud  micha...@users.sourceforge.net :

>Peppe,
>Seems that your noWF.tif contains invalid geotags.
>ExifTools shows the following warning
>"Non-standard format (string) for IFD0 0x87af GeoTiffDirectory"
>which explains why OpenJUMP throws an exception when it tries to read tag 
>34735 (waiting for unisgned short array, find a string) 
>Can you explain how you made this file.
>If image is produced by a well-known gis tool, I'll try to throw a better 
>mesage or to read the tag anyway.
>----------------------------------------------------------------------
>[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: Mon Nov 16, 2020 02:25 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 you indicated interest in  
>https://sourceforge.net/p/jump-pilot/bugs/512/
>To unsubscribe from further messages, please visit  
>https://sourceforge.net/auth/subscriptions/



---

** [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:** Fri Nov 20, 2020 11:15 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

Reply via email to