vendredi 30 janvier 2015

Costruction of a sqaure grid from a given centre(lat,lon) and direction of the sides


Let us consider a point (longitude,latitude) on earth (location).


My question is: how to construct a square grid around this point (taking this point as the centre of the square or intercept of the two diagonals) with size of the square as 0.1 degree times 0.1 degree and direction of the one side of square is theta degree?


For example let the sample point is (88.38045, 21.04247) and theta=70 degree. Here is a rough plot for clarification.


enter image description here


Thanks for attention and helps.





Aucun commentaire:

Enregistrer un commentaire