Hi Martin, I've work again on the builder package a little bit. I've added the weight matrix to calculation as we were talking about few month ago. I'm ready to do the commit, but I'm having just one little problem. The weights are calculated from the accuracy of each MappedPosition and it means that we need to treat the case when not all of the point has the accuracy setup (it is Double.NaN by default).
Can I ask you on your opinion about what exception and where should be thrown? On other hand in no residual transformation (RubberSheeting) its doesn't matter whether we know accuracy or not. The wights are included just in ProjectiveTransformBuilder and its children. My proposal is to add the some method like includeWights(boolean weights) into the ProjectiveTransformBuilder so user can switch whether to calculate with weights or not and the exception should be throwen here when accuracy is not defined. Thanks for help. Cheers, Jan. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
