distance
distance(geom1, geom2)
Parameters
geom1: the geometry. This can either be a GDAL AbstractGeometry or a GMTdataset (or vector of it), or a Matrixgeom2: Second geometry. AbstractGeometry ifgeom1::AbstractGeometryor a GMTdataset/Matrix ifgeom1is GMT type
Returns the distance between the geometries or -1 if an error occurs.
Source Code
This function has multiple methods:
distance(g1::GMT.Gdal.AbstractGeometry, g2::GMT.Gdal.AbstractGeometry)- gdal_extensions.jl:198distance(D1, D2)- gdal_extensions.jl:199