Perl extension for geospatial graphs