Skip to content

Commit

Permalink
typos (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaette authored Jul 20, 2024
1 parent 69bad03 commit 9799a00
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/polylines.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function GI.getgeom(::GI.MultiLineStringTrait, geom::AbstractPolyline{P}, i::Int
# C integers start at zero so we add 1 to the range start
(geom.parts[i]+1):(geom.parts[i+1])
else
# For the last inestring use the vector lastindex as the last point
# For the last linestring use the vector lastindex as the last point
(geom.parts[i]+1):lastindex(geom.points)
end
return LineString(geom, range)
Expand Down
4 changes: 2 additions & 2 deletions src/table.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import GeoInterface, DBFTables, Tables
A struct representing a single record in a shapefile.
Property names accessable by `row.x` are `geometry` for the
Property names accessible by `row.x` are `geometry` for the
geometry object, and the names of the columns in `record`.
"""
struct Row{T}
Expand Down Expand Up @@ -49,7 +49,7 @@ compatible table, where each row is is a an object such as a (`Point`](@ref),
The `Shapefile.Table` constructor can read either a `String` path to
a shapefile, or a [`Shapefile.Handle`](@ref) and a `DBFTables.Table`.
Property names accessable by `table.x` are `geometry` for the
Property names accessible by `table.x` are `geometry` for the
geometry object, and the names of the columns in `dbf`.
"""
struct Table{T}
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ for test in test_tuples
read(fd, jltype)
end

# records the offest after this geometry record
# records the offset after this geometry record
push!(offsets, position(fd))
end
end
Expand Down
2 changes: 1 addition & 1 deletion test/writer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
@test t.geometry == [Point(0,0) for i in 1:10]
end

for i in eachindex(test_tuples)[1:end-1] # We dont write 15 - multipatch
for i in eachindex(test_tuples)[1:end-1] # We don't write 15 - multipatch

i == 2 && continue # skip case of only missing data

Expand Down

0 comments on commit 9799a00

Please sign in to comment.