# Pixel (x/y) to latitude & longitude conversion on a given image

I need a PHP function that returns latitude & longitude for a given point (x/y) within a picture.

Unfortunately the image is not a flat image and taken from a specific angle/height. (see attached file)

Two possible soloutions:

1) calculate any long/lat based on all needed camera paramteres (lat/long from the point of view, [url removed, login to view],vertical angle,height etc.)

2) estimate any long/lat based on already defined points within the image. The estimation should be accurate if about 20 points are already defined and should increase in accuracy the more points are defined.

Please offer at least one of both soloutions and shortly describe your plan how to solve this.

Skills: Geolocation, Mathematics, PHP

Project ID: #4531561

## 8 freelancers are bidding on average \$401 for this job

samitXI

\$144 USD in 3 days
(79 Reviews)
6.1
SMikhail

Hello, I think this can be done by creating a polygonal grid with lat/long known for each vertex. It can be constructed by texture-mapping the grid with your image and adjusting it to e.g. Google Maps screenshot. Or More

\$340 USD in 7 days
(89 Reviews)
5.4
otssolutions01

Hi, We are a 10 year old professional IT software company. We would like to work on this project. Please find more details in your PMB. Thanks.

\$210 USD in 15 days
(1 Review)
4.7
hnhuang

\$263 USD in 3 days
(2 Reviews)
4.7
iautomation

x = (total width of image in px) * (180 + latitude) / 360 -- y = (total height of image in px) * (90 - longitude) / 180 -- THEREFORE -- latitude = ((x*360) / image_width)-180; -- longitude = ((x*180) / image_wi More

\$55 USD in 3 days
(18 Reviews)
3.6

Looks like fun. I have drafted about 80% of the solution. I think we'll benefit incorporating both options. Initially I'll lay out a lat/long grid based on the camera parameters. Next, the grid will be mapped onto the More

\$222 USD in 10 days
(5 Reviews)
3.5
SouthernStars

You problem is far from trivial, hence the amount of our bid. We have a very good experience of that kind of measures, with distortions, perspective, etc. Among this, we process all sky fisheye cameras, a really extr More

\$1052 USD in 20 days
(3 Reviews)
3.1
WhUCekSvCFvR

We are freelance software developers. If you contact us, we can give a quote for your project and we can discuss the details further. w w w . sol v e r . i o

\$155 USD in 3 days
(0 Reviews)
0.0
BenAppoko

Hello, This problem doesn't actually have an exact solution because the terrain is not flat. So each screen x,y actually translates into a line of latitude,longitude points at different heights. Without knowing the More

\$319 USD in 2 days
(0 Reviews)
0.0

Hello, I have reviewed your project posting and would appreciate if you can check private message for more details. Regards

\$388 USD in 10 days
(0 Reviews)
0.0
sudewa

Hi, I am keen work in this project since I have a good interest in the localisation. I prefer option 2 but I dont think we will need 20 points provided we can get some info about the camera. e.g Camera position, al More

\$666 USD in 15 days
(0 Reviews)
0.0
dimitarpartenov

If you have at least three points, for which you know its coordinates, you can find coordinates for each points

\$155 USD in 3 days
(0 Reviews)
0.0