X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 14 Aug 2015 01:37 AM by  anon
I require to input pixel coordinates to spit out lat-long of the same
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:16
New Member


--
14 Aug 2015 01:37 AM
    Hi, Having a projection and datum for an image in Geotiff ,I would like to input specific pixel location(x,y) to obtain lat-long (or UTM coordinates) of the same.Can any please suggest me how this could be achieved.Is there a function that is present that I'm unable to find out ! Regards, Puneeth

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    14 Aug 2015 09:18 AM
    Hi Puneeth, The easiest method would probably be to use the functions MAP_PROJ_INIT, MAP_PROJ_FORWARD, and MAP_PROJ_INVERSE. If you know you projection, you will first have to create that using MAP_PROJ_INIT, then you can use the FORWARD and INVERSE functions to convert to/from degrees and meters (Cartesian) for your coordinates.

    Deleted User



    New Member


    Posts:16
    New Member


    --
    18 Aug 2015 03:57 AM
    You are not authorized to post a reply.