Aug-31-2021, 01:26 PM
I have a dataframe that has 8 coordinates representing a boxed area on the surface of Mars. I would like to pick a row from my dataframe and represent it graphically as an area plotted over the backdrop of an image of the surface of Mars zoomed in to just the required place. An example of the data is below which uses aerocentric latitude and an east positive longitude I think it was which goes up to 360 from the central point. I know there are already websites which do this but i want to do it myself using my own database (and i can then compare my results with the existing websites for checking purposes).
UPPER_LEFT_LONGITUDE 347.15
UPPER_LEFT_LATITUDE -36.545832
UPPER_RIGHT_LONGITUDE 347.69
UPPER_RIGHT_LATITUDE -36.486035
LOWER_LEFT_LONGITUDE 347.81
LOWER_LEFT_LATITUDE -40.795116
LOWER_RIGHT_LONGITUDE 348.38
LOWER_RIGHT_LATITUDE -40.735216
I am not aware of how python can be used to plot shapes from dataframe data or how to overlay them over a map.
Any help would be appreciated.
UPPER_LEFT_LONGITUDE 347.15
UPPER_LEFT_LATITUDE -36.545832
UPPER_RIGHT_LONGITUDE 347.69
UPPER_RIGHT_LATITUDE -36.486035
LOWER_LEFT_LONGITUDE 347.81
LOWER_LEFT_LATITUDE -40.795116
LOWER_RIGHT_LONGITUDE 348.38
LOWER_RIGHT_LATITUDE -40.735216
I am not aware of how python can be used to plot shapes from dataframe data or how to overlay them over a map.
Any help would be appreciated.