Skip to content

Commit

Permalink
[PBF] Fix conversion from enum to its name (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat authored Nov 2, 2023
1 parent 3a60ead commit 176179b
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.var"Relation.MemberType"[types[i] + 1],
"type" => string(types[i]),
"ref" => string(memids[i]),
))
end
Expand Down

0 comments on commit 176179b

Please sign in to comment.