Answer the question
In order to leave comments, you need to log in
Python, basemap point numbering and map hiding, how to implement?
Hello everyone, I'm asking for help...
The task was to write an application for creating outlines of forest areas.
I chose python + basemap for myself
from mpl_toolkits.basemap import Basemap
import matplotlib.pyplot as plt
map = Basemap(projection='cyl',
lat_0=0, lon_0=0)
map.drawmapboundary(fill_color='aqua')
map.fillcontinents(color='coral',lake_color='aqua')
map.drawcoastlines()
lats = [54.478022178873,54.4777104968462,54.4770434893293,54.4763577693282,54.4767130984002,54.4773988124444,54.478022178873 ]
lons = [61.3273536293552,61.3306151955173,61.3319777576968,61.3302182285831,61.3266455261752,61.3260876267001,61.3273536293552]
x, y = map(lons, lats)
map.plot(x, y, marker=".",color='g')
plt.show()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question