2015-09-27 170 views
-1

我有一個城市,我怎麼能得到經度/緯度爲我添加到圖像的點,如果我知道3點像如何將座標x y從圖像轉換爲經度/緯度並返回?

Point1XRelative =「-18340651.0304568」的形象;

Point1YRelative =「14945227.3984772」;

Point2XRelative =「-3960915.94162438」;

Point2YRelative =「-7933119.6827411」;

Point3XRelative =「4901426.10152285」;

Point3YRelative =「13585796.8781726」;

Point1XWorld =「53.1186547」;

Point1YWorld =「29.2392344」;

Point2XWorld =「52.6341388」;

Point2YWorld =「29.7438198」;

Point3XWorld =「53.0900105」;

Point3YWorld =「30.0548051」;

我有algrithm可以轉換隻爲飛機,當我從長/拉特轉換爲x他們轉換與偏移量。 請指教我如何解決這個問題。

+0

有許多方法可以在2D平面上顯示地圖和航拍。您是否有任何跡象表明在您的素材中使用了哪種地圖投影?請參閱https://en.wikipedia.org/wiki/Map_projection – m69

+0

我使用了OpenStreetMap的小城市地圖 –

+0

顯然,OpenStreetMap使用WGS 84作爲座標:https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84 – m69

回答

1

它也取決於縮放級別。我想你會找到你需要的東西here

相關問題