Found the answer! The function that is related to this solution is TransformPhysicalPointToIndex(). You can find a short description of it in the section 5.1.4 Defining Origin and Spacing of the OTB Software Guide.
Have a great day, Conrad :) On Wednesday, March 4, 2015 at 1:24:43 PM UTC, Conrad Bielski wrote: > > Hi, > I know this is possible in OTB but I can't find the documentation/sample > code that could do it. What I would like to do is find the pixel given a > geographic location. For example, I have an X,Y coordinate in LatLon and I > want to find which pixel in my image is at this location. > > Any ideas where in OTB this has already been done? > > Thanks in advance for your help, > Conrad :) > > -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/otb-users?hl=en --- You received this message because you are subscribed to the Google Groups "otb-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
