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 commentaires

KSSV
KSSV le 23 Nov 2016
You want to plot your locations on the .png file of the city?
Jung BC
Jung BC le 23 Nov 2016
Modifié(e) : Jung BC le 23 Nov 2016
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.

Connectez-vous pour commenter.

 Réponse acceptée

KSSV
KSSV le 23 Nov 2016

0 votes

data = imread('your image') ;
image([min(x) max(x)], [min(y) max(y)],data);
hold on
%%now plot your data

3 commentaires

Jung BC
Jung BC le 23 Nov 2016
Modifié(e) : Jung BC le 23 Nov 2016
Hi KSSV,
I tried it but i got only few points of my data in the map. Since my data are of size (1x316, 1x316) Latitude, Longitude points i am expecting to project all those points. The output here looks like this:
KSSV
KSSV le 23 Nov 2016
It has to work ....check your code and data once...
Jung BC
Jung BC le 24 Nov 2016
Thanks a lot! I optimised my input data it worked well!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by