Projection of data into map file

1 次查看(过去 30 天)
Hello,
I am planning to extract hotspots information of a city. I have following input paramaters:
Latitude = (1x316)double in xyz-coordinates
Longitude = (1x316) double in xyz-Coordinates
Besides this, i have a map of that city in .png file format with known Lat,Long coordinates. Now, i need to project my input data of (Latitude, Longitude) along with this map of city.
Any ideas, Suggestions? Thanks!
  2 个评论
KSSV
KSSV 2016-11-23
You want to plot your locations on the .png file of the city?
Jung BC
Jung BC 2016-11-23
编辑:Jung BC 2016-11-23
Hi KSSV, Yes, i want to plot my location points(Lat, Lon) into given map
which has it's known (Lat, Lon)co-ordinates of edges i.e. map has
lower left (Lat, Lon ) and upper right (Lat, Lon) points.

请先登录,再进行评论。

采纳的回答

KSSV
KSSV 2016-11-23
data = imread('your image') ;
image([min(x) max(x)], [min(y) max(y)],data);
hold on
%%now plot your data
  3 个评论
KSSV
KSSV 2016-11-23
It has to work ....check your code and data once...
Jung BC
Jung BC 2016-11-24
Thanks a lot! I optimised my input data it worked well!

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mapping Toolbox 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by