Quantcast
Channel: Uncategorized - Mapillary Community Forum
Viewing all articles
Browse latest Browse all 267

Convert to normalized (lat,lon) coordinates

$
0
0

Hello!

I am using this endpoint 'https://tiles.mapillary.com/maps/vtp/mly_map_feature_traffic_sign/2/{}/{}/{}?access_token={}' to fetch data that looks like this:

My question is: how would I convert those coordinates to (lat, lon), like: 45.06193, 85.50351? Is this the formula the one below?

if the image size is 800x600 pixels, and you want the point at 100,200, you take 100 x (width in degrees) / 800 + left edge longitude , and 200 x (height in degrees) / 600 + lower edge latitude.

Considering the extent will always be 4096, then replace

2 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 267

Trending Articles