Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: Converting Pixels to LatLong

by Albannach (Prior)
on Feb 14, 2007 at 18:37 UTC ( #600021=note: print w/ replies, xml ) Need Help??

in reply to Converting Pixels to LatLong

This problem is not necessarily a simple one. Depending on the scale of the map, and the map projection used (the map is flat, the earth isn't), your task may be a relatively simple one or virtually impossible.

For starters, check out the Geo::Coordinates modules. You can convert the lat/lon to an appropriate UTM mapping given an ellipsoid. Then, as kyle points out, you will need to know how many metres to the pixel, or perhaps the lat/lon of another point on the map. With just one point and no scale, you cannot do what you want.

I'd like to be able to assign to an luser

Comment on Re: Converting Pixels to LatLong

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://600021]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-10-09 10:30 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (238 votes), past polls