Skip to content

Commit

Permalink
Fix pbf reader with Relation.MemberType (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Nov 2, 2023
1 parent ed26794 commit 3a60ead
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pbf.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function process_element(osm, pbf_relation::OSMPBF.Relation, table, lat_offset,
types = pbf_relation.types
for i in eachindex(types)
push!(relation.members, Dict(
"type" => OSMPBF.Relation_MemberType[types[i] + 1],
"type" => OSMPBF.var"Relation.MemberType"[types[i] + 1],
"ref" => string(memids[i]),
))
end
Expand Down

0 comments on commit 3a60ead

Please sign in to comment.