Skip to content

Commit

Permalink
Update docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv committed Nov 13, 2024
1 parent 4643c92 commit 3863298
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/geokeys.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -----------------------------------------------------------------

"""
GeoKeyID
GeoTIFF.GeoKeyID
Enum of all GeoKey IDs supported by GeoTIFF.
Expand Down
16 changes: 8 additions & 8 deletions src/metadata.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# -----------------------------------------------------------------

"""
GeoTag
GeoTIFF.GeoTag
Enum of all tags supported by GeoTIFF.
Expand All @@ -20,7 +20,7 @@ section of the GeoTIFF Spec for more details.
end

"""
GeoKeyDirectory(; version=1, revision=1, minor=1, geokeys=GeoKey[])
GeoTIFF.GeoKeyDirectory(; version=1, revision=1, minor=1, geokeys=GeoKey[])
The GeoKeyDirectory stores the GeoKeys and the format version.
Expand Down Expand Up @@ -70,7 +70,7 @@ function params(geokeydirectory::GeoKeyDirectory)
end

"""
GeoDoubleParams(params)
GeoTIFF.GeoDoubleParams(params)
The GeoDoubleParams stores the double (Float64) parameters of the GeoKeys.
Expand All @@ -84,7 +84,7 @@ end
params(geodoubleparams::GeoDoubleParams) = geodoubleparams.params

"""
GeoAsciiParams(params)
GeoTIFF.GeoAsciiParams(params)
The GeoAsciiParams stores the ASCII string parameters of the GeoKeys.
Expand All @@ -98,7 +98,7 @@ end
params(geoasciiparams::GeoAsciiParams) = geoasciiparams.params

"""
ModelPixelScale(; x=1.0, y=-1.0, z=1.0)
GeoTIFF.ModelPixelScale(; x=1.0, y=-1.0, z=1.0)
The ModelPixelScale contains the scale parameters of the raster-to-model transformation.
Expand All @@ -118,7 +118,7 @@ ModelPixelScale(params::Vector{Float64}) = ModelPixelScale(params[1], params[2],
params(modelpixelscale::ModelPixelScale) = [modelpixelscale.x, modelpixelscale.y, modelpixelscale.z]

"""
ModelTiepoint(; i=0.0, j=0.0, k=0.0, x=0.0, y=0.0, z=0.0)
GeoTIFF.ModelTiepoint(; i=0.0, j=0.0, k=0.0, x=0.0, y=0.0, z=0.0)
The ModelTiepoint contains the tie point parameters of the raster-to-model transformation.
Expand All @@ -142,7 +142,7 @@ params(modeltiepoint::ModelTiepoint) =
[modeltiepoint.i, modeltiepoint.j, modeltiepoint.k, modeltiepoint.x, modeltiepoint.y, modeltiepoint.z]

"""
ModelTransformation(; A=[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0], b=[0.0, 0.0, 0.0])
GeoTIFF.ModelTransformation(; A=[1.0 0.0 0.0; 0.0 1.0 0.0; 0.0 0.0 1.0], b=[0.0, 0.0, 0.0])
The ModelTransformation contains the affine parameters of the raster-to-model transformation.
Expand Down Expand Up @@ -192,7 +192,7 @@ function params(modeltransformation::ModelTransformation)
end

"""
Metadata(;
GeoTIFF.Metadata(;
geokeydirectory=GeoKeyDirectory(),
geodoubleparams=nothing,
geoasciiparams=nothing,
Expand Down

0 comments on commit 3863298

Please sign in to comment.