Hi everyone!

It appears to me that the issue is due to the fact that 
OpenJUMPSextanteRasterLayer and GridExtent assume X and Y cell sizes to 
be equal. This is a problem when, like with this very TIFF, the two 
sizes differ, and the method GridExten#recalculateNXAndNY() calculates a 
wrong row count (because it uses the x cell size, the only one it knows, 
instead of the y cell size). In practice, it calculates 778 rows instead 
of 777. Using the right y cell size would lead to a correct result.

I could try to amend the OpenJUMPSextanteRasterLayer (up to 
ISextanteLayer) and make them capable of handling two different cell 
sizes for x, and y (to be honest I don't know how many other classes 
will be involved...).

What do you reckon?
Alberto

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to