3
$\begingroup$

I have a "GeoTIFF" format map, and I have imported it into Mathematica, then I used the Graphics to plot a point on the map. But I don't know how to plot the X_axle and Y_axle?

tif = Import["E:\\Yan.tif", "Graphics"];
Graphics[{First@tif, PointSize[0.05], 
  Point[{400, 250}, VertexColors -> Red]}]

And I tried the command

Import["E:\\Yan.tif", {"GeoTIFF", "SpatialRange"}]
$\endgroup$
1
  • $\begingroup$ and I try the commangd Import["E:\\Yan.tif", {"GeoTIFF", "SpatialRange"}] {{{1.19133*10^7, 3.83883*10^6}, {1.19133*10^7, 3.83883*10^6}, {1.19133*10^7, 3.83883*10^6}}, {{1.10181*10^7, 3.27395*10^6}, {1.10181*10^7, 3.27395*10^6}, {1.10181*10^7, 3.27395*10^6}}} it is not longtitude and latitude,why? $\endgroup$
    – Wo Xin
    Commented Apr 22, 2013 at 7:30

1 Answer 1

2
$\begingroup$

Is this what you want?

tif = Import["untitled.tif", "Graphics"];

Graphics[{First@tif, PointSize[0.05], 
  Point[{400, 250}, VertexColors -> Red]}, Axes -> True];

enter image description here

$\endgroup$
1
  • $\begingroup$ (Sorry I didn't have a map at hand) $\endgroup$
    – Sos
    Commented Apr 22, 2013 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.