I created one geodataframe with geopandas. The geometry field was filled with Multipoint. However, when I try to plot the map to see multipoints, my map returned empty.
How can I plot geometry field (multipoint) using geopandas?
Here is a piece of it:
from geopandas import GeoSeries
from shapely.geometry import Point, MultiPoint
gs = GeoSeries([MultiPoint([(-120, 45), (121, 46)]),
MultiPoint([(-121.2, 46), (-123, 48)]),
MultiPoint([(-122.9, 47.5), (-125, 49)])])
print(gs)
gs.plot(marker='*', color='red', markersize=12, figsize=(4, 4))
Best Answer
Documentation suggests that the plot_series() function does not currently support MultiPoint geometries.
Would a single point geometry plot suffice for your purposes?