mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 02:18:24 -04:00
broadcast-areas: simple feature plots show points
Signed-off-by: Toby Lorne <toby.lornewelch-richards@digital.cabinet-office.gov.uk>
This commit is contained in:
@@ -75,6 +75,22 @@ def main():
|
|||||||
alpha=0.25,
|
alpha=0.25,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
ax.scatter(
|
||||||
|
[
|
||||||
|
p[0]
|
||||||
|
for f in simple_features
|
||||||
|
for geom in (f.geoms if hasattr(f, 'geoms') else [f])
|
||||||
|
for p in geom.exterior.coords
|
||||||
|
],
|
||||||
|
[
|
||||||
|
p[1]
|
||||||
|
for f in simple_features
|
||||||
|
for geom in (f.geoms if hasattr(f, 'geoms') else [f])
|
||||||
|
for p in geom.exterior.coords
|
||||||
|
],
|
||||||
|
transform=ccrs.PlateCarree(),
|
||||||
|
)
|
||||||
|
|
||||||
plt.show()
|
plt.show()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user