mod_geo’s documentation¶
mod_geo is a geospatial-themed module.
Description
Import standard modules …
Quick access
- Types:
aline,apoint,apolygon,manylines,manypoints,manypolygons- Routines:
sub_buffer_point(),sub_save_line_as_geojson(),sub_save_point_as_geojson(),sub_save_polygon_as_geojson()
Needed modules
iso_fortran_env
Types
- type mod_geo/apoint¶
- Type fields:
% x [real ] :: longitude
% y [real ] :: latitude
- type mod_geo/aline¶
- Type fields:
% npoints [integer ]
% ring [logical ]
% x (*) [real ,allocatable] :: longitude
% y (*) [real ,allocatable] :: latitude
- type mod_geo/apolygon¶
- Type fields:
% exterior [aline ]
% interiors (*) [aline ,allocatable]
% ninteriors [integer ]
- type mod_geo/manypoints¶
- Type fields:
% npoints [integer ]
% points (*) [apoint ,allocatable]
- type mod_geo/manylines¶
- Type fields:
% lines (*) [aline ,allocatable]
% nlines [integer ]
- type mod_geo/manypolygons¶
- Type fields:
% npolygons [integer ]
% polygons (*) [apolygon ,allocatable]
Subroutines and functions
- subroutine mod_geo/sub_buffer_point(point, dist, nang, polygon)¶
- Parameters:
point [apoint ,in]
dist [real ,in]
nang [integer ,in]
polygon [apolygon ,out]
- Use :
iso_fortran_env,mod_safe(sub_calc_loc_from_loc_and_bearing_and_dist())
- subroutine mod_geo/sub_save_line_as_geojson(line, fname)¶
- Parameters:
line [aline ,in]
fname [character(len=*),in]
- Use :
iso_fortran_env
- subroutine mod_geo/sub_save_point_as_geojson(point, fname)¶
- Parameters:
point [apoint ,in]
fname [character(len=*),in]
- Use :
iso_fortran_env
- subroutine mod_geo/sub_save_polygon_as_geojson(polygon, fname)¶
- Parameters:
polygon [apolygon ,in]
fname [character(len=*),in]
- Use :
iso_fortran_env