Skip to content

Geospatial 2025 May Session #60

@weilu

Description

@weilu

TODOs:

  • Add ppt slides to repo
  • Fix convex hall pictures
  • Add solutions to repo
Image

Suggestions:

  • Consider instead of gadm, using WB approved boundaries (if available)
  • Consider adding content on using S2 Geometry
  • Consider adding the convex hall plot overlay school points with an alpha < 1
# prompt: make the convex hall area plot semitransparent, include the original points

import matplotlib.pyplot as plt

fig, ax = plt.subplots(figsize=(10, 10))

# Plot the convex hull with transparency
schools_diss_gdf['c_hull'].plot(ax=ax, alpha=0.5, color='skyblue')

# Plot the original points on top of the convex hull
schools_gdf.plot(ax=ax, color='red', markersize=10)

plt.show()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions