Skip to content

Commit

Permalink
Format .jl files (#401)
Browse files Browse the repository at this point in the history
Co-authored-by: yeesian <[email protected]>
  • Loading branch information
github-actions[bot] and yeesian authored Nov 29, 2023
1 parent b6be106 commit 78ca7ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spatialref.jl
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,8 @@ function toEPSG(spref::AbstractSpatialRef)::Int64
if isnothing(result)
error("No PROJCS or GEOGCS Authority found")
elseif result == "EPSG"
epsg = GDAL.osrgetauthoritycode(spref.ptr, projcs)
epsg = parse(Int64, epsg)
epsg = GDAL.osrgetauthoritycode(spref.ptr, projcs)
epsg = parse(Int64, epsg)
return epsg
else
error("$result is not an EPSG authority")
Expand Down

0 comments on commit 78ca7ea

Please sign in to comment.