---

** [bugs:#514] Images with positive y-scale**

**Status:** open
**Milestone:** OJ_future
**Created:** Sat Nov 21, 2020 08:43 AM UTC by michael michaud
**Last Updated:** Sat Nov 21, 2020 08:43 AM UTC
**Owner:** nobody


Most georeferenced images use a coordinate model where y axis is oriented from 
bottom to top, the opposite of the image model which is top-down.
Rare geotiff images indicating a positive y-scale was not honoured for two 
reasons :
1- envelope was computed as if y-scale was negative so that the location of the 
image was not correct. This point should be fixed in the next version (fixed in 
GeoreferencedRaster)
2- image orientation is not honoured (scaling in the paint method of GeoImage 
does not honour the y-scale signus) : image is displayed with the same 
orientation either with a negative or positive y-scale. It is difficult to fix 
because of the complex chain of scale/crop/translate operations in GeoImage 
(see also #509). I gave up.
My opinion is that this fix (2) can be postponed because top-down oriented 
images are very rare, and AFAIC,  I would not try to fix it without trying to 
simplify the whole rendering pipeline of GeoImage.


---

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