Is there a Fortran library for spatial vectors (Geopandas/Shapely equivalent)?

Hi all,

I usually do my spatial data analysis in Python. For vectors (Shapefiles, GeoJSON etc) that means using Geopandas. I was wondering whether anything similar exists out there for Fortran? So far I have come across shapelib, which looks powerful but perhaps a little clunky. So I’m specifically wondering if anyone has come across a modern Fortran version of this? Bonus points if it’s installable by fpm.

Cheers,
Sam